droid@0.206.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 binary installer for the Factory Droid CLI: it fetches the matching @factory platform package from the npm registry, writes it into this package, and links its own shim. Credential use is limited to npm registry auth, and no unconsented agent-config, exfiltration, or self-dependency lifecycle chain is present.
Decision evidence
public snapshot- postinstall only runs node install.js to install the Factory Droid CLI binary shim.
- Optional dependencies are same-version @factory/cli platform packages, not a nested release of droid.
- If the platform package is missing, install.js downloads that package tarball from registry.npmjs.org and writes the binary under this package bin directory.
- NPM_TOKEN is attached only when the request hostname includes npmjs.org.
- On Unix the script hard-links or symlinks its own bin/droid shim to that binary; the PATH helper only prints a warning.
- The droid command is a user-invoked shim that spawns the resolved local platform binary.
- The fallback download follows HTTP redirects and then writes and can later execute a native binary, which is the documented CLI install path rather than a foreign agent-config write.
- No code reads secrets for exfiltration, mutates other AI-agent configs, or depends on another release of droid.
Source & flagged code
6 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.206.0.
See all versions of droid for other recorded verdicts.
- Review the evidence and your use of droid@0.206.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.