@1sat/cli@0.0.76
CLI for 1Sat Ordinals SDK
AI Security Review
scanned 4mo ago · by lpm-firewall-aiStatic source inspection shows a Bun-gated cryptocurrency CLI with explicit user-invoked wallet and local MCP capabilities. The preinstall script is a non-mutating runtime check, and no concrete malicious chain was found.
Static reason
One or more suspicious static signals were detected.
Trigger
npm install runs the Bun check; user-invoked CLI commands activate wallet, MCP, server, or network features.
Impact
No unconsented install-time mutation, credential exfiltration, remote code execution, or AI-agent control-surface modification was found.
Mechanism
explicit CLI wallet management and signed local MCP proxying
AI rationale
Static source inspection shows a Bun-gated cryptocurrency CLI with explicit user-invoked wallet and local MCP capabilities. The preinstall script is a non-mutating runtime check, and no concrete malicious chain was found.
Evidence
package.jsonscripts/check-bun.cjssrc/cli.tssrc/commands/mcp-proxy.tssrc/keys.tssrc/config.tssrc/repricer/whatsOnChain.ts~/.1sat/cli/config.json~/.1sat/cli/keys.bep~/.1sat-wallet/mcp-agent.key
Network endpoints2
127.0.0.1:3322api.whatsonchain.com/v1/bsv
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` has a `preinstall` hook.
- `src/commands/mcp-proxy.ts` creates a local MCP client key when explicitly invoked.
- `src/keys.ts` reads wallet-key environment variables and encrypted local key material.
Evidence against
- `scripts/check-bun.cjs` only checks for Bun and exits with installation guidance; it performs no download or mutation.
- No install hook writes files, calls a network API, or changes AI-agent configuration.
- `src/cli.ts` dispatches networked and wallet actions only after explicit CLI subcommands.
- `src/commands/mcp-proxy.ts` defaults to a signed localhost MCP bridge and is user-invoked.
- `src/keys.ts` stores keys encrypted with mode `0600`; no source exfiltration path was found.
- No eval, shell execution beyond the Bun version check, remote payload loading, or broad credential harvesting was found.
Behavioral surface
ChildProcessCryptoEnvironmentVarsFilesystemNetwork
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.76.
See all versions of @1sat/cli for other recorded verdicts.
- Review the evidence and your use of @1sat/cli@0.0.76 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.