What happened
A command execution flaw (before 2.53.0) lets attackers run commands without user approval because the shellsafe classifier misclassifies git blame and git whatchanged as read-only operations. A planted diff textconv driver causes git blame to execute attacker-chosen commands, exposing stored provider API keys and session history.
Why it matters
This is a concrete agent-execution path in an AI coding agent: a malicious repo or prompt injection converts a 'read-only' git operation into code execution that leaks the developer's LLM provider API keys and session data.
Attack vector
The shellsafe classifier treats git blame and git whatchanged as read-only, so an attacker who plants a diff textconv driver in .gitattributes and .git/config can have git blame (triggered via prompt injection or routine use) execute attacker-chosen commands with the user's privileges.
Affected systems
DeepSeek-Reasonix before 2.53.0
Mitigation
Upgrade to DeepSeek-Reasonix 2.53.0 or later (fix in commit 191d1e1). Avoid cloning untrusted repos, and review .gitattributes/.git/config textconv entries before running the agent.