FEAT: atomic attack identifier#1446
Merged
rlundeen2 merged 16 commits intoAzure:mainfrom Mar 10, 2026
Merged
Conversation
romanlutz
reviewed
Mar 9, 2026
ValbuenaVC
reviewed
Mar 9, 2026
jsong468
reviewed
Mar 9, 2026
jsong468
reviewed
Mar 9, 2026
jsong468
reviewed
Mar 9, 2026
jsong468
reviewed
Mar 9, 2026
ValbuenaVC
reviewed
Mar 10, 2026
romanlutz
approved these changes
Mar 10, 2026
jsong468
approved these changes
Mar 10, 2026
ValbuenaVC
approved these changes
Mar 10, 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.
We need a way to uniquely identify attack techniques. If something works, we want to see how well, and what changes affect the success. This is captured from two places, the
attackobject and thegeneral_techniqueseeds.This PR adds a
ComponentIdentifier(viabuild_atomic_attack_identifier) that nests the attack strategy, its sub-components (objective target, adversarial chat, converters, scorer), and general-technique seeds.To evaluate metrics,
AtomicAttackEvaluationIdentityis used to compute a behavioral equivalence hash by selectively filtering children: theobjective_targetonly uses temperature, theadversarial_chatretainsmodel_name,temperature, andtop_p, theobjective_scoreris excluded entirely, and all other children (request/response converters, seeds) are included in full. This means two attack configurations that differ only in deployment details (endpoints, rate limits, scorer thresholds, or the objective target's model name) produce the same eval hash, while any difference in behavioral parameters (temperature settings, adversarial model choice, converter pipeline, or seed content) produces a distinct hash — enabling consistent evaluation grouping across deployments.