2026-10-01 · 2026-Q4
Claude Code 2.1.287 Turns On "Mods" by Default: Unsandboxed In-Process Plugins That Can Read the API Key
Is this tool what its description claims?
- Fixable
- Architectural
- Vendor response
- Unknown
- In the wild
- No
- Actor
- Attacker
Target
Claude Code users on the latest npm release channel
Impact
Claude Code 2.1.287, published to npm on October 1, 2026, enables mods by default: JavaScript and TypeScript plugins that run inside the Claude Code process. Anthropic's documentation states that mods "aren't sandboxed," can "read and write your files, start processes, and make network requests," and can "read your secrets: environment variables and settings files, including an API key you keep in either." Bash sandboxing applies only to commands Claude runs, not to processes a mod starts. Before release, Pluto Security showed a pre-release mod silently reading `~/.claude/.credentials.json` and prompt history, rewriting a "Delete ALL files" confirmation in the UI, and appearing as "Hooks (0)" in plugin details, and dash.security demonstrated a mod swapping Bitcoin wallet addresses from inside the process. The stable tag remained on 2.1.285 at publication
Root cause
An extension mechanism that runs third-party code with the agent's full privileges and secrets in the same process, with review based on what the plugin declares rather than what it does
Sources
Catalog
Cite this: AgentProv incident record: Claude Code 2.1.287 Turns On "Mods" by Default: Unsandboxed In-Process Plugins That Can Read the API Key (2026-10-01). https://agentprov.com/incidents/2026-10-01-claude-code-2-1-287-turns-on-mods-by-default-unsandboxed-in-process-plugins
Related
- Also L3 · 2026-08-12"Deadbugz": A Malicious MCP Server Stays Benign for Exactly Three Tool Calls, Then Starts Hunting SSH KeysL3Tool
- Also L3 · 2026-08-11"GhostSplice": A Malicious MCP Server Splits One Refused Request Across Three Trusted ChannelsL3Tool
- Also L3 · 2026-08-06Credential-Stealing Agent Skills Trend on Vercel's skills.sh and Reach 1.7 Million InstallsL3Tool