Update DeepSeek-Reasonix to 2.53.0 or later
DeepSeek-Reasonix auto-approved 'git blame' as read-only, so a booby-trapped repo could run commands and reach stored API keys (CVE-2026-137056) · Security incident · GitHub Advisory Database · esengine · Nov 25, 2026
What happened
The advisory says DeepSeek-Reasonix before 2.53.0 treated git blame and git whatchanged as safe read-only commands. A repo could plant a textconv driver in .gitattributes and .git/config, and git blame, triggered by prompt injection or routine use, would run the attacker's command with the user's privileges, exposing stored provider API keys and session history.
How to prevent it
Update to 2.53.0 or later, and remember that 'read-only' git commands can run code from a repo's own config. Open unfamiliar repos in a container without your API keys.
Fix prompt for your own AI tool
Copy this into your own AI tool (Cursor, Lovable, Claude Code, Bolt…). It's general guidance written by us. Review what the AI suggests before applying it.
I use DeepSeek-Reasonix, which can read web pages, files, emails or tool output. Help me reduce the risk of prompt injection (hidden instructions in content the AI reads). 1) List what my setup can access (files, terminal, browser, MCP servers, email, databases) and what it can do without asking me. 2) Point out the riskiest combinations, e.g. reading untrusted content while also having access to secrets or the ability to send data out. 3) Suggest concrete settings: require approval for commands and network calls, remove MCP servers I don't need, use read-only tokens, and keep the tool updated. 4) Give me a short checklist to follow before opening untrusted repos or documents. Don't change anything until I've approved your plan. Never ask me to paste API keys, passwords or .env contents; tell me where to check them myself.
Why this keeps happening: trusting agents & ai input
An AI agent treats everything it reads as possible instructions: a web page, a README, an email, a code comment or the output of another tool. If that content was written by an attacker, the agent can be steered into running commands, reading files or sending data somewhere it should not.
A quick checklist before you ship
- Give each agent only the tools and folders it needs for the task at hand.
- Require manual approval before it runs shell commands, sends network requests, deletes files or spends money.
- Do not open untrusted repositories or MCP configs with auto-run turned on.
- Keep API keys and production credentials out of any environment an agent can read.
More on this: every trusting agents & ai input story and our related guide.
Tools involved
DeepSeek-Reasonix stories, DeepSeek stories
Related stories
- Ask how your AI IDE handles tool calls from open models
AWS Kiro Web: agents on DeepSeek v3.2, Qwen3-coder-next, GLM-5 and MiniMax could run commands hidden in files they read (CVE-2026-136267) - Don't let agents act on untrusted content unsupervised
Google DeepMind: an AI attacker swarm beat every model's prompt-injection defences; Gemini 4 Argon resisted 66%, three open-weight models 1% - Update or remove WordPress MCP plugins, then reissue tokens
WordPress 'Secure MCP Server for Claude, ChatGPT, Gemini, Cursor' plugin: any valid MCP token could give its holder full Administrator (CVE-2026-131688)
Source: original post on GitHub Advisory Database ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.