hyperliquid

Fail

Audited by Gen Agent Trust Hub on Nov 7, 2026

Risk Level: CRITICALCREDENTIALS_UNSAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [CREDENTIALS_UNSAFE]: The skill documentation and examples (e.g., examples/trading-bot/README.md, examples/place-order/README.md) utilize raw Ethereum private keys for authentication via Account.from_key("0xYOUR_PRIVATE_KEY"). In an AI agent context, this encourages users to provide plaintext private keys, which represents a high risk of credential exposure or unauthorized fund movement if the agent's environment is compromised.
  • [COMMAND_EXECUTION]: The skill provides numerous Python and TypeScript scripts that interact with the Hyperliquid API to perform financial operations such as placing limit/market orders (exchange.order), setting leverage (exchange.update_leverage), and managing positions. These commands have the capability to execute high-value transactions.
  • [INDIRECT_PROMPT_INJECTION]: The skill establishes an attack surface by ingesting data from external sources that could potentially be influenced by third parties.
  • Ingestion points: Market data is ingested via get_mid_price, user state is fetched via info.user_state, and real-time data is streamed via WebSocket channels like trades and userFills in examples/trading-bot/README.md.
  • Boundary markers: The skill uses standard JSON parsing but lacks explicit delimiters or instructions to ignore potential commands embedded in market metadata or order descriptions.
  • Capability inventory: The skill possesses significant capabilities including placing orders (exchange.order), canceling orders (exchange.cancel), and transferring funds between accounts (exchange.class_transfer).
  • Sanitization: Data is cast to primitive types (e.g., float(), int()) before use, but there is no specific sanitization for malicious string patterns in asset names or metadata.
  • [EXTERNAL_DOWNLOADS]: The skill references several external libraries for installation, including hyperliquid-python-sdk, eth-account, and websocket-client. These are standard dependencies for the intended functionality and are sourced from official registries.
  • [SAFE]: The URLs api.hyperliquid.xyz and api.hyperliquid-testnet.xyz are the official API endpoints for the service described. Automated scanner flags for these domains are likely false positives due to their association with cryptocurrency trading platforms.
Recommendations
  • CRITICAL: 2 file(s) identified as malware by FileRep - DO NOT USE
  • Contains 2 malicious URL(s) - DO NOT USE
Audit Metadata
Risk Level
CRITICAL
Analyzed
Nov 7, 2026, 10:00 PM