droid@0.239.0
Factory Droid CLI - AI-powered software engineering agent
AI Security Review
scanned 23d ago · by lpm-firewall-aiThe package uses a postinstall fallback to retrieve its platform binary from npm, but its redirect handling can forward NPM_TOKEN based on a substring hostname check. This is a conditional credential exposure risk, not evidence of a confirmed malicious transfer.
Decision evidence
public snapshot- The postinstall fallback sends NPM_TOKEN when the request hostname contains npmjs.org.
- Redirects are followed by calling the same request function again, which reapplies that token condition to the redirect hostname.
- The fallback runs only when the platform binary is unavailable.
- The manifest pins optional platform packages to version 0.239.0.
- The fallback starts by requesting package metadata from registry.npmjs.org and selects the platform package at the package version.
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.239.0.
See all versions of droid for other recorded verdicts.
- Review the evidence and your use of droid@0.239.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.