@trailhq/trail-code@0.23.0
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 20d ago · by lpm-firewall-aiThe postinstall hook does send default-on install telemetry, but the inspected code limits the event data and sends it to the package's product analytics endpoint. The flagged agent configuration behavior is reached through explicit CLI initialization, not the install hook.
Decision evidence
public snapshot- package.json runs a postinstall hook; that hook records and flushes an install event, while Claude setup is reached through the CLI init command.
- The install event is limited to its event name and global-install flag, with common version and platform metadata and a random install identifier; it is sent to the configured product analytics endpoint.
- Claude configuration setup is performed by runInit and is called from the CLI init flow.
- The other flagged locations describe repo housekeeping, existing Trail wiring detection, agent-file filtering, and bounded Git checkout behavior.
- Postinstall telemetry is automatic and detached; telemetry defaults on unless a gate or user setting disables it.
- Explicit init can write agent configuration and a skill to repo or user locations.
Source & flagged code
6 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.23.0.
See all versions of @trailhq/trail-code for other recorded verdicts.
- Review the evidence and your use of @trailhq/trail-code@0.23.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.