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:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-01-28 16:27:36 +00:00
1 parent 8e2e641e07
commit 9f67b9e06b
5 files changed
+135 -12

No files matched your search

+1 -1
View File
@@ -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);