@factory/cli@0.212.0
Factory Droid CLI - AI-powered software engineering agent
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThis is not concrete malicious behavior because the endpoint and file scope are package-aligned. It remains suspicious because an automatic lifecycle hook downloads and activates an unverified native executable.
Decision evidence
public snapshot- A postinstall hook automatically runs install.js.
- When the optional platform package is absent, the hook fetches a registry tarball and extracts a native executable.
- The downloaded executable is written with execute permission and linked as the droid command.
- The installer does not verify the downloaded tarball against registry integrity metadata before executing the binary.
- The download target is the npm registry and the package name is selected from a fixed platform mapping.
- Writes and links are limited to this package's bin directory.
- The shell and child-process calls are used for CPU detection, version checking, and the package command.
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.212.0.
See all versions of @factory/cli for other recorded verdicts.
- Review the evidence and your use of @factory/cli@0.212.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.