swap-tokens
Pass
Audited by Gen Agent Trust Hub on Nov 8, 2026
Risk Level: SAFECREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill provides guidance on managing sensitive session data such as
PRIVATE_KEY,CIRCLE_API_KEY, andCIRCLE_ENTITY_SECRET. It follows security best practices by strictly instructing the agent to never hardcode, log, or display these secrets and to use environment variables or secret managers instead. - [EXTERNAL_DOWNLOADS]: The skill references several official NPM packages from the
@circle-finorganization and other established Web3 providers likeviemand@solana/kit. These are verified vendor resources and standard ecosystem libraries. - [INDIRECT_PROMPT_INJECTION]: The skill allows the agent to read repository context for implementation guidance but explicitly forbids the use of repository data for sensitive swap parameters (e.g., amounts, addresses). It mandates that all transactional parameters must come from direct user confirmation via a decision guide, effectively mitigating the risk of instructions embedded in the codebase being executed.
- [COMMAND_EXECUTION]: Documentation provides code for executing fund-moving operations. To prevent misuse, the skill includes non-negotiable rules for the agent to never auto-invoke fund-moving logic and to always wait for explicit user confirmation.
Audit Metadata