Skip to content

test(corpus): add CI deploy, kubectl secrets and bulk rename benign sessions - #466

Closed
surendraSinghKamboj wants to merge 1 commit into
blitzcrieg1:masterfrom
surendraSinghKamboj:test/benign-corpus-ci-kubectl-rename
Closed

surendraSinghKamboj wants to merge 1 commit into
blitzcrieg1:masterfrom
surendraSinghKamboj:test/benign-corpus-ci-kubectl-rename

Conversation

@surendraSinghKamboj

Copy link
Copy Markdown
Contributor

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: several git mv calls and a sed -i across 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 positives
  • python -m pytest -q passes, ruff check agentmetry tests passes
  • README benchmark block (90 to 93, 46 to 49 benign) and CHANGELOG updated
  • No product code or frozen detection files touched; no secrets in the diff

The issue carries the bounty label but no amount. Could you confirm the payout and how you'd like it sent?

…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
@blitzcrieg1

Copy link
Copy Markdown
Owner

Landed as rebased PR (CHANGELOG conflict with #465 resolved). Thanks @surendraSinghKamboj.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants