Hyperliquid CLI (with HIP3 Support)

AdvisoryAudited by Static analysis on Apr 30, 2026.

Overview

No suspicious patterns detected.

Findings (0)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

The agent or copied scripts could place, cancel, or alter trades in ways that lose money or change risk exposure.

Why it was flagged

The examples include unattended order placement and a skip-confirmation cancel-all command; for a financial trading agent, these high-impact operations need clear user approval and scope limits.

Skill content
### Automated Order Placement ... RESULT=$(hl order limit $SIDE $SIZE $COIN $PRICE --json) ... hl order cancel-all --coin BTC -y
Recommendation

Require explicit human confirmation for every live order, leverage change, and cancel-all action; use testnet or read-only mode unless the user has clearly approved a specific trade.

What this means

If the key is misused, exposed, or used by an over-eager agent, the user could suffer unauthorized or unintended trades.

Why it was flagged

A trading private key lets the CLI act on the user's Hyperliquid account; the artifacts do not clearly limit this authority or define approval boundaries for using it.

Skill content
env:\n    - HYPERLIQUID_PRIVATE_KEY ... description: Private key for trading (hex string starting with 0x)
Recommendation

Use a dedicated API wallet with the minimum necessary permissions and funds, prefer read-only accounts for monitoring, and never share or log the private key.

What this means

The installed CLI package will run with the user's local permissions and handle trading credentials.

Why it was flagged

The skill depends on a globally installed external npm package, which is central to the purpose but was not included as reviewed code and is not version-pinned in the instruction.

Skill content
install:\n  - npm install -g hyperliquid-cli
Recommendation

Verify the npm package source, publisher, and version before installing; consider pinning a known-good version.

NoteHigh Confidence
ASI10: Rogue Agents
What this means

A background process may continue running and maintaining market-data connections after the immediate task.

Why it was flagged

The skill discloses a background server with persistent connections and provides a stop command, making it purpose-aligned but still persistent behavior users should notice.

Skill content
hl server start ... The server provides: Persistent WebSocket connections ... Stop when done: hl server stop
Recommendation

Start the server only when needed and stop it after trading or monitoring is complete.

What this means

Trading positions and portfolio data could be shared outside the local machine.

Why it was flagged

This user-directed example sends position data to an external webhook; it is purpose-aligned for monitoring but can disclose portfolio details if used with an untrusted endpoint.

Skill content
hl account positions --json | curl -X POST -d @- https://your-webhook.com/positions
Recommendation

Only send account data to webhooks or monitoring services you control and trust.