{"id":37082000,"url":"https://github.com/tsundokul/pyradamsa","last_synced_at":"2026-01-14T09:59:57.221Z","repository":{"id":48832317,"uuid":"277460875","full_name":"tsundokul/pyradamsa","owner":"tsundokul","description":"Python bindings for calling radamsa mutators","archived":false,"fork":false,"pushed_at":"2021-10-07T18:57:56.000Z","size":10,"stargazers_count":26,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-03T13:25:11.161Z","etag":null,"topics":["fuzzing","security"],"latest_commit_sha":null,"homepage":"","language":"Python","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/tsundokul.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-07-06T06:30:10.000Z","updated_at":"2025-01-03T11:34:39.000Z","dependencies_parsed_at":"2022-09-23T22:40:17.681Z","dependency_job_id":null,"html_url":"https://github.com/tsundokul/pyradamsa","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tsundokul/pyradamsa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsundokul%2Fpyradamsa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsundokul%2Fpyradamsa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsundokul%2Fpyradamsa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsundokul%2Fpyradamsa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsundokul","download_url":"https://codeload.github.com/tsundokul/pyradamsa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsundokul%2Fpyradamsa/sbom","scorecard":{"id":901168,"data":{"date":"2025-08-11","repo":{"name":"github.com/tsundokul/pyradamsa","commit":"8d1fdb5c4cefff26fa24b68440110b9fb6558ee4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.2,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.1.1 not signed: https://api.github.com/repos/tsundokul/pyradamsa/releases/28555917","Warn: release artifact v0.1.0 not signed: https://api.github.com/repos/tsundokul/pyradamsa/releases/28242897","Warn: release artifact v0.1.1 does not have provenance: https://api.github.com/repos/tsundokul/pyradamsa/releases/28555917","Warn: release artifact v0.1.0 does not have provenance: https://api.github.com/repos/tsundokul/pyradamsa/releases/28242897"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2013-22 / GHSA-27x4-j476-jp5f","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: PYSEC-2022-43012 / GHSA-r9hx-vwmv-q579"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T15:37:55.172Z","repository_id":48832317,"created_at":"2025-08-24T15:37:55.172Z","updated_at":"2025-08-24T15:37:55.172Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28416470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fuzzing","security"],"created_at":"2026-01-14T09:59:56.552Z","updated_at":"2026-01-14T09:59:57.215Z","avatar_url":"https://github.com/tsundokul.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pyradamsa\n==========================\n\n`pyradamsa` provides an interface for calling libradamsa methods from within Python, allowing one to perform mutations on byte blocks (aka fuzzing). For more details see [radamsa](https://gitlab.com/akihe/radamsa) (a general-purpose fuzzer) and [libradamsa](https://github.com/andreafioraldi/libradamsa) (precompiled radamsa library).\n\n### NOTE\nThe master branch uses AFL++'s libradamsa. An alternative version created by [p1-olm](https://github.com/p1-olm) is available on [radamsa-upstream](https://github.com/tsundokul/pyradamsa/tree/radamsa-upstream) branch and is based on the [original](https://gitlab.com/akihe/radamsa) libradamsa upstream.\n\nHow is the `radamsa-upstream` different than the `master` version?\n- The owl VM initialization uses different seeds, so result are different when mutating same bytes with the same seed\n- Future updates from libradamsa creators will show up first in `radamsa-upstream`\n\n## Usage\n\nInstall the package using `pip` (or [build](#building) it from source)\n```bash\npip install pyradamsa\n```\n\nDo some fuzzing\n```python\nimport pyradamsa\n\nrad = pyradamsa.Radamsa()\n\nmydata = b'GET /auth?pass=HelloWorld HTTP1.1'\nfuzzed = rad.fuzz(mydata, seed=1337)\nprint(fuzzed)\n\n\u003e b'GET /auth?pass=HelloWorld HTTP\\xc0\\xb1.1'\n\n# seed is randomly set if not provided\nrad.fuzz(mydata)\n\u003e b'\\tG\\xf3\\xa0\\x81\\x9c\\xf7dLET \\xe2\\x81/aut\\xf3\\xa0\\x80\\xafHTTP2.rld HTTP2.rld HTTP3.2\\xe1\\xa0\\x8e9'\nrad.fuzz(mydata)\n\u003e b'GET /auth?pass=HelloWorld HTTP1.340282366920938463463374607431768211455'\netc.\n\n# enforce static seed on initialization\nrad = pyradamsa.Radamsa(seed=0)\n\n# max_mut enforces a maximum length for returned data\n# it defaults to (data length + an offset of 4096 bytes)\nfuzzed = rad.fuzz(mydata, seed=1337, max_mut=10)\n\u003e b'GET /auth?'\n\n# the offset may be overwritten on init\nrad = pyradamsa.Radamsa(mut_offset=2048)\n```\n\n## Building\nCurrently wheels are available for linux i686 and x86_64\n```sh\n# Clone the repo\ngit clone --recurse-submodules https://github.com/tsundokul/pyradamsa.git\ncd pyradamsa\n\n# patch memory leak when reinitializing owl vm\npatch libradamsa/libradamsa.c realloc.patch\n\n# OPTIONAL: when using manylinux (https://github.com/pypa/manylinux)\ndocker run --rm -it -v `pwd`:/io quay.io/pypa/manylinux2010_x86_64 /bin/bash\ncd /io \u0026\u0026 alias python='/opt/python/cp35-cp35m/bin/python3.5'\nexport PATH=\"/opt/python/cp35-cp35m/bin/:${PATH}\"\n\n# Install requirements\npython -m pip install -r requirements.txt\n\n# Build C extension (libradamsa.so)\npython setup.py build_ext\n\n# Run tests\n./run_tests\n\n# Build wheel\npython setup.py bdist_wheel\n```\n\n## Contributing\n* Fork the repo\n* Check out a feature or bug branch\n* Add your changes\n* Update README when needed\n* Submit a pull request to upstream repo\n* Add description of your changes\n* Ensure tests are passing\n* Ensure branch is mergeable\n\n_MIT License, 2020_ [@tim17d](https://twitter.com/tim17d)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsundokul%2Fpyradamsa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsundokul%2Fpyradamsa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsundokul%2Fpyradamsa/lists"}