uniswap-swap
Pass
Audited by Gen Agent Trust Hub on Nov 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: Uses
curlto interact with the Uniswap Trading API for quoting, checking token approvals, and preparing transactions. - [EXTERNAL_DOWNLOADS]: Fetches market data and transaction routes from Uniswap's official gateway (
trade-api.gateway.uniswap.org), which is a well-known service for the protocol. - [CREDENTIALS_UNSAFE]: Accesses the
UNISWAP_API_KEYenvironment variable to authenticate requests to the protocol's gateway. The instructions include guidelines to avoid printing or logging the key. - [INDIRECT_PROMPT_INJECTION]: The skill processes JSON data from Uniswap's API responses to guide transaction construction.
- Ingestion points: API responses from
https://trade-api.gateway.uniswap.org/v1(referenced inreferences/recipes.md). - Boundary markers: No specific delimiters are defined for the external API content.
- Capability inventory: Network operations via
curland potential file persistence for response objects. - Sanitization: The instructions mandate that the agent independently verify routing discriminators, gas costs, and recipients, and perform simulations before any transactions are executed.
Audit Metadata