Skip to content

Conversation

@reyhankoyun
Copy link
Contributor

@reyhankoyun reyhankoyun commented Nov 26, 2025

Issue #, if available:

Description of changes:
Implements cargo-fuzz based fuzzing for security-critical components:

  • Query parser (URL and path-based request parsing)
  • Token validator (SSRF token validation and file:// handling)

Changes:

  • Add fuzz/ directory with two fuzz targets
  • Add GitHub Actions workflow to run fuzz tests on PRs (2 min per target)
  • Expose internal types via lib.rs for fuzzing
  • Add fuzz/README.md with usage instructions
  • Update main README with fuzz testing section

The fuzz tests run automatically on every PR to catch parsing vulnerabilities, edge cases, and potential crashes before they reach production.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Implements cargo-fuzz based fuzzing for security-critical components:
- Query parser (URL and path-based request parsing)
- Token validator (SSRF token validation and file:// handling)

Changes:
- Add fuzz/ directory with two fuzz targets
- Add GitHub Actions workflow to run fuzz tests on PRs (2 min per target)
- Expose internal types via lib.rs for fuzzing
- Add fuzz/README.md with usage instructions
- Update main README with fuzz testing section

The fuzz tests run automatically on every PR to catch parsing vulnerabilities,
edge cases, and potential crashes before they reach production.
@reyhankoyun reyhankoyun requested a review from a team as a code owner November 26, 2025 00:32
@reyhankoyun reyhankoyun added the safe-to-test Maintainer approval to run integration tests for external contributor PRs. label Nov 26, 2025
@github-actions github-actions bot removed the safe-to-test Maintainer approval to run integration tests for external contributor PRs. label Nov 26, 2025
@reyhankoyun reyhankoyun added the safe-to-test Maintainer approval to run integration tests for external contributor PRs. label Nov 26, 2025
@github-actions github-actions bot removed the safe-to-test Maintainer approval to run integration tests for external contributor PRs. label Nov 26, 2025
@codecov
Copy link

codecov bot commented Nov 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.88%. Comparing base (8554c56) to head (69743f0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #150   +/-   ##
=======================================
  Coverage   91.88%   91.88%           
=======================================
  Files          14       14           
  Lines        2404     2404           
  Branches     2404     2404           
=======================================
  Hits         2209     2209           
  Misses        147      147           
  Partials       48       48           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant