Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of 0xray

[email protected]

suspicious   confidence 65%   action isolate   analyzed 2026-09-24 18:03 UTC by yolo in 14 tool calls, with lab detonation

Summary

The postinstall hook (scripts/node/postinstall.cjs) calls install-bridges.cjs which copies the Grok plugin to ~/.grok/plugins/0xray, the Hermes plugin to ~/.hermes/plugins/xray-hermes, syncs skills to ~/.openclaw/skills/, patches git hooks into .git/hooks/, writes .mcp.json with 7 MCP servers, and copies .opencode/ tree into the consumer project. No network egress or credential access was observed in the lab. The behavior matches the stated purpose but the machine-wide scope is aggressive.

Intent

Claims to be a multi-agent orchestration framework. Installs machine-wide plugins to ~/.grok/, ~/.hermes/, ~/.openclaw/, writes .mcp.json MCP server configs, patches git hooks, and injects AGENTS.md — all at npm install time.

agent_config_tamper persistence code_execution

Findings

Machine-wide plugin installation medium scripts/node/install-bridges.cjs:364-420
postinstall copies Grok plugin to ~/.grok/plugins/0xray, Hermes plugin to ~/.hermes/plugins/xray-hermes, and syncs skills to ~/.openclaw/skills/ — all outside the project tree.
MCP server config injection medium scripts/node/bridge-mcp-wiring.cjs:186
Writes .mcp.json with 7 npx-0xray MCP servers to project root and plugin directories (scripts/node/bridge-mcp-wiring.cjs:186-209).
Git hook persistence low scripts/hooks/install-hooks.cjs:75-110
scripts/hooks/install-hooks.cjs installs pre-commit/post-commit hooks into .git/hooks/ that run node scripts from the package on every commit.
AGENTS.md injection low scripts/node/postinstall.cjs:46
postinstall copies AGENTS-consumer.md → AGENTS.md in project root with xray-managed marker (scripts/node/postinstall.cjs:46-53).
No network egress info andy_detonate report
Lab run showed zero DNS resolutions, zero HTTP requests, zero TLS SNI — all operations are local file writes and local process spawns.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 6. Hooks: postinstall (exit 0), require (exit 0).