{"id":18928878,"url":"https://github.com/lightninglabs/lnd-fuzz","last_synced_at":"2025-04-15T14:31:50.205Z","repository":{"id":143193959,"uuid":"615092079","full_name":"lightninglabs/lnd-fuzz","owner":"lightninglabs","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-03T20:27:48.000Z","size":28275,"stargazers_count":4,"open_issues_count":7,"forks_count":5,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-03-28T22:34:46.729Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/lightninglabs.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}},"created_at":"2023-03-16T23:55:20.000Z","updated_at":"2025-01-03T20:27:52.000Z","dependencies_parsed_at":"2025-01-03T17:29:37.550Z","dependency_job_id":null,"html_url":"https://github.com/lightninglabs/lnd-fuzz","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/lightninglabs%2Flnd-fuzz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightninglabs%2Flnd-fuzz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightninglabs%2Flnd-fuzz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightninglabs%2Flnd-fuzz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightninglabs","download_url":"https://codeload.github.com/lightninglabs/lnd-fuzz/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249088808,"owners_count":21210866,"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":"2024-11-08T11:28:30.843Z","updated_at":"2025-04-15T14:31:45.192Z","avatar_url":"https://github.com/lightninglabs.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LND Fuzz\n\nFuzzing seeds for the [Lightning Network\nDaemon](https://github.com/lightningnetwork/lnd).\n\n## Contributing\n\nIf you find coverage-increasing inputs while fuzzing LND, please create a pull\nrequest adding them to this repository. Use the `corpus_merge.sh` script to only\nadd inputs that increase coverage.\n\n### Example\n\nHere's an example workflow to contribute new inputs for the lnwire\n`FuzzAcceptChannel` target. We'll assume the `lnd` and `lnd-fuzz` repositories\nare checked out in the current directory.\n\nFirst create a directory for corpus inputs to be saved in. Use the `lnd-fuzz`\ncorpus to seed the new corpus, and begin fuzzing:\n\n```shell\nexport ROOT=$(pwd)\nmkdir lnwire_corpus\ncp -r lnd-fuzz/lnwire/testdata/fuzz/FuzzAcceptChannel lnwire_corpus/\ncd lnd/lnwire\ngo test -fuzz=FuzzAcceptChannel -parallel=4 -test.fuzzcachedir=\"$ROOT/lnwire_corpus\"\n```\n\nAfter some time, the fuzzer may find some potential coverage-increasing inputs\nand save them to `lnwire_corpus/FuzzAcceptChannel/`. We can then merge them into\nthe `lnd-fuzz` corpus:\n\n```shell\ncd $ROOT\nlnd-fuzz/corpus_merge.sh lnd-fuzz/lnwire/testdata/fuzz/FuzzAcceptChannel \\\n    lnwire_corpus/FuzzAcceptChannel lnd/lnwire FuzzAcceptChannel\n```\n\nAny inputs in `lnwire_corpus/FuzzAcceptChannel` that increase coverage over the\nexisting `lnd-fuzz` corpus will be copied over. If new inputs were added, create\na pull request to improve the upstream seed corpus:\n\n```shell\ncd lnd-fuzz\ngit add lnwire/testdata/fuzz/FuzzAcceptChannel/*\ngit commit\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightninglabs%2Flnd-fuzz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightninglabs%2Flnd-fuzz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightninglabs%2Flnd-fuzz/lists"}