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
curlto interact with official Hyperliquid API endpoints (api.hyperliquid.xyzandapi.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()) inSKILL.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
exchangeobject. - Sanitization: Use of structured data parsers like
jqand Python'sDecimaltype provides a layer of protection against raw text injection within numerical or structured fields.
Audit Metadata