@trailhq/trail-code@0.28.0
⚠ Under reviewYour 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 8d ago · by lpm-firewall-aiThe install hook sends gated package telemetry, while reviewed agent configuration changes are in setup and removal helpers. The shipped native binaries remain materially unresolved after bounded analysis, so a clean verdict is not supported.
Decision evidence
public snapshot- package.json runs scripts/postinstall.mjs during installation; that hook imports the telemetry module and invokes the install-event helper.
- The install event is gated by a published key, DO_NOT_TRACK, CI checks, and a saved disabled preference; telemetry posts to the package's configured Nanonets events host.
- The package includes native tree-sitter Swift binaries. The inspected x64 Windows analysis reports uninspected call targets, so their behavior is unresolved.
- The inspected agent configuration writes occur in setup or removal helpers; the reviewed excerpts do not establish that those helpers run during installation.
- The telemetry sender uses an event batch and the package's Nanonets events endpoint; the reviewed source does not show unrelated credential or project-file collection.
- The inspected note-flattening helper removes control characters and normalizes text before returning a line.
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.0.
See all versions of @trailhq/trail-code for other recorded verdicts.
- Review the evidence and your use of @trailhq/trail-code@0.28.0 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.