Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of trace-mcp

[email protected]

clean   confidence 85%   action allow   analyzed 2026-09-24 19:24 UTC by yolo in 24 tool calls, with lab detonation

Summary

Install hooks run three scripts: preflight-native.mjs (macOS codesign cache warmup), postinstall-app.mjs (GitHub-release app update, macOS-only), and postinstall-control-plane.mjs (writes ~/.trace/launcher.env and installs the launcher shim at ~/.trace/bin/trace). The lab showed exit 0, no network, no canary reads. Flagged capabilities belong to development/benchmark scripts not executed at install time.

Intent

A framework-aware code intelligence MCP server that installs a local daemon with a launcher shim. The postinstall hook updates the macOS desktop app from GitHub releases and installs the launcher at ~/.trace/bin/trace — nothing else.

Findings

Install hook writes launcher shim to ~/.trace/bin/trace info scripts/postinstall-control-plane.mjs:241-264
postinstall-control-plane.mjs copies hooks/trace-mcp-launcher.sh to ~/.trace/bin/trace and writes ~/.trace/launcher.env with node and cli.js paths. Expected for a daemon-managed package.
macOS LaunchAgent plist installation (runtime path only) info scripts/postinstall-control-plane.mjs:124-129, dist/proxy.js:27500
dist/proxy.js and postinstall-control-plane.mjs write ~/Library/LaunchAgents/com.trace-mcp.server.plist and bootstrap it with launchd. Not triggered in the Linux lab.
process.env forwarded to spawned workers info dist/proxy.js:2557,27603,27742,29960
dist/proxy.js passes ...process.env to worker subprocesses (e.g. for OPENAI_API_KEY). Standard pattern for passing API keys to worker processes, not exfiltration.
Development/benchmark scripts flagged but not executed at install info Multiple files in scripts/
scripts/bench-name-tokens.ts, scripts/capture-screenshots.mjs, scripts/ga4-snapshot.mjs, etc. carry credential_harvest/cryptowallet tags in the static pre-screen but are not part of the postinstall chain.

Lab 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.eb72a333b696, /home/andy/.trace/launcher.env, /home/andy/.trace/bin/trace.tmp.77.b053c0a948b2, /home/andy/.trace/bin/trace, /home/andy/.trace/bin/trace (chmod 0755)