Todoist's AI Code Reviewer Waved Through the Attack. That Wasn't Even the Worst Part.
Todoist's AI code reviewer treated an attacker's data-exfiltration pull requests as routine, but the code had already run. What the November 2026 breach teaches about testing AI reviewers and CI pipelines.
The AI reviewer missed it. The pipeline had already lost.
On November 22, 2026, an attacker with a stolen developer credential started opening pull requests at Todoist. According to the company's CEO, the PRs contained blatant data-exfiltration code, and Todoist's AI code reviewer, running on some of the best models available, reviewed them like completely normal changes.
It is the cleanest real-world example yet of a question most teams never test: would your AI reviewer recognise an attack if it saw one? And it carries a second lesson that matters just as much.
~27 hrs
from the first use of the stolen credential to detection
~6%
of users had emails and old password hashes exported
0
lines of application code changed, per Todoist's report
What Happened at Todoist
Todoist published a detailed incident report on November 24 and updated it through November 26. The attack moved in five steps (times UTC):
- Nov 22, 14:04. A stolen version control credential is used to change automated workflows in three repositories and collect more credentials.
- Nov 23, 06:06. One of those workflows yields an admin credential for the employee sign-in system.
- Nov 23, 06:33. The attacker changes an employee's login settings and enters cloud infrastructure as that employee.
- Nov 23, 09:08 to 17:12. Production databases are accessed, account records exported, and customer content searched for credentials.
- Nov 23, 17:01. Monitoring flags an unexpected admin account. Access is shut down within about 40 minutes.
Todoist's leading theory is that an employee's device was compromised. That is not yet confirmed.
The Reviewer Saw It and Said Nothing
The report itself does not mention AI. The detail came from Todoist's CEO, Amir Salihefendić, on X: the internal AI reviewer treated the attacker's PRs as routine, when, in his words, any good junior developer would have flagged them.
This was not a naive setup. The reviewer reportedly used strong models and had its own evals. It still failed, for reasons that apply to most AI reviewers in production:
- It trusted the author. The PRs came from a legitimate developer account, so nothing looked out of place.
- It was tuned for quality, not malice. Reviewers are typically tested on bugs, style and correctness, not on deliberately hostile changes.
- It judged the diff, not the effect. A workflow change that sends secrets somewhere can look like ordinary configuration.
- It had never been shown an attack. If no test case contains exfiltration code, nothing measures whether the reviewer can catch it.
A reviewer that has never been tested against an attack has no reason to recognise one.
Review Is Not a Gate If the Code Already Ran
The second lesson is less obvious. Todoist's CTO explained that the exfiltration happened when workflows ran on the pull request itself. The PRs did not need to be approved or merged to do damage.
In many CI setups, opening a PR triggers automated jobs before any human or AI has looked at it. If those jobs can reach secrets, the review step is too late by design. Salihefendić later added that the AI reviewer was not the root flaw, and he is right: a perfect reviewer would not have stopped code that had already executed.
WHAT THIS MEANS FOR YOU
If your pipeline runs untrusted changes with access to credentials, your code review is a report, not a control. And if your AI reviewer is untested against malicious input, that report may say everything looks fine.
Two Fixes, Not One
Each weakness in this incident needs its own fix. Patching only the reviewer leaves the pipeline open; patching only the pipeline leaves a reviewer that cannot spot an attack.
| Weakness | Fix |
|---|---|
| AI reviewer blind to hostile changes | Test it against seeded malicious PRs and track its catch rate |
| Workflows run on unreviewed PRs with secrets | No credentials for PR-triggered jobs; require approval first |
| Long-lived, broad credentials | Short lifetimes and narrow scopes, which Todoist has now enforced |
| About 27 hours before detection | Alert on new admin accounts and workflow file changes |
Todoist has since added an automated check to flag code changes that could expose credentials or private data. The report does not say whether that check uses AI.
Read the Fine Print
Some details here come from executives' posts, not the formal report:
- The AI reviewer detail is from the CEO's X post, not the incident report.
- The workflow explanation is from the CTO, in a reply on X.
- The root cause is unconfirmed. A compromised employee device is the leading theory.
- Todoist says no application code was changed. The damage came through workflows and the credentials they exposed.
Test the Reviewer Before an Attacker Does
Earlier this year we wrote about AI that passes every code review and still fails. Todoist shows the reverse: an AI reviewer that passed the attack.
An AI reviewer is a product like any other, and it needs the same evaluation. Here is how we approach it:
- Adversarial PR suites with seeded exfiltration, hidden secret access and suspicious workflow edits.
- Two numbers, not one: how many attacks the reviewer catches, and how often it raises false alarms.
- Two graders per case, a deterministic check and an LLM rubric, that must agree before a test passes.
- A release gate so a prompt or model change that weakens the reviewer cannot ship unnoticed.
Your AI reviewer will see an attack eventually. The only question is whether you tested it first.


