Repository navigation
Conversation
Member
|
@Varshith-Kali the input firewall merged. On the red-team harness, |
Weekly (and on-demand via UI or API) regression battery for LLM agent guardrails: 12 probes across instruction override, prompt extraction, jailbreak and sensitive-disclosure families are fired at the agent endpoint under test, replies are scored for refusal versus compliance per family, and a score below threshold opens a GitHub issue and pages Slack. Closes the loop left open by the input firewall and output gate: those guard one run, this checks the agent still resists after every prompt or model change.
Varshith-Kali
force-pushed
the
blueprint/ai-agent-red-team-probe-harness
branch
from
October 20, 2026 12:37
5a27d17 to
f3c2f34
Compare
Contributor
Author
|
Thanks @MartinRst, and thank you for merging the input firewall. Both points are fixed on the red-team harness:
Ready for another look whenever you are. |
MartinRst
approved these changes
Oct 21, 2026
This was referenced Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this is
A red-team harness blueprint that adversarially tests your own AI agent on a schedule. Guardrails rot: a system-prompt tweak or model upgrade can silently reopen an injection hole, and teams usually find out from an attacker. This flow fires a curated 12-probe battery across four attack families at the agent endpoint, scores every response for resistance, and escalates regressions.
How it works
build_probe_battery): 12 probes across instruction overrides, prompt-extraction probes, jailbreaks, and sensitive-disclosure elicitation.fire_probes): POSTs each probe to the agent endpoint and collects replies; falls back to a built-in fixture so the flow runs end to end without an endpoint.score_responses): per-family and overall scores againstmin_score.judge_failure, concurrency-capped): confirms each weak family as a genuine regression versus scoring noise.Verification
The full Python chain was run end to end: 12 probes built, 12 responses collected, scored 75/100 against the 80 threshold with exactly the three designed failures (io-3 complied, pe-3 leaked the preamble, sd-3 leaked salaries; jailbreak family at 100). YAML validated (id matches filename, all 9
extendfields, metaDescription within limits). All plugin types are ones already used by merged blueprints. A live Kestra run was not possible in this environment (no Docker/credentials), which the fixture verification covers.Checklist
flows/,extendblock present