registry  /  @factory/cli  /  0.170.0

@factory/cli@0.170.0

Factory Droid CLI - AI-powered software engineering agent

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 11 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
Manifest
NoLicense
scanned 2 file(s), 18.0 KB of source, external domains: registry.npmjs.org

Source & flagged code

3 flagged · loading source
package.jsonView file
scripts.postinstall = node install.js
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node install.js
Medium
Ambiguous Install Lifecycle Script

Install-time lifecycle script is not statically allowlisted and needs review.

package.jsonView on unpkg
install.jsView file
9* L10: * Based on esbuild's approach: https://github.com/evanw/esbuild/pull/1621 L11: * and Sentry's guide: https://sentry.engineering/blog/publishing-binaries-on-npm ... L21: const zlib = require('zlib'); L22: const child_process = require('child_process'); L23: ... L31: L32: // Read version - handle case where package.json doesn't exist yet (template dir) L33: let PACKAGE_VERSION = '0.0.0'; ... L40: function isYarn2OrAbove() { L41: const { npm[redacted] } = process.env; L42: if (npm[redacted]) {
Medium
Install Persistence

Source writes installer persistence such as shell profile or service configuration.

install.jsView on unpkg · L9

Findings

1 High5 Medium5 Low
HighInstall Time Lifecycle Scriptspackage.json
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumInstall Persistenceinstall.js
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
LowNo License