swap-integration

Warn

Audited by Snyk on Nov 8, 2026

Risk Level: MEDIUM
Full Analysis

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (low risk: 0.10). The workflow ingests API response text from the PancakeSwap Routing API (https://router.pancakeswap.finance/v0/quote), which is an external URL search/fetch rather than a monitored outsider submission channel.

MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).

  • Direct money access detected (high risk: 0.70). The skill provides instructions, code examples, and SDK methods for integrating and executing token swaps (trades/purchases) on PancakeSwap via routers (Universal Router, V2 Router). These constitute direct financial operations (token swaps/transfers). No independent access control or service authentication is enforced by the execution layer for these routes; the agent executes them directly using a private key (e.g., privateKeyToAccount(process.env.PRIVATE_KEY)) without an independent approval mechanism. Therefore, it is a direct operation without established qualifying control, resulting in a high severity rating.

Issues (2)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W009
MEDIUM

Direct money access capability detected (payment gateways, crypto, banking).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 8, 2026, 08:20 PM
Issues
2