Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please consider Oracle manipulation #4

Open
sc0Vu opened this issue Jul 18, 2023 · 1 comment
Open

Please consider Oracle manipulation #4

sc0Vu opened this issue Jul 18, 2023 · 1 comment
Assignees

Comments

@sc0Vu
Copy link

sc0Vu commented Jul 18, 2023

Hi there,

Thanks for this great repo. After reading the top 10 list, IMHO, please consider to add Oracle manipulation into this (some hacks happened).

About Oracle manipulation:

Oracle manipulation

Desciption

Oracle manipulation is an attack that smart contract rely off-chain information on other services called oracles (eg. price). If the data was wrong it might lead to abnormal behavior.

Impact

Might drain the pool from Defi protocol.

Steps to fix

Use a decentralized oracle network, or time-weighted average price feed.

Example

The lending contract use the price from dex oracle, attacker make flash loan and manipulate the token price (drain one asset from the pool). After price manipulation, attacker can make loan from lending pool if the token price source is dex oracle and not validated properly.

@jinsonvarghese
Copy link
Member

@sc0Vu Hi Peter, thank you for opening this issue. The existing top 10 was put together after studying data sets from multiple sources. Oracle manipulation attacks are definelty on the rise. As such, I agree that this should be included in this repo.

Let me figure out how to incorporate this attack here and get back to you. We will probably add this under a new "Other vulnerabilities" or a similar section until we can release a new version of this list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants