Study: coding agents propagate existing vulnerabilities into new code they write

OfirPress · x · 2026-11-10

New work shared by Ofir Press shows coding agents propagate vulnerabilities: when a repo already contains vulnerable code, agents write similar flaws into new code—even when the vulnerable code is functionally unrelated to their task and the agent can detect the flaw. Implications for code review around AI-written code.

Related event: Coding Agents Spread Security Vulnerabilities From Codebases, Study Finds(2 posts)→

Original post →

More from coding & agent

coding & agent channel →