mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-08 13:52:58 +00:00
feat: add fuzz testing harnesses and fix crash in nostrEventSchemas
- Expand fuzzing coverage for `js/nostrEventSchemas.js` to include all builder functions. - Fix a crash in `buildAdminListEvent` where non-array `hexPubkeys` caused a TypeError. - Update `scripts/agent/fuzz-dmDecryptor.mjs` and `scripts/agent/fuzz-magnetUtils.mjs` iterations. - Add reproducer for the `buildAdminListEvent` crash. - Generate fuzz reports in `artifacts/`. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
8e2e641e07
commit
9f67b9e06b
5 files changed
+135
-12
No files matched your search
@@ -69,7 +69,7 @@ async function fuzzTest(iteration) {
|
||||
return { event, context };
|
||||
}
|
||||
|
||||
runFuzzer("dmDecryptor", 5000, fuzzTest)
|
||||
runFuzzer("dmDecryptor", 10000, fuzzTest)
|
||||
.catch(err => {
|
||||
console.error("Fatal fuzzer error:", err);
|
||||
process.exit(1);
|
||||
|
||||
Reference in new issue
Block a user