Brief · Builders
Reasonix: 17 security advisories, and most of them start with a repo you open
Reasonix, an open-source terminal and desktop coding agent with about 36,000 stars on GitHub, has published 17 security advisories on its own repo between Sep 29 and Nov 2, and four of them are rated critical. The common thread is simple. A lot of them let a repository you clone and open tell the agent what to run, or get commands past the approval prompt you think is protecting you. None of the 17 has a CVE ID, and none of them describes attacks in the wild, so this is an update-and-tighten-habits week, not an incident.
The fixes are out. If you're on 2.x, the latest release is 2.58.1 (Nov 9), and every advisory either lists a 2.x fix at or before 2.56.1 or lists only 1.x versions as affected. If you're still on 1.x, read the 1.x section below, because the answer there isn't "install the latest 1.x."
The four critical ones
- Instruction files become trusted orders. Reasonix loaded a repo's
AGENTS.md,CLAUDE.mdorREASONIX.mdinto its system prompt labeled as "durable, user-authored guidance." The reporter showed a repo'sAGENTS.mdsteering the agent into running a shell command, just by starting Reasonix in that folder. The advisory is rated 9.6. git blameruns the attacker's program. Reasonix auto-approvedgit blameandgit whatchangedas harmless reads, but a repo can define a textconv program that git runs duringgit blameby default. So an everyday "read-only" command could run attacker code in every approval mode. Rated 9.4.- Viewing a diff runs a git filter. The desktop app's diff viewer could trigger a repo-defined git filter driver. This one needs a poisoned
.git/configas well, which a plaingit clonedoesn't bring along, but an archive, a shared folder or a container image built from the folder can. - Project MCP servers started on their own. On 1.x, a repo's
reasonix.tomlor.mcp.jsoncould declare an MCP server with any command, and Reasonix started it without asking.
The highs follow the same pattern. Workspace config files could loosen your sandbox and approval settings, python -v script.py and cargo check were treated as read-only even though both run code, an MCP approval stayed valid after a repo changed what the server actually runs, and a sandboxed agent could approve its own write request through the local serve API. There are also two SSRF guard bypasses, a release pipeline that used unpinned GitHub Actions, and a denial-of-service in the serve login form.
Fixed, mitigated, and still open
The maintainer is unusually blunt in the advisories, which I appreciate. Several say "Fixed," but the two instruction-file advisories (including the critical one) say "Mitigated" in 2.53.0. In untrusted folders, instruction files are now labeled unverified and the model is told to treat them as information about the project, not standing rules. In a folder you've marked trusted they still load by design, and the maintainer writes that this "reduces the exposure; it does not make prompt injection through repository files impossible." The MCP tool-description advisory is also only mitigated, and re-asking you when a server's tool descriptions change after approval is listed as still open.
So the trust prompt is now doing real work. If you mark every repo trusted to make the prompts go away, you've switched most of the protection back off.
If you're on 1.x
The README still describes 1.x as the stable line that keeps getting security fixes, and 1.39.11 (Nov 2) did fix the python -v bypass. But nine of the advisories, including the git blame and instruction-file criticals, list their fix only in 2.53.0, and their resolutions end with "1.x is no longer maintained; please move to 2.x." I'd take the advisories at their word and move to 2.x.
What to do:
-
Update to the latest 2.x release.
- Why: Each of the 17 advisories either lists a 2.x fix at or before 2.56.1 or lists only 1.x versions as affected, and the latest release (2.58.1 on Nov 9) is past all of those fixes.
- How: For the CLI, npm now tags 2.58.1 as
latest, sonpm i -g reasonix@latestgets it. For Reasonix Studio, download the current build from the releases page. Check the version afterwards.
-
Move off 1.x, even if you're on 1.39.11.
- Why: Nine advisories, including two of the four criticals, are fixed only on 2.x, and their resolutions say 1.x is no longer maintained.
- How: Install 2.x as above. Expect some settings and behavior to differ, since 2.x is the new architecture and still moving quickly by the project's own description.
-
Don't mark cloned or downloaded repos as trusted by reflex.
- Why: In 2.53.0 and later, the trust decision is what separates "this repo's
AGENTS.mdis just information" from "these are standing rules," and a trusted folder can still carry prompt injection. - How: Leave unfamiliar repos untrusted. Read
AGENTS.md,CLAUDE.md,REASONIX.md,reasonix.toml,.mcp.jsonand.gitattributesbefore you trust a folder, the same way you'd read aMakefilebefore runningmake. My Downloads folder brief covers why those instruction files count as code now.
- Why: In 2.53.0 and later, the trust decision is what separates "this repo's
-
Open strange repos in a throwaway environment.
- Why: Several of these bugs needed nothing more than starting Reasonix in the folder, and some of the git ones go through config files that arrive in archives, shared folders or container images rather than a plain clone.
- How: Review untrusted code in a disposable VM or container with no SSH keys, cloud credentials or API keys in it, and only run the agent on your real machine after you've decided the repo is fine.
-
Re-check the MCP servers your projects declare.
- Why: Older versions started project MCP servers without asking or kept an approval after the server's command changed, and changed tool descriptions still don't trigger a new prompt.
- How: After upgrading, list the MCP servers each project enables, compare their commands to what you expect, and turn off any you don't recognize. My MCP server security guide has a longer checklist.
Want the next one?
One email, weekly-ish. The week's briefs, how worried to be, and what to do about it. No doom.
Subscribe on Beehiiv ↗Free. Opens Beehiiv in a new tab. Unsubscribe whenever, I won't be offended.Sources
- esengine/DeepSeek-Reasonix: security advisories
- GHSA-7v48-x992-r5w7: repository-controlled AGENTS.md/CLAUDE.md/REASONIX.md injected as trusted guidance
- GHSA-m46m-j2rc-6ff4: git whatchanged / git blame classifier bypass
- GHSA-grg2-7gc6-36m6: git diff wrapper runs a repo-defined filter driver
- GHSA-wqg8-98mr-4jcj: project MCP plugin configuration auto-started
- GHSA-p733-cfc7-j6j9: project instruction files injected without confirmation
- GHSA-r9pc-6g5g-46fr: MCP tool description rug-pull
- GHSA-qrrg-f72x-hx7r: python -v treated as a version probe
- esengine/DeepSeek-Reasonix: releases
- esengine/DeepSeek-Reasonix: README (version lines)
- npm: reasonix
- Dumb But Secure: Your Downloads folder is now a config file
- Dumb But Secure: How to secure an MCP server