swap-build

Warn

Audited by Snyk on Mar 2, 2026

Risk Level: MEDIUM
Full Analysis

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

  • Third-party content exposure detected (high risk: 0.90). The skill explicitly instructs the agent to fetch and ingest JSON from public third‑party APIs (e.g., the Step 4 GET to https://aggregator-api.kyberswap.com and the token fallback to https://token-api.kyberswap.com and CoinGecko) and requires using the returned routeSummary/token data verbatim to build POST requests and decision logic, so external responses can directly influence tool actions.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).


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

  • Direct money access detected (high risk: 1.00). This skill is explicitly designed for crypto financial operations: it fetches swap routes from KyberSwap, builds encoded swap calldata, and issues a POST to the KyberSwap /route/build API (via curl) including sender, recipient, slippage, deadline, and optional ERC-2612 permit. It constructs the on-chain transaction "data" and "value" fields (ready for submission) and handles token approval logic. These are specific crypto swap/build capabilities (not generic browsing or HTTP). Therefore it provides direct financial execution capability for blockchain token swaps.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Mar 2, 2026, 03:57 PM