Files
bitvid/examples/reproducers/issue-1769184336749-04htj2e5
google-labs-jules[bot]andPR0M3TH3AN 932e57c724 Fuzz testing and hardening for nostrEventSchemas and magnetUtils
- Added fuzzing scripts for nostrEventSchemas, dmDecryptor, and magnetUtils.
- Fixed crashes in nostrEventSchemas related to unsafe stringification of content.
- Fixed crash in magnetUtils when options argument is null.
- Added safeStringify helper in nostrEventSchemas.js.
- Included fuzzing reports and reproducers.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-23 16:12:42 +00:00
..

To run:

node --import ../../../tests/test-helpers/setup-localstorage.mjs repro.mjs

Error: Cannot convert object to primitive value Stack: TypeError: Cannot convert object to primitive value at String () at buildHashtagPreferenceEvent (file:///app/js/nostrEventSchemas.js:2249:54) at fuzzFunction (file:///app/scripts/agent/fuzz-nostrEventSchemas.mjs:210:14) at file:///app/scripts/agent/fuzz-nostrEventSchemas.mjs:244:3