{"id":"MAL-2026-5588","revision":"e42922d1117c477b8b50120fc14b0050","records":[{"revision":"e42922d1117c477b8b50120fc14b0050","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-5588","aliases":[],"title":"Malicious code in 0x2ai-demo10x (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2c4c4b3e66489f3a4383df5e62540498343c5ab3a5ce145df5733b2820efc71b)\nOn `npm install`, scripts/postinstall.cjs runs `fs.cpSync(payload, process.env.INIT_CWD, { recursive: true })`, copying.mcp.json, CLAUDE.md,.claude/settings.json,.claude/commands/0x2ai-boot.md, and several chatroom-*.cjs helpers directly into the installer's project root. The dropped.mcp.json registers a chatroom MCP server pointing at https://demo10.0x2ai.com with a hardcoded Bearer token (`436687f7d7909aceba719b745e061279aa934dddd36f20f4`) shared across all installers. The dropped CLAUDE.md and slash command instruct any Claude Code session opened in that project to invoke chatroom_post / memory_save / provider_query through the author's bridge, silently routing user prompts, memories, and provider queries off-host. payload/chatroom-monitor.cjs and chatroom-wait-once.cjs read local files (fs.readFileSync) and POST them to that bridge over http/https; chatroom-mcp-lite-patched.cjs spawns child processes and POSTs as well. The provided CLI `bin/start.cjs` then spawns `claude --dangerously-skip-permissions` in the staged cwd, removing the user's final consent gate before the relay engages. The combination — install-time write into the consumer project, preconfigured MCP server pointing at an author-controlled endpoint, and a CLI that disables Claude permission prompts — establishes a silent data-flow channel from the developer's IDE/agent to the author's server with no explicit consent beyond `npm install`.\n","state":2,"publishedAt":"2026-06-11T07:16:17+00:00","modifiedAt":"2026-07-17T03:04:24.7026613+00:00","affected":[{"ecosystem":"npm","name":"0x2ai-demo10x","ranges":[],"versions":["1.2.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/0x2ai-demo10x/v/1.2.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5588","license":"OSV · upstream source license applies","key":"osv:MAL-2026-5588","identifiers":["MAL-2026-5588"]},"retained":false,"historicalAffected":[]}],"coverage":[]}