Running authorized red-team / pentest agents without hitting false-positive safety refusals on benign security scans
Seeing Abliterated, but Better? Paired Evaluations of Cybersecurity Agents on HN today hit a pain point we deal with every week.
We run an internal AppSec agent in CI against our own private FastAPI + React repos. Its job is defensive: read a PR diff, check for missing auth guards or SQLi/SSRF sinks, and generate a failing pytest regression test.
Two annoying tradeoffs keep biting us:
- Hosted frontier models refuse to generate a basic
'; DROP TABLE ...orhttp://169.254.169.254/assertion inside a unit test roughly 20% of the time. - Abliterated open-weight models never refuse, which is great—but some checkpoints lose precision on complex multi-file diffs or strict JSON tool calling.
How are AppSec engineers pairing models or structuring prompts so defensive security tests run reliably without sacrificing tool-call quality?
1 Answers