Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of gitnexus

[email protected]

clean   confidence 60%   action allow   analyzed 2026-09-24 23:05 UTC by yolo in 20 tool calls, with lab detonation

Summary

Install hooks run standard TypeScript compilation (tsc) and native grammar binding setup (node-gyp-build / node-gyp) — no network, no credential access observed in the lab. The agent_config_tamper capability (writing .cursor/mcp.json, .claude.json, AGENTS.md, CLAUDE.md) is the package's stated feature and requires explicit user invocation (`gitnexus setup`), not automatic install-time behavior.

Intent

Graph-powered code intelligence CLI and MCP server. Install hooks build native tree-sitter grammars and compile TypeScript — standard for this class of tool. Writes MCP configs and AGENTS.md/CLAUDE.md only via explicit `gitnexus setup` CLI command, which is the stated purpose.

Findings

Standard native grammar binding build info scripts/build-tree-sitter-grammars.cjs
postinstall runs scripts/build-tree-sitter-grammars.cjs which uses node-gyp-build to load prebuilds or falls back to npx node-gyp rebuild for vendored tree-sitter grammars. No network egress observed.
Standard TypeScript compilation info scripts/build.js
prepare runs scripts/build.js which invokes tsc to compile gitnexus-shared and gitnexus. Skips when dist/ already exists (published package). No network, no credential access.
Agent config writes are explicit CLI feature info dist/cli/ai-context.js:1-7
dist/cli/ai-context.js generates AGENTS.md / CLAUDE.md; dist/cli/setup.js writes MCP configs to .cursor/mcp.json, .claude.json, etc. Both require explicit `gitnexus setup` invocation — not triggered by install hooks.
Prompt-injection hints are false positives info README.md
README.md phrases like 'silently fall back' and 'Do not paste' are human-facing documentation about tool behavior, not hidden text injected into AI models.

Lab evidence

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