Skip to content

fuzz: add cross-domain order-independence target#819

Merged
EffortlessSteven merged 1 commit into
mainfrom
codex/improve-fuzzing-techniques-n1jl7q
May 19, 2026
Merged

fuzz: add cross-domain order-independence target#819
EffortlessSteven merged 1 commit into
mainfrom
codex/improve-fuzzing-techniques-n1jl7q

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Motivation

  • Strengthen fuzz coverage for the core invariant that deterministic derivation is order-independent across different artifact domains (RSA, OpenPGP, X.509).
  • Detect cross-domain perturbations where generating one kind of fixture might inadvertently change another due to shared state or derivation errors.

Description

  • Add a new fuzz target fuzz/fuzz_targets/fuzz_order_independent_identity.rs that generates RSA, OpenPGP, and X.509 artifacts from the same Seed and asserts snapshots are identical when produced in forward vs reverse order.
  • Introduce bounded input checks (label and CN length caps and non-empty subject_cn) to keep fuzz execution bounded and avoid pathological allocations.
  • Register the new target in fuzz/Cargo.toml so it is discoverable by cargo fuzz.

Testing

  • Ran cargo check --manifest-path fuzz/Cargo.toml which completed successfully and built the fuzz workspace in the dev profile.

Codex Task

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented May 18, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@EffortlessSteven has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 31 minutes and 6 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 6f3a2649-fbe3-4d9e-963e-c918049a25e2

📥 Commits

Reviewing files that changed from the base of the PR and between 77f9f0b and 8b13f66.

📒 Files selected for processing (2)
  • fuzz/Cargo.toml
  • fuzz/fuzz_targets/fuzz_order_independent_identity.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/improve-fuzzing-techniques-n1jl7q

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@EffortlessSteven EffortlessSteven merged commit 07777a0 into main May 19, 2026
5 checks passed
@EffortlessSteven EffortlessSteven deleted the codex/improve-fuzzing-techniques-n1jl7q branch May 19, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant