@factory/cli@0.239.0
Factory Droid CLI - AI-powered software engineering agent
AI Security Review
scanned 23d ago · by lpm-firewall-aiThe package’s fallback is designed to obtain a same-version platform binary, but its hostname substring check does not bind NPM_TOKEN to the intended registry. This creates conditional credential exposure risk, so warn without blocking publication.
Decision evidence
public snapshot- The package runs install.js automatically through its postinstall hook.
- The installer adds NPM_TOKEN as a bearer token when the request hostname merely contains npmjs.org.
- The fallback fetches a package tarball URL from npm registry metadata, then requests that URL.
- The fallback runs only when the platform-specific optional dependency is unavailable.
- The installer writes the downloaded binary into its bin directory.
- The fallback targets same-version @factory platform packages listed as optional dependencies.
- The installer’s first metadata request uses registry.npmjs.org.
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.239.0.
See all versions of @factory/cli for other recorded verdicts.
- Review the evidence and your use of @factory/cli@0.239.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.