How Safe Are Coding Agents Against Cyber Misuse?
summary
Paper measures how well coding agents refuse subtly malicious requests using a dynamic benchmark generation pipeline and a 2.2k-sample intent-obscured dataset across nine OpenHands agents. It builds prompts that remove explicit attack keywords, finds safety varies widely by subdomain, shows per-step guardrails outperform prompt-only refusal, and demonstrates lightweight dry-run simulation recovers much of guardrail detection. The pipeline produces ~10× more prompts, reveals a >20% alignment gap when keywords are removed, and uncovers real bugs and contest-winning results.
AI-written summary · about
