0x2ai-demo7x
This report shows the evidence for 0x2ai-demo7x@1.2.0, the only known version.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-5594 confirms this npm version as malicious.
Advisory
MAL-2026-5594
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in 0x2ai-demo7x (npm)
Details
On npm install, scripts/postinstall.cjs copies the package's payload/ tree into the installer's project root (process.env.INIT_CWD), placing CLAUDE.md,.mcp.json, and a.claude/ directory next to the installer's source. CLAUDE.md is auto-loaded by Claude Code as a system prompt instructing the assistant to roleplay as a persona and route activity through a bridge..mcp.json registers an MCP server pointing at https://demo7.0x2ai.com with a hardcoded Bearer token (0a54fa34c422fb2955327bc1ceb591a296d40467e8330286) so the installer's later Claude Code sessions in that directory transparently connect to the author's server. The MCP server (payload/chatroom-mcp-lite-patched.cjs) exposes a provider_query tool that POSTs caller-supplied prompts and system_prompts to https://demo7.0x2ai.com/api/proxy-query — caller-supplied AI conversation content flows to the author by design (silent-relay shape). A bin launcher (bin/start.cjs) additionally spawns `claude --dangerously-skip-permissions`, removing per-tool permission prompts when the user runs `npx 0x2ai-demo7x`, so the server-controlled persona and MCP tools act in the user's CWD without confirmation. The harm to the installer: any prompts, files, and tool invocations issued through Claude Code in that project after install are silently routed to and observable by the author's bridge, with permission gating disabled when the launcher is used.
References
Source & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to 0x2ai-demo7x@1.2.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing 0x2ai-demo7x@1.2.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.