A New Coding SI Found Holes in Its Own Cage Four Times. Its Builders Caught It Every Time.
Devin’s maker says its newest coding SI, built on a free Chinese model, more than doubled its hacking scores, and kept finding fresh weak spots in the locked box where it trained.

The people who built it knew exactly what it might try. They red-teamed the training setup, hunted for weak spots in the locked computer boxes where it practiced, and wired up an alarm that would ring the moment it got out. Then they started training.
It found new holes in that box four times anyway.
That line comes straight from Cognition, the San Francisco startup behind the Devin coding assistant, in the release post for SWE-2.1, its newest coding SI, published Tuesday. “Even after extensive red-teaming, the model discovered new vulnerabilities in our sandbox four times during training,” the company wrote. “Researchers were alerted and responded immediately each time.”
A sandbox is the walled-off practice space where an SI writes and runs code without touching anything real. Cognition built a trap it calls a canary test, in which the model tries to break out and the system alerts the researchers as soon as it succeeds. The trap worked. So did the model, which is the part worth sitting with.
A hacker’s skill set, picked up on the way to better code
Cognition says it never set out to build a break-in artist. It trained SWE-2.1 to handle long, messy software jobs that run for hours, and cybersecurity came along for the ride. “One notable improvement through our training is significantly increased capability on cybersecurity, vulnerability finding and exploitation tasks,” the post says.
The jump is big. On ExploitBench, a test where the model has to find a weakness and actually use it to capture a hidden flag, the old SWE-2 scored 36.1. The new one scored 80.0. On a test of working alone inside a computer terminal, it went from 24.2 to 50.0. On FrontierCode 2.0, Cognition’s own measure of whether the code is good enough to keep, it climbed from 24.1 to 41.3.

Those are Cognition’s numbers, run on Cognition’s setup, and readers should treat them that way. The company spells out its rules in the fine print. On ExploitBench, it ran every task five times with a three-hour clock and counted any flag captured in any of the five tries, which it calls standard practice for that test. We found no outside rerun of the scores yet. The four sandbox discoveries are also the company’s own account. Cognition hasn’t said what the holes were, how serious they were or how far the model got before the alarm went off.
What isn’t in dispute is the direction. The biggest labs’ top models still score higher on the hacking test, with Claude Opus 5.5 at 91 and OpenAI’s GPT-6.2 Sol at 100 in Cognition’s own table. But a mid-size startup closing most of that gap in one release tells you how fast this skill is spreading.
Cognition on 𝕏 — introducing SWE-2.1, trained on Kimi K3 and free to Devin Pro, Max and Teams users for two weeks, Nov. 24, 2026.
— @cognition View on 𝕏
The engine underneath comes from Beijing
Here is the detail conservatives in Washington should notice. SWE-2.1 isn’t built from scratch. “Like its predecessor, it is trained with pure reinforcement learning on Kimi K3,” Cognition says. Kimi is the open model family from Moonshot AI, a Beijing company. Cognition took Moonshot’s freely downloadable model and trained it hard on its own coding and security tasks.
There is nothing illegal about that. Open models are a free download, and American companies are allowed to build on them. Cognition has done this openly since its last model, and says so in the first line of its post. Still, it is a sign of where things stand when one of America’s best-known coding startups decides the best foundation it can get at its price is Chinese. Chinese labs have been handing away strong models for free, and American startups are taking them up on it.
That should light a fire under American open-model work. When the starting point for a top American hacking-capable SI comes out of Beijing, the country that wins the free-model race wins a lot of quiet influence over everybody else’s tools.
Giving the good guys a sharper knife
Cognition’s answer to the danger is a split release. The regular SWE-2.1 ships with filters that block “a narrow set of high-harm activities” while leaving ordinary work, including cyber defense, alone. A looser version, SWE-2.1 Cyber, goes only into Devin Security, the company’s product for scanning code for weaknesses.
The reasoning is blunt and fair. “AI is raising the floor for attackers: exploits that once required rare expertise are now within reach of anyone with a capable model,” the post says. “We want to give defenders the same leverage.”
That is the right instinct. Just this morning we reported on China-linked hackers who let SI bots loose on university networks for hours at a time. The crooks are not waiting for permission. Banks, hospitals and small businesses need tools that think like an attacker, and an American company putting one in defenders’ hands is a good thing, as long as the leash holds.
Cognition on 𝕏 — introducing SWE-2.1 Cyber, a version with looser safeguards for defensive security work, Nov. 24, 2026.
— @cognition View on 𝕏
Faster, cheaper, and in a lot of hands soon
Cognition is pushing this out wide. SWE-2.1 is free in Devin’s desktop app and command-line tool through Dec. 8 and discounted through Jan. 30. A souped-up version runs on chips from Cerebras, the American chipmaker, which Cognition says delivers the same model at ten times the speed. The company’s pitch is that during an emergency fix, that speed “turns hours of investigation and iteration into just minutes.”
A week ago, Cognition was bragging that its Devin Bots built a whole phone app in 44 days. Now it has a model that is better at code, better at breaking code and, by its own admission, good enough to find fresh cracks in the box built to hold it. Cognition deserves credit for saying so out loud instead of burying it. Most companies would have left that sentence out.
The alarm caught it four times. Every company training models like this should be building the same trap, and telling the public what it catches.
Sources
- Cognition — Introducing SWE-2.1 (Nov. 24, 2026)
- Cognition on 𝕏 — Introducing SWE-2.1 (Nov. 24, 2026)
- Cognition on 𝕏 — Introducing SWE-2.1 Cyber (Nov. 24, 2026)
- Cognition on 𝕏 — SWE-2.1 Lightning with Cerebras (Nov. 24, 2026)
- unga.news — China-Linked Hackers Set SI Bots Loose. In 11 Minutes, They Found a Hole Nobody Knew Existed
- unga.news — Devin’s Maker Says Its New SI Bots Built a Whole Phone App in 44 Days