droid@0.226.0
Factory Droid CLI - AI-powered software engineering agent
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThe postinstall script is a package-aligned native-binary shim, matching the esbuild-style optional-dependency layout declared in package.json. Registry access, the npm token, and file writes stay on the Factory CLI install path and do not mutate a foreign agent control surface.
Decision evidence
public snapshot- postinstall runs node install.js and optionalDependencies are same-version @factory/cli platform packages.
- install.js replaces only this package's bin/droid with a hard link or symlink to the platform binary, then checks --version.
- If the optional package is missing, it downloads that package tarball from registry.npmjs.org and extracts package/bin into its own bin directory.
- NPM_TOKEN is attached only when the request hostname includes npmjs.org. PATH warnings print text and do not edit shell profiles.
- postinstall can download and execute a native binary and follows HTTP redirects without rechecking the host.
- The binary itself is not in this package, so its runtime behavior cannot be reviewed here.
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 droid@0.226.0.
See all versions of droid for other recorded verdicts.
- Review the evidence and your use of droid@0.226.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.