{"id":17794301,"url":"https://github.com/pyk/inverse-exploit","last_synced_at":"2025-06-25T02:06:45.428Z","repository":{"id":71957447,"uuid":"477084991","full_name":"pyk/inverse-exploit","owner":"pyk","description":"Reproduce Inverse Finance exploit using Foundry","archived":false,"fork":false,"pushed_at":"2022-04-02T18:42:33.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T02:22:56.042Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-02T14:52:33.000Z","updated_at":"2022-11-13T02:38:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd87a53e-17a2-4458-baae-cbd66ae372b8","html_url":"https://github.com/pyk/inverse-exploit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pyk/inverse-exploit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyk%2Finverse-exploit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyk%2Finverse-exploit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyk%2Finverse-exploit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyk%2Finverse-exploit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyk","download_url":"https://codeload.github.com/pyk/inverse-exploit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyk%2Finverse-exploit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261789226,"owners_count":23209774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-27T11:15:48.189Z","updated_at":"2025-06-25T02:06:45.397Z","avatar_url":"https://github.com/pyk.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inverse Finance Exploit\n\nReproduce Inverse Finance exploit using Foundry.\n\nTo learn more about the exploit,you can read about it [here][1] and [here][2].\n\nI believe the exploiter have a good opsec before executing the attack.\n\n[1]: https://twitter.com/FrankResearcher/status/1510239094777032713?s=20\u0026t=-OoDI3sbMA2dvmHbr8XAkw\n[2]: https://twitter.com/euler_mab/status/1510243496015368193?s=20\u0026t=-OoDI3sbMA2dvmHbr8XAkw\n\n## Lessons Learned\n\nGud highlight from [@euler_mob][3]:\n\n1. Stop using thinly-traded illiquid assets as collateral!\n2. Arbitrage bots provide protection against manipulation only\n   if there is an arbitrage opportunity.\n3. Attackers may risk large amounts of stolen funds to fund attacks.\n\n[3]: https://twitter.com/euler_mab/status/1510243498804588544?s=20\u0026t=-OoDI3sbMA2dvmHbr8XAkw\n\n## Reproduce\n\nRun the following command to reproduce the exploit:\n\n    $ forge test --fork-block-number 14506359 --fork-url RPC_URL\n\nReplace the `RPC_URL` with Alchemy or any other RPC that support archival node.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyk%2Finverse-exploit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyk%2Finverse-exploit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyk%2Finverse-exploit/lists"}