{"id":29089663,"url":"https://github.com/openzeppelin/ctf-2024","last_synced_at":"2025-06-28T04:04:24.926Z","repository":{"id":228345636,"uuid":"773726874","full_name":"OpenZeppelin/ctf-2024","owner":"OpenZeppelin","description":"⚡️ Ethernaut CTF 2024 Challenges \u0026 Solutions","archived":false,"fork":false,"pushed_at":"2024-03-18T14:31:09.000Z","size":7935,"stargazers_count":45,"open_issues_count":0,"forks_count":8,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-03-19T11:09:11.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ctf.openzeppelin.com/","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/OpenZeppelin.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}},"created_at":"2024-03-18T09:40:24.000Z","updated_at":"2024-03-19T07:08:15.000Z","dependencies_parsed_at":"2024-03-18T11:19:35.121Z","dependency_job_id":null,"html_url":"https://github.com/OpenZeppelin/ctf-2024","commit_stats":null,"previous_names":["openzeppelin/ctf-2024"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OpenZeppelin/ctf-2024","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenZeppelin%2Fctf-2024","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenZeppelin%2Fctf-2024/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenZeppelin%2Fctf-2024/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenZeppelin%2Fctf-2024/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenZeppelin","download_url":"https://codeload.github.com/OpenZeppelin/ctf-2024/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenZeppelin%2Fctf-2024/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262371684,"owners_count":23300595,"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":"2025-06-28T04:04:21.036Z","updated_at":"2025-06-28T04:04:24.901Z","avatar_url":"https://github.com/OpenZeppelin.png","language":"Solidity","readme":"# Ethernaut CTF 2024\n\nHere you can find the challenges for the Ethernaut CTF 2024 with their respective solutions. The challenges ran on top of a custom kCTF infrastructure, which you can find [here](https://github.com/OpenZeppelin/ctf-infra).\n\n### How to run challenges locally\n1. Git clone the [ctf-infra](https://github.com/OpenZeppelin/ctf-infra) repository, cd into `paradigmctf.py` and run `docker-compose up -d` to start the infrastructure.\n2. Git clone this repo, cd into `\u003cchallenge_name\u003e/challenge` and run `docker-compose up -d` to start the challenge server.\n3. You can now access the challenge server at `localhost:1337`, for example: `nc localhost 1337`.\n\n# Challenges\n\nChallenges are listed in alphabetical order with the final number of solves and points.\n\n## Alien Spaceship\nby steventhornton / 349 points / 37 solves\n\n**Description**:\n\nYou have hacked into an alien spaceship and stolen the bytecode that controls their spaceship. They are on a mission to attack your home planet. Luckily for you their spaceship runs on the EVM. Take over control of their spaceship and successfully `abortMission`.\n\n[Solution](alienspaceship/README.md) and [solve script](alienspaceship/challenge/project/script/Solve.s.sol)\n\n## beef\nby [cairoeth](https://twitter.com/cairoeth) / 485 points / 6 solves\n\n**Description**:\n\nMy favorite project airdropped some tokens, but I didn't get any. Can you help me burn all of the supply? \u003e:)\n\n[Solution](beef/README.md) and [solve script](beef/challenge/project/script/Solve.s.sol)\n\n## Dutch\nby [cairoeth](https://twitter.com/cairoeth) / 289 points / 48 solves\n\n**Description**:\n\nDutch auctions are great for NFTs. Can you become the highest bidder?\n\n[Solution](dutch/README.md) and [solve script](dutch/challenge/project/script/Solve.s.sol)\n\n## Dutch 2\nby [cairoeth](https://twitter.com/cairoeth) / 453 points / 15 solves\n\n**Description**:\n\nLooks like someone is auctioning a lot of tokens, but they are encrypted. Might be a good idea to bid...\n\n[Solution](dutch-2/README.md) and [solve script](dutch-2/challenge/project/script/Solve.s.sol)\n\n## Greedy Sad Man\nby [ericnordelo](https://twitter.com/ericng39) / 428 points / 21 solves\n\n**Description**:\n\nA very greedy and sad man is accepting donations in order to reduce his sadness. Everyone deserves happiness. Will you be able to make him happy?\n\n[Solution](greedy-sad-man/README.md) and [solve script](greedy-sad-man/challenge/project/solve.py)\n\n## Space Bank\nby [pedroais2](https://twitter.com/Pedroais2) / 204 points / 64 solves\n\n**Description**:\n\nThe formidable Space Bank is known for its stringent security systems and vast reserves of space tokens (Galactic credits). Outsmart two state-of-the-art alarms, steal the tokens, and then detonate the bank to claim victory.\n\n[Solution](spacebank/README.md) and [solve script](spacebank/challenge/project/script/Solve.s.sol)\n\n## start.exe\nby [cairoeth](https://twitter.com/cairoeth) / 10 points / 298 solves\n\n**Description**:\n\nThis transaction seems to be the start of something big. Can you figure out what it is? https://sepolia.etherscan.io/tx/0x73fcb6eec33280c39a696b8db0f7b3f71f789c28ef722e0c716f9c8cef6aa040\n\n[Solution](start.exe/README.md)\n\n## Wombo Combo\nby [cairoeth](https://twitter.com/cairoeth) / 295 points / 47 solves\n\n**Description**:\n\nYou should stake your tokens to get more tokens!\n\n[Solution](wombocombo/README.md) and [solve script](wombocombo/challenge/project/script/Solve.s.sol)\n\n## XYZ\nby [cairoeth](https://twitter.com/cairoeth) / 449 points / 16 solves\n\n**Description**:\n\nXYZ: the most advanced algorithmic stablecoin that never depegs.\n\n[Solution](xyz/README.md) and [solve script](xyz/challenge/project/script/Solve.s.sol)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenzeppelin%2Fctf-2024","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenzeppelin%2Fctf-2024","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenzeppelin%2Fctf-2024/lists"}