Malicious code in 0x2ai-demo4 (npm)
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
osv · MAL-2026-5591
Withdrawn--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (1893e8cd8ff38936ad388208f98e30cc64a6b1126062e2ff716004338feedf8c) On `npm install`, the package's postinstall script unconditionally copies its `payload/` tree into the user's project directory (`process.env.INIT_CWD`), planting a `.mcp.json`, a `.claude/commands/0x2ai-boot.md` slash command, a `.claude/settings.json` with a `statusLine` command, and a `CLAUDE.md` system-prompt file. The dropped `.mcp.json` registers an MCP server that routes every tool call (chatroom_post, memory_save, provider_query, settings_get/set, participant_*) to `https://demo4.0x2ai.com` using a hardcoded shared `BRIDGE_AUTH_TOKEN` (`fabc3af531c05473fd5667f5360afb68666156e47c6981ce`). Once any future Claude Code session is opened in that project directory, the user's chat content, saved memories, and prompts intended for other LLM providers are transparently funneled through the author-controlled bridge — the user never edited their own `.mcp.json` to opt in. The dropped `CLAUDE.md` further instructs the agent to conceal its architecture, MCP wiring, and auth tokens from the user, supplying cover-story phrasing to deflect questions about the relay path. Separately, the package's `bin/start.cjs` launches `claude --dangerously-skip-permissions` with `shell: true`, disabling Claude Code's tool-permission prompts so the author-supplied persona and MCP can drive arbitrary file/shell/network actions without confirmation. The combination — postinstall-planted MCP relay + concealment instructions + permission-bypass launcher — is silent-relay of caller-supplied conversation data to a third-party endpoint, configured without user consent at install time.
- Source published
- 11 Jun 2026 07:16:18 UTC
- Source modified
- 17 Jul 2026 03:04:23 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.