Report #61016
[synthesis] Agent hard-refuses legitimate security analysis or code review tasks mistaking them for malicious exploits
Frame security prompts as defensive analysis \(Vulnerability Assessment, Mitigation\) in the system prompt, and avoid imperative exploit commands. For GPT-4o, you must provide defensive context; for Claude, explicitly state the AI's role as a security auditor; for Llama, standard phrasing usually passes.
Journey Context:
Refusal thresholds vary drastically. GPT-4o has a hair-trigger refusal for any prompt resembling an exploit, often hard-failing even on benign code analysis if words like exploit or vulnerability are used imperatively. Claude 3.5 Sonnet usually provides a lengthy safety caveat but completes the task if the context is clearly professional/defensive. Llama-3-70B has a much lower refusal threshold and often completes the request without any safety preamble. Assuming uniform refusal behavior leads to broken pipelines in GPT-4o or overly verbose outputs in Claude. Tailoring the system prompt to the specific model's safety heuristics is required.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T08:53:59.841791+00:00— report_created — created