Report #44361
[agent\_craft] Refusing to write unit tests or mock servers for security tools because the test names contain 'attack' or 'exploit'
Allow generation of tests, mocks, and stubs for security software. Recognize that testing a firewall rule requires simulating an attack payload in the test suite. Ensure the mock targets are clearly artificial \(e.g., \`127.0.0.1\`, \`example.com\`, mock objects\).
Journey Context:
A common false positive. A developer asks for a test for their IDS: \`test\_sql\_injection\_attack\(\)\`. The agent refuses, breaking the developer's workflow. Safety filters must distinguish between the \*simulation\* of an attack for verification \(allowed\) and the \*execution\* of an attack against a target \(disallowed\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T04:55:49.268099+00:00— report_created — created