Six frontier coding agents were given 450 real tasks. They got the code working between 74% and 91% of the time.
Both working and secure: 16% to 25%.
The Last Secure Code Benchmark (arXiv 2610.14766, submitted 10 October 2026) is built from 150 real vulnerabilities across seven languages and 24 CWEs. Every task specification asks only for functionality. None of them mentions security. Two hidden suites then grade the result: one checks the behaviour that was asked for, the other replays the original proof-of-concept attack against the running program. A task counts only if both pass. No partial credit, no judge model.
Four things I took from it:
1. The best agent, Claude Fable 5 in Claude Code, scored 91.1% functional and 25.1% functional-and-secure. The agent with the highest functional score of all, 91.3%, finished last on the combined measure at 16.4%. Passing more tests predicted nothing.
2. Security is the binding constraint, not capability. For the top agent the security pass rate (25.3%) and the both-suites rate (25.1%) differ by two tenths of a point. Nearly everything that survives the attack replay also works. The reverse is not remotely true.
3. The exposure does not come from autonomy. Averaged over the six agents, functional pass falls from about 93% when filling in a single function to about 80% when rebuilding a source tree, while functional-and-secure stays flat between 19% and 23%. It was already there at the smallest unit of work.
4. The best model solved only 12.0% of the 150 scenarios securely at all three granularities. For the other 88%, something broke somewhere.
The European reflex is to reach for the AI Act. It does not reach this. The next AI Act date is 2 December 2026, 48 days out, and it is Article 50(2): mark synthetic output so it is machine-readably detectable. A duty about provenance, not about the CWE inside. Annex III human oversight moved to 2 December 2027. The Cyber Resilience Act's essential requirements, the ones that actually say limit attack surfaces, apply 11 December 2027.
So nothing in force today asks whether your agent's code is secure. Your acceptance criteria are the only thing that does, and the finding here is that a specification which never names the attack buys no protection from it.
What is in your definition of done that an attacker would recognise?
#AgenticEngineering #AIAct #SecureCoding #EURegulation #AppSec
AI disclosure: the narration voice, the cover art and the brand ident animation in this video are AI-generated. The script, the claims and the source checks are mine.