@1sat/cli@0.0.71
CLI for 1Sat Ordinals SDK
AI Security Review
scanned 4mo ago · by lpm-firewall-aiStatic inspection shows a wallet CLI with user-invoked network and local key-management functions. The flagged lifecycle hook is a Bun availability check only, and no concrete malicious chain was found.
Static reason
One or more suspicious static signals were detected.
Trigger
npm preinstall or explicit `1sat` command invocation
Impact
No unconsented credential exfiltration, remote payload execution, destructive action, or foreign AI-agent control-surface mutation found.
Mechanism
Bun runtime check; user-invoked wallet, local MCP proxy, server, and API functions
AI rationale
Static inspection shows a wallet CLI with user-invoked network and local key-management functions. The flagged lifecycle hook is a Bun availability check only, and no concrete malicious chain was found.
Evidence
package.jsonscripts/check-bun.cjssrc/cli.tssrc/keys.tssrc/commands/mcp-proxy.tssrc/repricer/whatsOnChain.tssrc/config.tssrc/commands/serve.ts
Network endpoints3
127.0.0.1:3322api.1sat.app/1satapi.whatsonchain.com/v1/bsv
Decision evidence
public snapshotAI called this Clean at 94.0% confidence as Benign with low false-positive risk.
Evidence for AI clean decision
Evidence against
- `scripts/check-bun.cjs` preinstall only synchronously checks for Bun and exits with setup guidance.
- `src/cli.ts` dispatches commands only after explicit CLI invocation; no import-time network or filesystem behavior.
- `src/keys.ts` stores wallet keys locally in an encrypted file with mode `0600`; no source path sends key material externally.
- `src/commands/mcp-proxy.ts` is an explicit user command that proxies stdin JSON-RPC to a local default MCP endpoint after signature verification.
- Network use is command-aligned: local wallet MCP, 1Sat API, and exchange-rate retrieval.
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.71.
See all versions of @1sat/cli for other recorded verdicts.
- Review the evidence and your use of @1sat/cli@0.0.71 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.