Repository navigation
test(fuzz): add fuzz targets for secret transforms and data hashing - #340
Conversation
Signed-off-by: BryanFRD <bryanferrando59@gmail.com>
Signed-off-by: BryanFRD <bryanferrando59@gmail.com>
Signed-off-by: BryanFRD <bryanferrando59@gmail.com>
|
Changes requested: Blocking
Suggestions
Rest of the changeThe review found the Rust Formal verificationThe formal verification step failed and returned no result, so nothing was verified formally. |
There was a problem hiding this comment.
Still blocking: c0b956a only touches the workflow pin; the key == "OTHER" false positive in FuzzApplyTransforms (line 31) is not addressed yet.
|
Changes requested: This is a follow-up review of c0b956a. Only the Blocking
Suggestions
Formal verificationThe formal verification step failed and returned no result, so nothing is verified there. It is not a finding against the PR. |
Signed-off-by: BryanFRD <bryanferrando59@gmail.com>
There was a problem hiding this comment.
Approve: 29cbe9f fixes the key == "OTHER" false positive; nothing blocking left.
|
Ready to merge. The review approved at 29cbe9f with no open findings. Formal verification did not run: that step failed and returned no result. Review
Formal verification
The fuzz workflow ( |
Go native fuzz targets plus a nightly workflow (300s per target, manual dispatch too, not on PRs).
FuzzApplyTransforms: all transform kinds on arbitrary keys/values. Asserts the input map is never mutated, errors are*TransformError, results are deterministic, prefix/suffix/base64Decode keep their values.FuzzHashSecretData: the content hash must not depend on map construction order.Also fixes a panic found while reading the CLI:
parse_pinsliced a 64-byte non-ASCII pin mid-character inhex_decode. Separate commit with a regression test.Ran locally: FuzzApplyTransforms 66s (394k execs), FuzzHashSecretData 62s (1.0M execs), no failures.
go test ./internal/...,cargo test,cargo clippy -D warningspass.CONTRIBUTING requires an issue reference; none exists for this change.