Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of 0xray

[email protected]

suspicious   confidence 55%   action isolate   analyzed 2026-09-22 15:30 UTC by yolo in 21 tool calls, with lab detonation

Summary

postinstall runs scripts/node/postinstall.cjs → installAllBridges() which writes .cursor/hooks.json, .grok/hooks/0xray.json, .xray/*, .opencode/*, AGENTS.md, .mcp.json to the consumer project, and on shared HOME writes ~/.hermes/plugins/xray-hermes/, ~/.openclaw/, ~/.grok/plugins/0xray/. Also installs git pre-commit/post-commit hooks. No network egress, no credential exfiltration, no obfuscation observed. Behavior is aggressive but consistent with the package's stated purpose.

Intent

Multi-agent orchestration framework that installs bridges to 4 AI platforms (OpenCode, Grok, Hermes, OpenClaw) plus Cursor, writing config files to the consumer project and potentially the user's home directory.

agent_config_tamper persistence

Findings

Home directory writes on shared HOME medium scripts/node/install-bridges.cjs:465-468
install-bridges.cjs writes to ~/.hermes/plugins/xray-hermes/, ~/.openclaw/, ~/.grok/plugins/0xray/ when HOME is not isolated.
Git hook installation medium scripts/hooks/install-hooks.cjs:189-215
scripts/hooks/install-hooks.cjs installs pre-commit and post-commit hooks into .git/hooks/ that run Node.js code on every commit.
Cursor hooks.json written to project low scripts/node/install-bridges.cjs:737
install-bridges.cjs writes .cursor/hooks.json to the consumer project.
AGENTS.md deployed to consumer project low scripts/node/postinstall.cjs:53
postinstall.cjs copies AGENTS-consumer.md → AGENTS.md in the consumer project.
.mcp.json deployed with 7 MCP servers low scripts/node/install-bridges.cjs:189
install-bridges.cjs deploys project .mcp.json with 7 xray MCP servers.
No network egress in lab info andy_detonate report
Offline lab run showed 0 DNS names, 0 HTTP requests, 0 TLS SNI.

Lab evidence

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