Skip to content

Insecure Keep3rV2 Oracle Manipulation

Description

The Keep3rV2.current() call has high data freshness but low security. An exploiter can manipulate 2 data points to impact the feed, posing a significant risk.

Examples

Insecure Code

solidity
keeper.current(tokenIn, amountIn, tokenOut);

Secure Code

solidity
keeper.current(tokenIn, amountIn, tokenOut, additionalValidation());

Remediation

Implement additional security measures to prevent oracle manipulation, such as using a more secure oracle or implementing robust data validation.

Rule Details

FieldValue
IDCODE-0495
CategoryCrypto
SeverityHIGH
CWECWE-682
ConfidenceHIGH
ImpactHIGH
LikelihoodLOW
ExploitabilityMODERATE
Tagsoracle manipulation, keep3rV2
OWASPN/A

References