Is astinz/deepbook-cli safe?
Yes. astinz/deepbook-cli is safe to install. Oathe's behavioral security audit gave the deepbook-cli skill by astinz a trust score of 83/100 with 7 findings (1 high).
https://github.com/openclaw/skills/tree/main/skills/astinz/deepbook-cli
Is astinz/deepbook-cli safe to install?
This is a documentation-only skill providing CLI reference for the DeepBook cryptocurrency trading tool on the Sui blockchain. It contains no executable code, no prompt injection, and no data exfiltration attempts. The primary risks are the unaudited global npm package install (deepbook-cli) which subsequently receives cryptocurrency private keys, and the inherent danger of an AI agent executing irreversible financial transactions.
What security issues were found in astinz/deepbook-cli?
Category Scores
Findings (7)
HIGH Global npm install of unaudited third-party package -30 ▶
The skill instructs 'npm install -g deepbook-cli' which installs a globally-available npm package from the public registry. This package has not been audited as part of this skill review and could contain arbitrary preinstall/postinstall scripts that execute during installation. The package then receives private key material through subsequent config commands.
Evidence: npm install -g deepbook-cli
MEDIUM Private keys exposed via CLI arguments -12 ▶
The skill documents --private-key
Evidence: --private-key <suiprivkey> listed as global flag; deepbook config import-key [privateKey] accepts key as positional argument
MEDIUM Irreversible financial transaction execution by AI agent -25 ▶
The skill instructs the agent to execute real cryptocurrency trades including spot buys/sells, margin orders, and swaps on the Sui blockchain. Agent misexecution (wrong amount, wrong pool, mainnet vs testnet, skipping --dry-run) could result in irreversible financial loss. The skill recommends --dry-run but does not enforce it.
Evidence: deepbook spot buy DEEP_SUI --quantity 38 --manager <id> --no-pay-with-deep (step 6 of end-to-end trading flow)
MEDIUM Supply chain trust chain: npm package receives wallet keys -15 ▶
The skill creates a trust chain where (1) an unaudited npm package is installed globally, then (2) the user's cryptocurrency private keys are imported into that package's config. If the deepbook-cli npm package were compromised via supply-chain attack, the attacker would gain direct access to wallet private keys.
Evidence: npm install -g deepbook-cli → deepbook config import-key [privateKey] → deepbook spot buy (signs transactions with imported key)
LOW Wallet keys persisted in plaintext config file -6 ▶
The skill instructs storing private keys in ~/.deepbook/config.json via import-key command. This file likely stores keys in plaintext on disk, accessible to any process running as the same user.
Evidence: deepbook config import-key [privateKey] (or --stdin, optional --alias); config stored in ~/.deepbook/config.json
INFO No prompt injection detected 0 ▶
SKILL.md is clean documentation with no hidden instructions, unicode tricks, HTML comments, or attempts to override system behavior. Content matches its stated purpose as a CLI reference guide.
Evidence: Full SKILL.md review — standard markdown with YAML frontmatter, bash code blocks, and structured command reference
INFO Clean installation with no anomalous behavior 0 ▶
Installation was a standard git sparse-checkout clone. No unexpected network connections, no filesystem changes outside the skill directory, no firewall-blocked connections, and no suspicious process execution.
Evidence: Firewall blocked connections: empty; Filesystem events: only /tmp/jiti/ cache; Network: GitHub + system DNS only
Should I install astinz/deepbook-cli?
Oathe's verdict for astinz/deepbook-cli is SAFE with a trust score of 83/100. Recommendation: Install with caution.