droid@0.245.0
Factory Droid CLI - AI-powered software engineering agent
AI Security Review
scanned 16d ago · by lpm-firewall-aiThe source confirms a conditional credential exposure path: a weak hostname substring check controls whether NPM_TOKEN is sent, and redirects are followed without destination validation. Because the path requires the fallback and a matching untrusted destination, the evidence supports a warning rather than a publish block.
Decision evidence
public snapshot- The postinstall hook runs install.js.
- When NPM_TOKEN is set, install.js adds it as a Bearer token if the request hostname contains npmjs.org.
- The fallback installer obtains a tarball URL from registry metadata and requests that URL.
- The request helper follows redirects by recursively requesting the supplied Location without validating its destination.
- The fallback download runs only when the platform binary is unavailable from optional dependencies.
- The initial packument request targets registry.npmjs.org, and the source does not establish that an untrusted tarball URL or redirect is normally returned.
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.245.0.
See all versions of droid for other recorded verdicts.
- Review the evidence and your use of droid@0.245.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.