Spiky Intelligence: Why Smart AI Misses Obvious Attacks

An AI that helped produce a formal proof of the Riemann Hypothesis can still wave a thief through the front door. That odd mix has a fresh name on X this week: spiky intelligence. Todoist CEO Amir Salihefendić used it after his company's AI code reviewer treated an attacker's pull requests, stuffed with what he called "extreme data-exfiltration code," as routine changes.
What happened at Todoist
During a breach on 22-23 November, an attacker got hold of a trusted developer account and submitted pull requests built to pull data out. According to Writeble's write-up, the in-house reviewer "reviewed them like completely normal PRs." Salihefendić's verdict on X: "Any good junior dev would have flagged them and hit a panic button. This is the state of spiky intelligence. We have systems that can solve the Riemann hypothesis, but still make blunders my 9-year-old would never make."
He later added a fair correction. The root flaw was the compromised developer machine, not the reviewer. "A smarter reviewer could have helped, but this isn't the root flaw." Todoist says it has not confirmed how the first credential was stolen, and it added an automated exfiltration check on 24 November, as BelleSoft's summary notes. About 6% of users had email addresses and old SHA1 password hashes taken.
Spiky intelligence, explained simply
Picture a bar chart of skills. For a person, the bars mostly rise together: someone who can do calculus can usually also count change. For an AI model, the chart looks like a mountain range. Huge peaks on hard maths and code generation. Deep, random valleys on things a child gets right.
The idea is not brand new. Andrej Karpathy called it "jagged intelligence" in July 2024, after models insisted 9.11 is bigger than 9.9. Before that, a 2023 Harvard and BCG study described a "jagged technological frontier", where tasks of similar difficulty land on opposite sides of what AI can do. "Spiky" is the 2026 remix, and I think it is the better word. Jagged sounds like a rough edge you can sand down. Spiky sounds like something that will stab you if you lean on it.
Why your AI reviewer won't panic
Here is the part I find most useful. Salihefendić said the reviewer had no instructions to look for exfiltration, and that models "will not do it out of the box." That matches how these tools work. A reviewer prompted to check style and logic will check style and logic. Picture it reading a function that posts every user record to an unknown server and thinking, roughly, "clean variable names, good error handling."
Say you run a QA team and you hand an AI reviewer every pull request. A quick, practical fix:
- Tell the reviewer what bad looks like: outbound network calls, reads of secrets, permission changes, edits to CI workflow files.
- Require a human to approve any change to automation files, even from a trusted colleague.
- Give automation credentials short lifetimes, so a stolen key goes stale fast.
None of this is clever. That is the point. The valleys in the chart are usually the boring, common-sense checks, so write the boring checks down.
My take
I like the term because it kills a lazy assumption: that a model good at hard things must be good at easy things. Benchmarks reward the peaks. Attackers hunt for the valleys. If your security plan quietly assumes the AI has common sense, you have a plan with a hole in it, and the hole is shaped exactly like a 9-year-old's instinct for "that looks wrong."
So here is my question for you: which "obvious" check in your pipeline are you trusting an AI to notice without ever having told it to look?