@factory/cli@0.245.1
Factory Droid CLI - AI-powered software engineering agent
AI Security Review
scanned 14d ago · by lpm-firewall-aiThe install fallback has a real but conditional credential exposure risk because its hostname check is not an exact destination restriction. The source does not show an actual unrelated recipient, so this warrants a warning rather than a block.
Decision evidence
public snapshot- The manifest runs install.js during postinstall.
- The fallback downloader sends NPM_TOKEN when the request hostname contains npmjs.org; it does not check for an exact registry host.
- The tarball host comes from registry metadata, and the downloader follows redirects recursively, so the token destination is not restricted to the intended registry.
- The token is sent only when NPM_TOKEN is set and the fallback download path runs; the primary path uses versioned platform packages.
Source & flagged code
7 flaggedPackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time source downloads a native archive from a fixed external host without transport verification, extracts it, and installs an executable payload.
package.jsonView on unpkg · L9Install-time lifecycle script is not statically allowlisted and needs review.
Findings
Affected versions and remediation
This report applies to @factory/cli@0.245.1.
See all versions of @factory/cli for other recorded verdicts.
- Review the evidence and your use of @factory/cli@0.245.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.