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 curl to 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_KEY environment 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 in references/recipes.md).
  • Boundary markers: No specific delimiters are defined for the external API content.
  • Capability inventory: Network operations via curl and 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
Risk Level
SAFE
Analyzed
Nov 28, 2026, 07:15 PM