{"id":13718632,"url":"https://github.com/FuzzingLabs/cairo-fuzzer","last_synced_at":"2025-05-07T10:33:26.927Z","repository":{"id":73773102,"uuid":"569652616","full_name":"FuzzingLabs/cairo-fuzzer","owner":"FuzzingLabs","description":"Cairo/Starknet smart contract fuzzer","archived":false,"fork":false,"pushed_at":"2025-04-22T15:09:17.000Z","size":2737,"stargazers_count":122,"open_issues_count":6,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-22T16:29:16.127Z","etag":null,"topics":["cairo","cairo-lang","fuzzer","fuzzing","starknet"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FuzzingLabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2022-11-23T10:11:13.000Z","updated_at":"2025-04-22T15:09:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"54695014-cc2f-4367-94be-ca3f579b6a62","html_url":"https://github.com/FuzzingLabs/cairo-fuzzer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuzzingLabs%2Fcairo-fuzzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuzzingLabs%2Fcairo-fuzzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuzzingLabs%2Fcairo-fuzzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuzzingLabs%2Fcairo-fuzzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FuzzingLabs","download_url":"https://codeload.github.com/FuzzingLabs/cairo-fuzzer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252859949,"owners_count":21815435,"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":["cairo","cairo-lang","fuzzer","fuzzing","starknet"],"created_at":"2024-08-03T01:00:34.850Z","updated_at":"2025-05-07T10:33:26.918Z","avatar_url":"https://github.com/FuzzingLabs.png","language":"Rust","funding_links":[],"categories":["Tools"],"sub_categories":[],"readme":"# Cairo-Fuzzer -- Cairo Smart Contract Fuzzer\n\n\u003e [!IMPORTANT]  \n\u003e This repository is no longer maintained. If you have any questions or need further assistance, please contact [FuzzingLabs](https://fuzzinglabs.com/).\n\nRelease version 1.2\nDevelopped and maintained by [@FuzzingLabs](https://github.com/FuzzingLabs)\n\n## Description:\n\nCairo-fuzzer is a tool designed for smart contract developers to test the security. It can be used as an independent tool or as a library.\n\n## Features:\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"cairo-fuzzer.png\"/\u003e\n\u003c/p\u003e\n\n- Run Starknet contract\n- Replayer of fuzzing corpus\n- Minimizer of fuzzing corpus\n- Load old corpus\n- Handle multiple arguments\n- Workspace architecture\n- Import dictionnary\n- Use Cairo-fuzzer as a library\n\n\n## Usage:\n```\n\tcargo run --release -- --cores 10 --contract ./tests1.0/fuzzinglabs.json --casm ./tests1.0/fuzzinglabs.casm --function \"Fuzz_symbolic_execution\"\n\n```\n\nFor more usage information, follow our [tutorial](docs/TUTO101.md)\n\n## CMDLINE (--help):\n\n```\nUsage: cairo-fuzzer [OPTIONS]\n\nOptions:\n      --cores \u003cCORES\u003e              Set the number of threads to run [default: 1]\n      --contract \u003cCONTRACT\u003e        Set the path of the JSON artifact to load [default: ]\n      --casm \u003cCASM\u003e                Set the path of the JSON CASM artifact to load [default: ]\n      --function \u003cFUNCTION\u003e        Set the function to fuzz [default: ]\n      --workspace \u003cWORKSPACE\u003e      Workspace of the fuzzer [default: fuzzer_workspace]\n      --inputfolder \u003cINPUTFOLDER\u003e  Path to the inputs folder to load [default: ]\n      --crashfolder \u003cCRASHFOLDER\u003e  Path to the crashes folder to load [default: ]\n      --inputfile \u003cINPUTFILE\u003e      Path to the inputs file to load [default: ]\n      --crashfile \u003cCRASHFILE\u003e      Path to the crashes file to load [default: ]\n      --dict \u003cDICT\u003e                Path to the dictionnary file to load [default: ]\n      --logs                       Enable fuzzer logs in file\n      --seed \u003cSEED\u003e                Set a custom seed (only applicable for 1 core run)\n      --run-time \u003cRUN_TIME\u003e        Number of seconds this fuzzing session will last\n      --config \u003cCONFIG\u003e            Load config file\n      --replay                     Replay the corpus folder\n      --minimizer                  Minimize Corpora\n      --proptesting                Property Testing\n      --analyze                    Dump functions prototypes\n      --iter \u003cITER\u003e                Iteration Number [default: -1]\n  -h, --help                       Print help\n```\n\n# F.A.Q\n\n## How to find a Cairo/Starknet compilation artifact (json file)?\n\nCairo-Fuzzer supports starknet compilation artifact (json and casm files) generated after compilation using `starknet-compile` and `starknet-sierra-compile`.\nCairo-Fuzzer does not support Cairo2.0 and pure cairo contract.\n\n## How to run the tests?\n\n```\ncargo test\n```\n\n# License\n\nCairo-Fuzzer is licensed and distributed under the AGPLv3 license. [Contact us](mailto:contact@fuzzinglabs.com) if you're looking for an exception to the terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFuzzingLabs%2Fcairo-fuzzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFuzzingLabs%2Fcairo-fuzzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFuzzingLabs%2Fcairo-fuzzer/lists"}