Repository navigation
test(vis): fuzz untrusted lockfile parsers - #32
Conversation
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
|
Thank you for following the naming conventions! 🙏 |
commit: |
Merging this PR will not alter performance
|
Summary
Adds a seeded mutation test for the untrusted-input lockfile parsers behind `lockedPackagesForEcosystem`. Each run takes a valid sample for a lockfile format, mutates it 300 times, and asserts the parser never throws and returns entries with non-empty string names and versions.
Covered formats: Cargo.lock / poetry.lock / uv.lock (TOML), Gemfile.lock, go.sum, mix.lock, pubspec.lock, composer.lock, Pipfile.lock, packages.lock.json, Package.resolved, pom.xml, and gradle.lockfile (Maven).
Design
Limits
Test plan
🤖 Generated with Claude Code