droid@0.242.1
Factory Droid CLI - AI-powered software engineering agent
AI Security Review
scanned 20d ago · by lpm-firewall-aiThe postinstall fallback passes a metadata-provided tarball URL to a helper that sends NPM_TOKEN based on a hostname substring check. This unresolved credential exposure risk warrants a warning, but the source does not establish an actual disclosure or malicious intent.
Decision evidence
public snapshot- package.json runs install.js after installation and declares matching-version platform binaries.
- install.js gets a platform binary tarball URL from npm package metadata and passes that URL to the request helper.
- When NPM_TOKEN is set, the helper sends it as a bearer token to any hostname containing npmjs.org.
- The fallback download can therefore send the token to a metadata-selected lookalike hostname; the source does not restrict the tarball host.
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.242.1.
See all versions of droid for other recorded verdicts.
- Review the evidence and your use of droid@0.242.1 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.