@1sat/cli@0.0.70
CLI for 1Sat Ordinals SDK
AI Security Review
scanned 4mo ago · by lpm-firewall-aiThe install hook is a runtime prerequisite check, not an installer or mutation chain. Source-level network, key, and MCP behavior is explicitly command-invoked and package-aligned, with no concrete malicious chain found.
Static reason
One or more suspicious static signals were detected.
Trigger
npm install runs the Bun availability check; runtime behavior requires an explicit `1sat` command.
Impact
No unconsented code execution, credential exfiltration, or foreign AI-agent control-surface mutation established.
Mechanism
wallet CLI with local configuration, optional service calls, and an explicit local MCP bridge
AI rationale
The install hook is a runtime prerequisite check, not an installer or mutation chain. Source-level network, key, and MCP behavior is explicitly command-invoked and package-aligned, with no concrete malicious chain found.
Evidence
package.jsonscripts/check-bun.cjssrc/cli.tssrc/keys.tssrc/commands/mcp-proxy.tssrc/commands/serve.tssrc/config.tssrc/commands/serve-messagebox.tssrc/repricer/whatsOnChain.ts
Network endpoints3
api.1sat.app/1satapi.whatsonchain.com/v1/bsv127.0.0.1:3322
Decision evidence
public snapshotAI called this Clean at 93.0% confidence as Benign with low false-positive risk.
Evidence for AI clean decision
Evidence against
- `scripts/check-bun.cjs` preinstall only runs `bun --version` and exits if unavailable.
- `src/cli.ts` dispatches functionality only after an explicit CLI command.
- `src/commands/mcp-proxy.ts` is an explicit stdio proxy; its default endpoint is `http://127.0.0.1:3322`.
- `src/keys.ts` stores user-created wallet material encrypted with mode `0600`; no source sends the key off-host.
- Network calls are package-aligned: wallet service, local MCP, and BSV exchange-rate API.
- No eval, shell execution beyond the Bun check, foreign agent-config writes, or stealth persistence 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.70.
See all versions of @1sat/cli for other recorded verdicts.
- Review the evidence and your use of @1sat/cli@0.0.70 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.