Property
Languagesolidity
Severitymedium
CWECWE-1285: Improper Validation of Specified Index, Position, or Offset in Input
Confidence LevelLow
Impact LevelHigh
Likelihood LevelLow

Description#

The UniswapV3 adapter incorrectly extracts token addresses from the swap path, which can lead to reading data from the wrong position. This improper parsing can cause the contract to use unintended or attacker-controlled token addresses during swaps.

Impact#

If exploited, an attacker could manipulate swap paths to redirect tokens or swaps to malicious addresses, potentially resulting in loss of user funds or unauthorized token transfers. This undermines the integrity of DeFi operations and exposes users to significant financial risk.