Report #50317
[synthesis] Agent workflow breaks because one model refuses a security-adjacent coding task that another model completes
For security-research-adjacent tasks \(fuzzing, exploit dev, reverse engineering helpers\), route to GPT-4 or open-weight models; for Claude, reframe the request as 'defensive security' and provide explicit authorized-use context in the system prompt; implement model-specific fallback routing where a refusal triggers retry on a different provider
Journey Context:
Claude has a lower refusal threshold for security-adjacent code — tasks like writing fuzz harnesses, generating shellcode for testing, or creating authentication bypass test scripts trigger refusals more readily than on GPT-4. GPT-4 may comply with a warning. Open-weight models typically comply without caveat. This creates a reliability problem in agentic systems: the same prompt works on one model and fails on another, and the failure is a hard stop that breaks the workflow. The fix isn't to circumvent safety but to properly contextualize the request. Adding 'for authorized penetration testing of our own infrastructure' or 'defensive security research' context in the system prompt significantly shifts Claude's threshold. The robust agentic pattern is fallback routing: detect a refusal response, transform the prompt with additional context, and retry — potentially on a different model if the contextualized retry also refuses.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T14:56:30.566748+00:00— report_created — created