mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
- Added `scripts/agent/fuzz-schemas.mjs`, `fuzz-dm.mjs`, `fuzz-magnet.mjs` and `fuzz-setup.mjs`. - Fixed crash in `js/nostrEventSchemas.js` (buildAdminListEvent log and getNostrEventSchema type check). - Added crash reproducers in `examples/reproducers/`. - Fuzzers output reports to `artifacts/`. - Updated fuzzers to deduplicate crashes and safely stringify inputs.
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
buildVideoPostEventcrashes on circular objects if not handled (Fixed).normalizeAndAugmentMagnetcrashes on non-iterableextraTrackers(Fixed).build...functions crash onnull/undefinedinput (Fixed).