Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of trace-mcp

[email protected]

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

Summary

The postinstall hook installs a launcher shim to ~/.trace/bin/trace and, on macOS, a launchd agent (com.trace-mcp.server) for the background daemon. The prepare hook runs simple-git-hooks (fails in the lab because the module isn't installed). No network egress or credential reads observed. Behavior matches the stated purpose.

Intent

Framework-aware code intelligence MCP server with a background daemon and desktop app self-update. The postinstall hook writes a launcher shim and, on macOS, installs a launchd agent for the daemon. It does not modify AI agent configuration files at install time (that only happens when the user explicitly runs `trace-mcp init`).

Findings

Launchd agent installation on macOS info scripts/postinstall-control-plane.mjs:124-129, 576-593
scripts/postinstall-control-plane.mjs writes ~/Library/LaunchAgents/com.trace-mcp.server.plist and bootstraps it, running the daemon at login.
Launcher shim installed to ~/.trace/bin/ info scripts/postinstall-control-plane.mjs:241-263
Copies hooks/trace-mcp-launcher.sh (POSIX) or hooks/trace-mcp-launcher.cmd + .ps1 (Windows) to ~/.trace/bin/trace (or trace.cmd), used by MCP clients to resolve node + cli.js at runtime.
GitHub release download for .app self-update info scripts/postinstall-app.mjs:532-617
scripts/postinstall-app.mjs downloads the latest macOS .app zip from the trace-mcp GitHub releases, verifies SHA-256 against a sibling .sha256 asset, and swaps the running bundle (or stages a pending zip).
Canary credential reads: none info lab report
The isolated lab run read zero canary credentials.
Network egress: none at install time info lab report
0 connect() calls, 0 DNS names, 0 HTTP requests in the lab. GitHub API queries in postinstall-app.mjs would resolve to api.github.com but were not triggered (no legacy bundles detected).

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.22ac53a5b403, /home/andy/.trace/launcher.env, /home/andy/.trace/bin/trace.tmp.77.84757fddd1f7, /home/andy/.trace/bin/trace, /home/andy/.trace/bin/trace (chmod 0755)