@trailhq/trail-code@0.22.1
Your team's shared memory for coding agents: a code map on your machine, and the learnings, decisions and skills your whole team shares. Formerly graft.
AI Security Review
scanned 21d ago · by lpm-firewall-aiThe install hook’s source behavior is limited to gated, package-aligned telemetry, while the indicated agent configuration behavior is part of the CLI init flow. The inspected checkout, repository context, and notes code do not establish malicious behavior.
Decision evidence
public snapshot- The manifest runs scripts/postinstall.mjs. That hook records an install event and starts a telemetry flush; the event path checks telemetry gates before recording or sending.
- The install event allows only a global-install flag. Telemetry checks for a missing key, DO_NOT_TRACK, CI, and an explicit disable setting, and sends to the package’s Nanonets telemetry endpoint.
- The cited context, brand, notes, and repo-trail code handles repository-local ignore rules, agent-file filtering, and learning-file paths; it does not establish an attack surface.
- Claude configuration targets are repository scoped, and wiring is performed through init with explicit agent selection or an interactive picker.
- The review checkout uses a GitHub installation token for a requested repository review; the inspected Git invocation disables hooks and uses per-call authentication.
Source & flagged code
5 flaggedPackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgPackage source references dynamic require/import behavior.
dist/claude/shim-template.js#virtual:normalized:round1Findings
Affected versions and remediation
This report applies to @trailhq/trail-code@0.22.1.
See all versions of @trailhq/trail-code for other recorded verdicts.
- Review the evidence and your use of @trailhq/trail-code@0.22.1 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.