earthstar icon indicating copy to clipboard operation
earthstar copied to clipboard

Fuzz testing

Open cinnamon-bun opened this issue 5 years ago • 2 comments

We should do some fuzz testing, especially:

  • ValidatorEs4
  • Crypto methods
  • IStorage's ingest method
  • Sync client code
  • The express route handlers in earthstar-pub which act as the sync server

Any recommendations for fuzz testing tools?

cinnamon-bun avatar Mar 26 '21 02:03 cinnamon-bun

https://gitlab.com/gitlab-org/security-products/analyzers/fuzzers/jsfuzz

cinnamon-bun avatar Mar 26 '21 02:03 cinnamon-bun

This is in progress now in https://github.com/earthstar-project/earthstar-fuzz

using fast-check property-based testing, and homegrown fuzz testing.

cinnamon-bun avatar Mar 30 '21 00:03 cinnamon-bun