droid@0.240.0
Factory Droid CLI - AI-powered software engineering agent
AI Security Review
scanned 23d ago · by lpm-firewall-aiThe install hook has a package-aligned binary setup purpose, but its token forwarding relies on an unrestricted hostname substring check and follows redirects. This is a conditional credential exposure risk, not proof of a deliberate theft operation.
Decision evidence
public snapshot- package.json activates install.js during postinstall and declares platform-specific optional dependencies.
- install.js attaches NPM_TOKEN when the request hostname contains the text npmjs.org.
- install.js follows redirect locations by calling makeRequest again without restricting the destination host.
- The fallback obtains the tarball URL from npm package metadata and requests that URL through makeRequest.
- The fallback runs only when the platform binary is missing from optionalDependencies.
- The fallback is for downloading this package's matching platform binary from npm when its optional dependency is unavailable.
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.240.0.
See all versions of droid for other recorded verdicts.
- Review the evidence and your use of droid@0.240.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.