{"id":13718693,"url":"https://github.com/paradigmxyz/paradigm-ctf-2022","last_synced_at":"2025-08-15T17:09:52.303Z","repository":{"id":59433966,"uuid":"537248665","full_name":"paradigmxyz/paradigm-ctf-2022","owner":"paradigmxyz","description":"Puzzles used in the 2022 Paradigm CTF","archived":false,"fork":false,"pushed_at":"2022-09-16T01:34:01.000Z","size":37615,"stargazers_count":390,"open_issues_count":0,"forks_count":50,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-19T08:11:27.357Z","etag":null,"topics":["blockchain","crypto","ctf","ethereum","evm","security","solidity"],"latest_commit_sha":null,"homepage":"https://ctf.paradigm.xyz","language":"Rust","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/paradigmxyz.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}},"created_at":"2022-09-16T00:21:18.000Z","updated_at":"2025-04-25T16:34:05.000Z","dependencies_parsed_at":"2022-09-17T06:11:36.969Z","dependency_job_id":null,"html_url":"https://github.com/paradigmxyz/paradigm-ctf-2022","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/paradigmxyz/paradigm-ctf-2022","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradigmxyz%2Fparadigm-ctf-2022","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradigmxyz%2Fparadigm-ctf-2022/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradigmxyz%2Fparadigm-ctf-2022/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradigmxyz%2Fparadigm-ctf-2022/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paradigmxyz","download_url":"https://codeload.github.com/paradigmxyz/paradigm-ctf-2022/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradigmxyz%2Fparadigm-ctf-2022/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270602456,"owners_count":24614260,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["blockchain","crypto","ctf","ethereum","evm","security","solidity"],"created_at":"2024-08-03T01:00:36.058Z","updated_at":"2025-08-15T17:09:52.274Z","avatar_url":"https://github.com/paradigmxyz.png","language":"Rust","funding_links":[],"categories":["CTFs and Wargames"],"sub_categories":["CTFs"],"readme":"# Paradigm CTF 2022\r\n\r\n## Installing\r\n\r\n### Prerequisites\r\n\r\n* Docker\r\n* [mpwn](https://github.com/lunixbochs/mpwn)\r\n* Python 3\r\n\r\n### Configuration\r\n\r\nYou'll need to set the following environment variables:\r\n* `ETH_RPC_URL` to a valid Ethereum JSON-RPC endpoint\r\n* `PYTHONPATH` to point to mpwn\r\n\r\nYou'll also need to manually install the following:\r\n* `pip install yaml ecdsa pysha3 web3 cairo-lang`\r\n\r\n## Usage\r\n\r\n### Build everything\r\n\r\n```bash\r\n./build.sh\r\n```\r\n\r\n### Run a challenge\r\n\r\nRunning a challenge will open a port which users will `nc` to. For Ethereum/Starknet related\r\nchallenges, an additional port must be supplied so that users can connect to the Ethereum/Starknet\r\nnode\r\n\r\n```\r\n./run.sh random 31337 8545\r\n```\r\n\r\nOn another terminal:\r\n\r\n```\r\nnc localhost 31337\r\n```\r\n\r\nWhen prompted for the ticket, use any value\r\n\r\n```\r\n$ nc localhost 31337\r\n1 - launch new instance\r\n2 - kill instance\r\n3 - get flag\r\naction? 1\r\nticket please: ticket\r\n\r\nyour private blockchain has been deployed\r\nit will automatically terminate in 30 minutes\r\nhere's some useful information\r\n```\r\n\r\n### Running the autosolver\r\n\r\n```bash\r\n./solve.sh\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparadigmxyz%2Fparadigm-ctf-2022","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparadigmxyz%2Fparadigm-ctf-2022","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparadigmxyz%2Fparadigm-ctf-2022/lists"}