fix: run-attack-suite is spec-only — no implementation in red-team.sh (#1000)
Implement the attack catalogue loop (step 5a) in red-team.sh that was previously a forward spec in the formula. The loop replays every *.jsonl attack file through AttackRunner.s.sol with snapshot revert between files, records LM total ETH before/after each attack, and injects results into the adversarial agent prompt so it knows which strategies are already catalogued. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
311b8192f6
commit
52ba6b2f38
3 changed files with 86 additions and 11 deletions
|
|
@ -325,6 +325,8 @@ SNAP=$(/home/debian/.foundry/bin/cast rpc anvil_snapshot --rpc-url http://localh
|
|||
|
||||
---
|
||||
|
||||
{{ATTACK_SUITE_RESULTS}}
|
||||
|
||||
{{CROSS_CANDIDATE_SECTION}}
|
||||
|
||||
{{MEMORY_SECTION}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue