@trailhq/trail-code
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.
This report shows the evidence for @trailhq/trail-code@0.28.1. 0 of 10 known versions are blocked or flagged. See all versions.
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 · L100Package source references weak cryptographic algorithms.
dist/init/candidates.jsView on unpkg · L45Manifest-trigger-reachable source writes behavior-bearing configuration into a user or project AI-agent control surface.
dist/claude/init.jsView on unpkgPackage ships native binary artifacts.
dist/vendor/tree-sitter-swift/prebuilds/win32-arm64/tree-sitter-swift.nodeView on unpkgA bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/app/checkout.js#virtual:normalized:round1View on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/cli.jsView on unpkgFindings
Affected versions and remediation
This report applies to @trailhq/trail-code@0.28.1.
The versions list below shows the verdict for each recorded version.
- 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.