Decurity / semgrep-smart-contracts

Semgrep rules for smart contracts based on DeFi exploits
Other
629 stars 87 forks source link

add oracle-uses-curve-spot-price #62

Closed bleep3r closed 3 months ago

bleep3r commented 3 months ago

Oracle uses the get_p() curve pool function which can be manipulated via flashloan to calculate the asset price