first-tree
First Tree — unified CLI for Context Tree onboarding, agent management, and team messaging. (Source-tree dev build; CI rewrites `name` and `bin` for prod / staging publishes — see docs/local-dev-isolation.md.)
This report shows the evidence for first-tree@0.5.20. 1 of 6 known versions is blocked or flagged. The newest version, 0.5.23, is flagged. See all versions.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThe postinstall hook concretely deletes foreign AI runtime packages during installation. Global-only scope and opt-outs reduce breadth but do not make the unconsented lifecycle mutation safe.
Decision evidence
public snapshot- package.json runs three scripts via postinstall.
- scripts/prune-codex-runtime-binary.mjs recursively deletes @openai/codex-* during global install.
- scripts/prune-claude-runtime-binary.mjs recursively deletes @anthropic-ai/claude-agent-sdk-* during global install.
- scripts/prune-claude-sdk-deps.mjs deletes two other installed Claude SDK peer packages.
- Pruning is limited to npm global installs and has opt-out environment variables.
- Inspected lifecycle scripts make no network requests or credential reads.
- Context plugin hooks invoke first-tree commands only after explicit context activation.
Source & flagged code
17 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgFindings
Affected versions and remediation
This report applies to first-tree@0.5.20.
The versions list below shows the verdict for each recorded version.
- Avoid installing first-tree@0.5.20. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.