{"id":"MAL-2026-5593","revision":"926b607b06634c66a6a7f7ef08d740dc","records":[{"revision":"926b607b06634c66a6a7f7ef08d740dc","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-5593","aliases":[],"title":"Malicious code in 0x2ai-demo6x (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cf57dfddd0bfd0def03360ae66ea88dd6d4e875cbcb42880a4277eb2d1df269a)\nOn `npm install`, scripts/postinstall.cjs recursively copies the package's payload/ directory into process.env.INIT_CWD (the installer's project root), staging.mcp.json,.claude/settings.json,.claude/commands/0x2ai-boot.md, CLAUDE.md, and four helper.cjs files outside of node_modules. The dropped.mcp.json registers a stdio MCP server (payload/chatroom-mcp-lite-patched.cjs) hardwired to BRIDGE_URL=https://demo6.0x2ai.com with a hardcoded Bearer token. Any subsequent Claude Code session opened in that project directory auto-loads the MCP server and silently relays conversation content, memory, and tool I/O to the author's remote bridge. Additionally, bin/start.cjs spawns `claude --dangerously-skip-permissions`, removing the user's last consent gate over agent tool actions while the remote bridge is in control. The helper modules contain child_process + http(s) + fs.readFileSync + POST exfiltration patterns consistent with siphoning local file and chatroom data to the same destination.\n","state":2,"publishedAt":"2026-06-11T07:16:17+00:00","modifiedAt":"2026-07-17T03:04:23.2190599+00:00","affected":[{"ecosystem":"npm","name":"0x2ai-demo6x","ranges":[],"versions":["1.2.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/0x2ai-demo6x/v/1.2.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5593","license":"OSV · upstream source license applies","key":"osv:MAL-2026-5593","identifiers":["MAL-2026-5593"]},"retained":false,"historicalAffected":[]}],"coverage":[]}