swap-planner
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes shell commands (
curl,jq,cast,xdg-open) to fetch market data and interact with the user's browser. - Evidence: Found in
SKILL.mdsteps 0, 3, 5, and 7, as well asreferences/data-providers.mdpatterns. - Mitigation: Step 3 specifies mandatory input validation using regex (e.g., for Ethereum addresses and decimal amounts) and explicitly rejects any input containing shell metacharacters to prevent command injection.
- [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external sources including web searches and cryptocurrency pricing APIs.
- Ingestion points:
SKILL.md(Step 0, Step 5) andreferences/data-providers.mdfetch data from DexScreener, DefiLlama, and general web results. - Boundary markers: Explicit instructions require the agent to label web-discovered data as untrusted, provide risk warnings, and obtain user confirmation via
AskUserQuestionbefore proceeding. - Capability inventory: The skill has the ability to execute network requests, parse JSON, and open URLs in the local environment.
- Sanitization: The skill implements strict regex-based validation for all user-supplied or externally-fetched variables before they are used in commands or link generation.
Audit Metadata