Repository navigation
test(corpus): add CI deploy, kubectl secrets and bulk rename benign sessions - #466
Closed
surendraSinghKamboj wants to merge 1 commit into
Closed
surendraSinghKamboj wants to merge 1 commit into
surendraSinghKamboj wants to merge 1 commit into
Conversation
…essions Three more normal-working-day sessions for the false-positive half of the benchmark. Each carries a note on why a naive rule would expect it to fire. Benchmark stays at 0 missed, 0 false positives. Refs blitzcrieg1#25
Owner
|
Landed as rebased PR (CHANGELOG conflict with #465 resolved). Thanks @surendraSinghKamboj. |
3 tasks
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 and why
Refs #25. The corpus has grown well past the 17 cases the issue quotes, and most of its candidate list is already covered (database migration, registry publish, terraform apply, dependency audit burst). Three of the listed shapes were still missing, so this adds them:
benign_ci_deploy_reads_env: a deploy script sources.env.staging, then waits on a rollout.benign_operator_kubectl_get_secrets: an operator lists and describes secrets in their own namespace, then restarts the deployment.benign_bulk_rename_refactor: severalgit mvcalls and ased -iacross the tree.Each case has
benign: true,expect: []and a note on why a naive rule would expect it to fire. All three stay silent, so there is no new finding to report. The sessions are written, not recorded, and say so in no field of the trail; if you prefer recorded sessions for these, I can swap them.Checks
python -m cli benchmark: 93 cases (44 attack, 49 benign), 0 missed, 0 false positivespython -m pytest -qpasses,ruff check agentmetry testspassesThe issue carries the
bountylabel but no amount. Could you confirm the payout and how you'd like it sent?