@factory/cli@0.231.0
Factory Droid CLI - AI-powered software engineering agent
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThe inspected source implements a transparent platform executable installer and launcher with package-local writes and npm-aligned authentication. Download hardening limitations do not establish an active attack or unrestricted operator-controlled credential forwarding.
Decision evidence
public snapshot- package.json invokes install.js after installation and lists version-matched platform packages, without a runtime self-dependency.
- install.js selects a Factory platform package and obtains its matching release through registry.npmjs.org.
- install.js uses NPM_TOKEN for npm authentication; no operator-configured credential destination was identified.
- Installer writes and shim replacement remain inside the package's bin directory.
- platform.js resolves platform executables, and bin/droid launches the selected executable with command arguments.
- Fallback downloads lack an explicit integrity check, and the npm authentication hostname check uses substring matching.
- Platform executable dependencies are outside this snapshot, so their internals were not inspected.
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.231.0.
See all versions of @factory/cli for other recorded verdicts.
- Review the evidence and your use of @factory/cli@0.231.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.