@factory/cli@1.1.0
Factory Droid CLI - AI-powered software engineering agent
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe postinstall network request retrieves the platform-specific @factory/cli binary from npm as a fallback, and the npm token is sent only to npmjs.org. File changes and process execution support installation and invocation of the CLI.
Decision evidence
public snapshot- The postinstall hook runs install.js; the manifest lists platform-specific @factory/cli binaries as optional dependencies.
- The fallback installer downloads the binary for the detected platform from npm and writes it into the package's bin directory.
- NPM_TOKEN is added only when the request hostname includes npmjs.org.
- The droid command selects and runs the platform binary with the user's supplied arguments.
- Install-time network access, environment-variable access and child-process execution are present, but the source ties them to binary installation and selection.
- The install hook replaces the package's own command shim with a link to that binary.
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@1.1.0.
See all versions of @factory/cli for other recorded verdicts.
- Review the evidence and your use of @factory/cli@1.1.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.