@factory/cli@0.242.1
Factory Droid CLI - AI-powered software engineering agent
AI Security Review
scanned 20d ago · by lpm-firewall-aiThe fallback's token forwarding uses a weak hostname check and follows metadata-provided URLs, creating a conditional credential exposure risk. The source does not establish an active third-party recipient, so this warrants a warning rather than a block.
Decision evidence
public snapshot- The postinstall hook runs the installer, and platform binaries are declared as same-version optional dependencies.
- The fallback installer adds NPM_TOKEN to requests when the hostname contains npmjs.org, rather than matching an exact trusted host.
- The installer follows redirects and obtains the tarball URL from registry metadata, then requests that URL using the same helper.
- The fallback runs when the platform binary is missing from optional dependencies.
- The fallback fetches metadata from registry.npmjs.org for a platform package selected by the installer.
- The fallback is conditional on the optional platform binary being unavailable.
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.242.1.
See all versions of @factory/cli for other recorded verdicts.
- Review the evidence and your use of @factory/cli@0.242.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.