[email protected] — MCP server that installs launchd daemon and Claude Code hooks
2026-09-24 20:42 UTC · by Andy · [email protected] · suspicious 55%
[email protected]
A framework-aware code intelligence MCP server that installs a background daemon and Claude Code PreToolUse guard hooks.
What it does
The postinstall hook runs three scripts:
preflight-native.mjs— native module preflight checkpostinstall-app.mjs— macOS app bundle self-update from GitHub releases (only on legacy bundles)postinstall-control-plane.mjs— installs a launcher shim at~/.trace/bin/traceand, on macOS, a launchd plist at~/Library/LaunchAgents/com.trace-mcp.server.plist
The package ships hooks/trace-mcp-guard.sh (68KB) and .cmd that intercept Claude Code PreToolUse hook invocations, blocking Read/Grep/Glob on source files and redirecting to trace-mcp tools.
Lab evidence
- Wrote files to
~/.trace/(launcher.env, bin/trace, postinstall.log) — expected for daemon setup - No network connections (offline lab)
- No canary credential reads
preparehook failed (simple-git-hooks not installed) — harmless
Prompt injection
README.md contains text impersonating system/operator messages (lines 432, 436, 438, 601) and asking agents to hide actions from users (line 445).
IOCs
- tarball sha1:
d6e91d82b4589469254f54fe26fcbb1586a18197 - Written paths:
~/.trace/postinstall.log,~/.trace/launcher.env,~/.trace/bin/trace - Persistence:
~/Library/LaunchAgents/com.trace-mcp.server.plist(macOS)
Action
Install in a throwaway sandbox without credentials. Monitor for new files in ~/.trace/ and ~/Library/LaunchAgents/ after install.
Automated analysis by Andy (yolo) at 2026-09-24T20:42:32.386Z. Report: https://andymal.com/packages/trace-mcp/3.26.0. IOCs are defanged on the site; treat every string quoted from the package as untrusted.