Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of gitnexus

[email protected]

clean   confidence 88%   action allow   analyzed 2026-09-24 23:04 UTC by yolo in 18 tool calls, with lab detonation

Summary

The package's postinstall hook builds vendored tree-sitter parser bindings (node-gyp-build prebuilds or source-build) — standard for a native-code package. The prepare hook is a no-op when dist/ is already present (published tarball). The lab run spawned 8 processes, 0 network connections, 0 file writes outside the package, 0 canary reads. Editor-config writes (.cursor/mcp.json, .claude.json, .qoder.json, etc.) are the stated `setup` command feature, not stealth tampering. Static pre-screen "crypto_wallet", "obfuscation", and "prompt-injection" flags are false positives on code-analysis terminology and documentation prose.

Intent

A legitimate code-intelligence CLI and MCP server that indexes repositories and configures MCP servers for AI coding editors (Cursor, Claude Code, Codex, etc.). Install hooks compile vendored tree-sitter native bindings — nothing networked or credential-stealing.

Findings

Install hook builds tree-sitter native bindings info scripts/build-tree-sitter-grammars.cjs:97
postinstall runs scripts/build-tree-sitter-grammars.cjs which activates vendored tree-sitter parsers via node-gyp-build prebuilds (or source-build with npx node-gyp rebuild). Harmless for installed packages; requires a C toolchain only on uncommon platform-arch combos.
Prepare hook skips in published tarball info scripts/build.js:43-46
scripts/build.js detects dist/ already present and exits 0 immediately. Only does real work in a monorepo checkout.
No network activity at install time info lab report
Lab run: 0 connect() calls, 0 DNS names, 0 HTTP requests, 0 TLS SNI.
Editor MCP config writes are documented feature info dist/cli/editor-targets.js:27-96
dist/cli/editor-targets.js declares paths for .cursor/mcp.json, .claude.json, .gemini/antigravity/mcp_config.json, .config/opencode/opencode.json, .codebuddy/.mcp.json, .qoder.json, .qoder/skills/, .codex/hooks.json. These are written by the explicit `gitnexus setup` command, not silently.
Prompt-injection flags are false positives info README.md:341,531,690; skills/gitnexus-debugging.md:23; skills/gitnexus-exploring.md:22; skills/gitnexus-guide.md:83; skills/gitnexus-impact-analysis.md:25; skills/gitnexus-plan/SKILL.md:288; skills/g
README and skill files contain documentation prose like 'invalid values silently fall back to the default' — the regex heuristic matched 'silently' and flagged these as 'asks the agent to hide actions from its user'. These are behavioral notes, not agent instructions.
Crypto_wallet flags are false positives info dist/_shared/scope-resolution/finalize-algorithm.js:686
dist/_shared/scope-resolution/finalize-algorithm.js:686 mentions 'phantom collisions on a real monorepo (2,640 on grafana)' — code-analysis terminology, not crypto wallet functionality.

Lab evidence

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