{"id":15924004,"url":"https://github.com/parithosh/ansible-beaconfuzz-runner","last_synced_at":"2026-05-02T03:32:13.750Z","repository":{"id":56349727,"uuid":"300639876","full_name":"parithosh/ansible-beaconfuzz-runner","owner":"parithosh","description":"Ansible playbooks to setup and run the beaconfuzzer","archived":false,"fork":false,"pushed_at":"2021-03-18T09:07:37.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T12:52:52.280Z","etag":null,"topics":["ansible","devops","ethereum","fuzzing"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parithosh.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}},"created_at":"2020-10-02T14:25:44.000Z","updated_at":"2021-03-18T09:07:40.000Z","dependencies_parsed_at":"2022-08-15T17:10:09.358Z","dependency_job_id":null,"html_url":"https://github.com/parithosh/ansible-beaconfuzz-runner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/parithosh/ansible-beaconfuzz-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parithosh%2Fansible-beaconfuzz-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parithosh%2Fansible-beaconfuzz-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parithosh%2Fansible-beaconfuzz-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parithosh%2Fansible-beaconfuzz-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parithosh","download_url":"https://codeload.github.com/parithosh/ansible-beaconfuzz-runner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parithosh%2Fansible-beaconfuzz-runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["ansible","devops","ethereum","fuzzing"],"created_at":"2024-10-06T21:03:42.939Z","updated_at":"2026-05-02T03:32:13.727Z","avatar_url":"https://github.com/parithosh.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible for beacon-fuzz \n\n [![Forks](https://img.shields.io/github/forks/parithosh/ansible-beaconfuzz-runner)](https://github.com/parithosh/ansible-beaconfuzz-runner/network/members)\n [![Stars](https://img.shields.io/github/stars/parithosh/ansible-beaconfuzz-runner)](https://github.com/parithosh/ansible-beaconfuzz-runner/stargazers)\n [![License: AGPL v3](https://img.shields.io/github/license/parithosh/ansible-beaconfuzz-runner)](https://github.com/parithosh/ansible-beaconfuzz-runner/blob/main/LICENSE)\n  \nBeacon-fuzz is an open sourced fuzzing framework for the Ethereum 2.0 Phase 0 implementation. The original\nbeacon-fuzz repository can be found [here](https://github.com/sigp/beacon-fuzz). \n\nThis repository contains the ansible playbooks that can be used to perform the following actions:\n- Start a fuzzer on a remote machine\n- Stop a fuzzer on a remote machine\n- Fetch the fuzzing artifacts from a remote machine\n\n## Requirements: \n- A machine with ansible installed\n- A remote machine or VM on which the fuzzing will be performed, ideally Ubuntu or Debian (Note: this project has been tested on Debian GNU/Linux 10)\n\n## Setup:\n- Clone this repository and navigate the terminal to the directory\n- Install the ansible posix collection \"ansible-galaxy collection install ansible.posix\"\n- Open the `inventory.ini` file and enter the information as described\n- Run the desired playbook with `ansible-playbook playbooks/\u003cname-of-playbook-here\u003e.yml`\n- The fuzzing will be started inside a `screen` on the remote machine\n- If needed, observe the performance/logs by SSH-ing into to the remote machine and using `sudo screen -r` \n\n## Caveats: \n- The docker socket is often inaccessible on newly provisioned VMs to regular users. For the sake of simplicity, this\nplaybook uses the `root` user to bypass this. If a more stable solution is required, then modify the `basic-dependencies` \nrole to create a user with access to the docker daemon. \n- The `screen` started by the playbook in which the fuzzer runs has been set to run under the `root` user. This has been\ndone to enable all `screen`s to run in one place. A potential future upgrade will use the fuzzing user method as \ndescribed in the previous `caveat`.\n- If multiple fuzzers are to be run on the same machine, then add multiple entries with the required configuration\nin the `inventory.ini` file. The playbook would then fail due to some processes failing to get a lock, to avoid this, set\nthe playbook to run in serial mode with `serial: 1` right after the `hosts:` line in the playbook.\n- The playbook `stop-all-fuzzers.yml` uses the `kill` command to stop all processes running in `screen`. However, it does \nso indiscriminately. It will stop all `screens` on the root user. Be warned of this behavior. \n- The `fetch-all-artefacts.yml` playbook creates and saves the artifacts in a folder in a folder called `fuzzing-artifacts`\n- The `fetch-all-artefacts.yml` playbook has only been tested on the `beaconfuzz_v2` fuzzer. The path to the `eth2fuzz`\nartefacts might be wrong and needs some attention to change it. Changes can be done via the `playbook/variables/folder-location.yaml`. \n\n## Future work: \n- Automate the whole process with `terraform` to provision infrastructure as well\n- Test the `fetch-all-artefacts.yml` playbook to check if the locations of the fuzzing artifacts are correct\n- Create a user on the remote machine purely for fuzzing\n- Create a playbook that randomly runs a fuzzer without any configuration being specified \n- Create a playbook for updating an existing fuzzer\n\n## Contributors welcome!\n\nIf you like my work, feel free to buy me a beer.\n\nEthereum address: 0x2628562A4fd5762D52CF43DE21bB925174C33085 ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparithosh%2Fansible-beaconfuzz-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparithosh%2Fansible-beaconfuzz-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparithosh%2Fansible-beaconfuzz-runner/lists"}