headlamp
headlamp copied to clipboard
fuzz testing / property testing
Currently we're not using fuzzing or property testing which is checked by the headlamp OpenSSF scorecard.
Fuzzing, or fuzz testing, is the practice of feeding unexpected or random data into a program to expose bugs. Regular fuzzing is important to detect vulnerabilities that may be exploited by others, especially since attackers can also use fuzzing to find the same flaws. -- https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#fuzzing
Additional information
It's especially useful on any code that parses inputs like network data or user provided content or arguments. During testing we might uncover areas which don't validate or parse input data at all.
Some tools
- https://go.dev/doc/security/fuzz/
- https://fast-check.dev/
- https://github.com/google/oss-fuzz