Skip to content

chore: fuzzing manual test#59

Merged
mcollina merged 7 commits intomainfrom
jazz
Feb 2, 2026
Merged

chore: fuzzing manual test#59
mcollina merged 7 commits intomainfrom
jazz

Conversation

@Eomm
Copy link
Copy Markdown
Member

@Eomm Eomm commented Nov 16, 2025

Closes #57

This PR is an experiment and it shows how we could run some fuzzing test against some core module.

Fuzzing tests a program by feeding it large amounts of unexpected, random, or malformed input to expose crashes, vulnerabilities, and logic errors.

Example of the input we process here:

image

Example of the output:

image

Given these simple tests I can say:

  • there are not memory leak in this module, or the rss memory would grow (tested with an old version of momentjs)
  • the module handle the input in max 100ms (see the --timeout arg): so no open to DoS nor Unexpected Errors

If we want merge this PR, the npm scripts must be ON, otherwise the jazzer tool won't work.

cc @Fdawgs

Comment thread package.json Outdated
Eomm added 2 commits January 17, 2026 17:11
Signed-off-by: Manuel Spigolon <manuel.spigolon@nearform.com>
Signed-off-by: Manuel Spigolon <manuel.spigolon@nearform.com>
Comment thread benchmarks/fuzzer-check-errors.js
Comment thread benchmarks/fuzzer-check-performance.js
Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Signed-off-by: Frazer Smith <frazer.dev@icloud.com>
Signed-off-by: Frazer Smith <frazer.dev@icloud.com>
@mcollina mcollina merged commit 35a55e8 into main Feb 2, 2026
23 checks passed
@Fdawgs Fdawgs deleted the jazz branch February 3, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test with fuzzing

4 participants