hyperliquid-wallet-audit
Pass
Audited by Gen Agent Trust Hub on Nov 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes self-contained Node.js scripts (
wallet-audit.mjs,audit-engine.mjs) to perform data capture and analysis. These operations are performed on the local filesystem to create output directories and JSON/Markdown reports using standard library functions. - [EXTERNAL_DOWNLOADS]: Fetches public wallet activity and market state from official Hyperliquid Info API endpoints (
api.hyperliquid.xyzandapi.hyperliquid-testnet.xyz). These requests are sequential, bounded by byte limits, and strictly read-only. - [INDIRECT_PROMPT_INJECTION]: The skill processes data from external API responses and local capture files. It includes several defensive measures against prompt injection:
- Ingestion points: Data enters through API responses in
scripts/audit-engine.mjsand through user-provided JSON files inscripts/wallet-audit.mjs. - Boundary markers: Instructions in
SKILL.mdexplicitly direct the agent to treat API and file content as data only and to ignore any instructions embedded within them. - Capability inventory: The skill is restricted to making POST requests to hardcoded API endpoints and writing files to a new, user-specified output directory.
- Sanitization: All ingested data undergoes strict validation using helper functions that enforce schemas, hexadecimal address formats, and decimal string patterns.
Audit Metadata