@trailhq/trail-code@0.28.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 5d ago · by lpm-firewall-aiThe package sends anonymous, limited install telemetry automatically from its postinstall hook, with telemetry enabled by default. The disclosure and opt-out reduce the risk, but install-time telemetry on by default is warning-worthy.
Decision evidence
public snapshot- The package runs scripts/postinstall.mjs automatically after installation.
- The install hook records an install event and launches a detached telemetry flush.
- Telemetry is enabled by default when a published key is present; CI, DO_NOT_TRACK, and an explicit disable setting close the gate.
- The install event records the package version and whether the install was global, alongside common platform and runtime fields and a random install ID.
- The queued events are POSTed to the package's analytics host, events.nanonets.com.
- The README discloses anonymous usage stats and documents how to disable them.
- The telemetry contract filters event names and fields, and restricts values to fixed labels or buckets.
- The install event carries no hostname, username, project path, credential, or file contents.
- Telemetry is disclosed in the README and can be disabled with DO_NOT_TRACK=1 or the package's telemetry command.
- The public API entry point consists of exports and has no apparent import-time action.
Source & flagged code
8 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/pre-bash.jsView on unpkg · L100Findings
Affected versions and remediation
This report applies to @trailhq/trail-code@0.28.1.
See all versions of @trailhq/trail-code for other recorded verdicts.
- Review the evidence and your use of @trailhq/trail-code@0.28.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.