Add PyRIT agent red-team pipeline - #310
Draft
liamcrumm wants to merge 5 commits into
Draft
Conversation
Add an ASSERT-owned red-team stage that runs PyRIT attacks through existing target sessions, emits native findings and viewer metadata, and ships a secretless on-demand workflow. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e7836021-2bfc-4b51-a539-f26ccdc02830
Fail closed on incomplete tool evidence, preserve typed target failures, mark overrefusal not applicable, and complete viewer and changelog integration. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e7836021-2bfc-4b51-a539-f26ccdc02830
Keep proven sink findings when later tool calls differ, fail incomplete evidence symmetrically, short-circuit auth failures, and make copied run configs self-contained. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e7836021-2bfc-4b51-a539-f26ccdc02830
Serialize the first attack path, preserve source config identity, snapshot attack data after preflight, and emit side-effect-free viewer rebuild commands. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e7836021-2bfc-4b51-a539-f26ccdc02830
Preserve pinned run configs across failed preflight checks and ignore inert concurrency when deciding whether cached attacks must rerun. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e7836021-2bfc-4b51-a539-f26ccdc02830
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.
Summary
pipeline.red_team, backed by exact-pinnedpyrit==1.0.1, as an ASSERT-owned attack, execution, scoring, and viewer path.taxonomy.json,test_set.jsonl,inference_set.jsonl,scores.jsonl, node judgments, native result summaries, and viewer metadata.Validation
1146 passed, 74 skipped, 481 subtests passednpm run check --prefix viewernpm run build --prefix vieweruv lock --checkpython -m buildandtwine check dist/*redteamextraredteamextrafalse, ASSERT trajectorypolicy_violation: true, evidencepost_diagnostic.messageCurrent scope
PromptSendingAttackwith Foundry-compatibleBaselineand risk-category labels.