@1sat/cli@0.0.75
CLI for 1Sat Ordinals SDK
AI Security Review
scanned 4mo ago · by lpm-firewall-aiStatic inspection shows the flagged lifecycle hook is a local Bun prerequisite check, not an installer payload. Sensitive-key and MCP behavior is package-aligned and activated only by explicit commands, with no concrete malicious chain found.
Static reason
One or more suspicious static signals were detected.
Trigger
npm preinstall; explicit `1sat mcp-proxy` or wallet/server commands
Impact
No unconsented exfiltration, persistence, destructive action, or foreign AI-agent control-surface mutation identified.
Mechanism
Bun availability check and user-invoked wallet/MCP operations
AI rationale
Static inspection shows the flagged lifecycle hook is a local Bun prerequisite check, not an installer payload. Sensitive-key and MCP behavior is package-aligned and activated only by explicit commands, with no concrete malicious chain found.
Evidence
package.jsonscripts/check-bun.cjssrc/cli.tssrc/commands/mcp-proxy.tssrc/keys.tssrc/config.ts
Decision evidence
public snapshotAI called this Clean at 96.0% confidence as Benign with low false-positive risk.
Evidence for AI clean decision
- package.json defines a preinstall hook.
- scripts/check-bun.cjs invokes spawnSync.
Evidence against
- scripts/check-bun.cjs only checks `bun --version` and exits with setup guidance.
- No install hook performs network, filesystem mutation, or payload loading.
- src/cli.ts dispatches behavior only after an explicit CLI command.
- src/commands/mcp-proxy.ts runs only via `mcp-proxy` and defaults to localhost.
- src/keys.ts stores wallet material encrypted or mode 0600; no source fetch sends it elsewhere.
- No eval, arbitrary dynamic loading, or additional child-process execution found.
Behavioral surface
ChildProcessCryptoEnvironmentVarsFilesystemNetwork
HighEntropyStringsUrlStrings
Source & flagged code
1 flaggedpackage.jsonView file
•scripts.preinstall = node scripts/check-bun.cjs
High
Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkgFindings
1 High3 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
Affected versions and remediation
This report applies to @1sat/cli@0.0.75.
See all versions of @1sat/cli for other recorded verdicts.
- Review the evidence and your use of @1sat/cli@0.0.75 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.