Skip to content

Commit b60ffb2

Browse files
author
Yasir Abdulsalam
committed
test: add property-based fuzz coverage for Zod validators
- Add fuzz tests for all Zod schemas in invoices.ts, bids.ts, settlements.ts, shared.ts - Use fast-check to generate malformed payloads: unicode, very large ints, NaN/Infinity - Test prototype-pollution attempts (__proto__, constructor) cannot mutate output - Assert validators never throw unhandled errors on any input - Covers all exported schemas with 100% test pass rate (31/31 tests pass) - Security-checklist.md already has comprehensive fuzz strategy documentation (Section 12) Closes #2356
1 parent 3b74658 commit b60ffb2

2 files changed

Lines changed: 480 additions & 91 deletions

File tree

0 commit comments

Comments
 (0)