hyperliquid-plan
Pass
Audited by Gen Agent Trust Hub on Nov 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a bundled Node.js script (
scripts/risk.mjs) to perform deterministic risk and sizing calculations. This tool is used locally to process parameters such as equity, risk percentage, and price levels into a structured trade plan. - [INDIRECT_PROMPT_INJECTION]: The skill ingests user-supplied trade intents and preferences to build unsigned trade tickets. This ingestion process represents an attack surface where maliciously formatted user data could attempt to influence the generated financial output used in downstream execution steps.
- Ingestion points: User instructions and preference context processed in
SKILL.mdandreferences/intent-and-preferences.md. - Boundary markers: None. The skill does not currently employ explicit delimiters or system instructions to distinguish between trusted logic and untrusted user data.
- Capability inventory: Local command execution of the bundled arithmetic script via the
nodeenvironment. - Sanitization: The
scripts/risk.mjsutility validates that input parameters are finite numbers and conform to logical trading constraints (e.g., positive equity, valid stop-loss placement relative to entry).
Audit Metadata