Download ExploitMorpho.sol from joekaw/morpho-critical-poc: direct link, hf CLI and curl.
- Browser
- Download file 534 Bytes
-
https://huggingface.co/joekaw/morpho-critical-poc/resolve/main/ExploitMorpho.sol
- Command line
-
hf download hf://joekaw/morpho-critical-poc/ExploitMorpho.sol
-
curl -L -o ExploitMorpho.sol https://huggingface.co/joekaw/morpho-critical-poc/resolve/main/ExploitMorpho.sol
534 Bytes
| // Testing oracle lag on Morpho Blue. | |
| // If the fixed rate doesn't update, we can just arb it. | |
| // Need to check why this vault doesn't handle the tick spread correctly. | |
| contract ExploitMorpho { | |
| address constant MORPHO = 0xBBBBBbbBBb9cC5e90e7b3Af60BDf0224d08b3400; | |
| function pwn() external { | |
| // Just messing around with the storage slots | |
| // Found this while testing the oracle lag. | |
| // Seems like a direct drift. | |
| assembly { | |
| // ... (logika exploit lu disini) | |
| } | |
| } | |
| } | |