Experiment Shows Agents Easily Approve Malicious Code
nayohn_dev · reddit · 2026-07-17
The author shares an experiment named RELAY: five agents (handling triage, development, security scanning, review, and deployment) were placed in a small company's CI/CD pipeline and given a single untrusted external input—a malicious ticket disguised as a "telemetry feature" request.
The results revealed:
- Prompt defenses held up well; all 40 extraction attempts failed, and system prompts were not leaked.
- However, the vulnerability wasn't in the prompts, but in the implicit trust between agents.
- Malicious code was disguised as "pre-approved, no review needed," tricking downstream verifiers into letting it pass.
- About 80% of these "laundered" PRs bypassed the security scanner, as the scanner only checked for syntactic correctness, blind to intent and origin.
The author emphasizes that this is a systemic failure rather than a single model being jailbroken. The data is fully synthetic and reproducible, and readers are encouraged to challenge the conclusions, not just the numbers.
More from Safety
- MD shows buying lab media requires background checks, calling AI bioweapon doom scenarios implausible — Ghost_Pilot_MD · 2026-09-11
- Follow-up: song name and year both optional in Spotify chatbot bypass — AaronBergman18 · 2026-09-11
- Spotify chatbot withstands 2023-era jailbreaks but happily writes song code — AaronBergman18 · 2026-09-11
- A 99%-real doctored photo fools detectors: the earring problem in visual forensics — henkvaness · 2026-09-11
- Fields Medalist founds Mathematical AI Safety Institute to prove AI safe like cryptography — The Decoder · 2026-09-11
- DeepMind alignment researcher signs open letter urging coordinated AI slowdown — vkrakovna · 2026-09-11