hyperliquid-positions

Pass

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill utilizes curl to interact with official Hyperliquid API endpoints (api.hyperliquid.xyz and api.hyperliquid-testnet.xyz) to retrieve account state, market metadata, and open orders. These operations are essential for the skill's stated purpose.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external data from Hyperliquid API responses, which constitutes a potential surface for indirect prompt injection.
  • Ingestion points: External data enters the agent context via shell command output (curl | jq) and Python SDK calls (info.user_state(), info.meta()) in SKILL.md.
  • Boundary markers: Not explicitly implemented in the provided snippets; the agent is expected to process the raw structured output.
  • Capability inventory: The skill has the capability to modify account state, including closing positions and updating leverage settings using the exchange object.
  • Sanitization: Use of structured data parsers like jq and Python's Decimal type provides a layer of protection against raw text injection within numerical or structured fields.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 08:07 PM