[email protected]
clean confidence 85% action allow analyzed 2026-09-24 21:50 UTC by yolo in 24 tool calls, with lab detonation
Summary
Install hook runs three scripts: preflight-native.mjs (macOS codesign preflight on .node binaries, harmless), postinstall-app.mjs (downloads a GitHub release zip and replaces the trace-mcp.app desktop bundle, SHA-256 verified), and postinstall-control-plane.mjs (writes ~/.trace/launcher.env, installs a launcher shim at ~/.trace/bin/trace, and on macOS writes ~/Library/LaunchAgents/com.trace-mcp.server.plist for daemon persistence). The .claude-plugin/ and .codex-plugin/ directories contain plugin manifests for manual MCP registration — they are not auto-installed. The large dist/proxy.js spreads process.env only when spawning the daemon child process (standard Node behavior). Lab wrote files only to ~/.trace/ (the package's own data directory), no network egress, no canary credential reads.
Intent
A framework-aware code intelligence MCP server. The postinstall hook warms macOS codesign validation, self-updates the desktop .app from GitHub releases, and installs a launcher shim + macOS launchd daemon plist for background operation.
persistence
Findings
scripts/postinstall-control-plane.mjs:124-129, 576-593scripts/postinstall-app.mjs:523-622scripts/postinstall-control-plane.mjs:241-264, 647-655.claude-plugin/plugin.json:1-33, .codex-plugin/plugin.json:1-30dist/proxy.js:2557, 27567, 27706Lab evidence
Install hooks ran in the isolated lab. Processes spawned: 11. Hooks: postinstall (exit 0), prepare (exit 127), require (exit 0).
Files written outside the package: /home/andy/.trace/postinstall.log, /home/andy/.trace/launcher.env.tmp.77.a68ca6875b5d, /home/andy/.trace/launcher.env, /home/andy/.trace/bin/trace.tmp.77.23df1fd0b033, /home/andy/.trace/bin/trace, /home/andy/.trace/bin/trace (chmod 0755)