Files
bitvid/examples/reproducers
google-labs-jules[bot]andPR0M3TH3AN 9f67b9e06b 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]>
2026-01-28 16:27:36 +00:00
..

Fuzz Testing Reproducers

This directory contains reproducers for crashes found during fuzz testing. These files contain the input that caused a crash and the error message.

How to run

The reproducers are JSON files. To re-run a specific case, you can use the fuzz harness and load the JSON input, or manually import the function and call it with the input.

Example structure:

{
  "target": "functionName",
  "input": { ... },
  "error": { ... }
}

Known Issues

  • buildVideoPostEvent crashes on circular objects if not handled (Fixed).
  • normalizeAndAugmentMagnet crashes on non-iterable extraTrackers (Fixed).
  • build... functions crash on null/undefined input (Fixed).