Skip to content

[VRP] Mark testcases as untrusted if generated by untrusted fuzzers - #5330

Open
PauloVLB wants to merge 1 commit into
vrp-untrusted-fuzzer-safetyfrom
vrp-untrusted-testcases-from-fuzzers
Open

[VRP] Mark testcases as untrusted if generated by untrusted fuzzers#5330
PauloVLB wants to merge 1 commit into
vrp-untrusted-fuzzer-safetyfrom
vrp-untrusted-testcases-from-fuzzers

Conversation

@PauloVLB

@PauloVLB PauloVLB commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Problem

Testcases generated by untrusted fuzzers should also be treated as untrusted. Currently, they inherit default trust settings, which could lead to them being executed in insecure environments or synced incorrectly.

Proposed Solution

Propagate the trust status from the Fuzzer to the generated Testcase.
In fuzz_task.py, we now check the trusted field of the generating fuzzer. If the fuzzer is untrusted (trusted=False), the resulting testcase is also marked as trusted=False.

Chaining Note

Chained on top of vrp-untrusted-fuzzer-safety (which uses trusted field instead of untrusted).

Testing

Added unit tests in fuzz_task_test.py to verify both trusted and untrusted fuzzer scenarios.

Validation

Due to the difficulty of testing this in the dev environment (which would require a fuzzer to generate a testcase) and the lack of real untrusted fuzzers in production, this will be tested in the production environment.

@PauloVLB PauloVLB changed the title [VRP] Untrusted testcases from fuzzers [VRP] Mark testcases as untrusted if generated by untrusted fuzzers Jun 17, 2026
@PauloVLB
PauloVLB force-pushed the vrp-untrusted-testcases-from-fuzzers branch 4 times, most recently from 980a389 to e46384a Compare July 16, 2026 20:34
@PauloVLB
PauloVLB changed the base branch from master to vrp-untrusted-fuzzer-safety July 16, 2026 20:38
@PauloVLB
PauloVLB force-pushed the vrp-untrusted-testcases-from-fuzzers branch from e46384a to 29cebfd Compare July 16, 2026 20:54
@PauloVLB
PauloVLB force-pushed the vrp-untrusted-testcases-from-fuzzers branch from 29cebfd to d37c251 Compare August 10, 2026 13:57
@PauloVLB
PauloVLB marked this pull request as ready for review August 10, 2026 14:01
@PauloVLB
PauloVLB requested a review from a team as a code owner August 10, 2026 14:01
Comment thread src/clusterfuzz/_internal/bot/tasks/utasks/fuzz_task.py Outdated
Comment thread src/clusterfuzz/_internal/bot/tasks/utasks/fuzz_task.py Outdated
@PauloVLB
PauloVLB force-pushed the vrp-untrusted-testcases-from-fuzzers branch from d37c251 to 77191fb Compare August 10, 2026 16:19
@PauloVLB
PauloVLB force-pushed the vrp-untrusted-testcases-from-fuzzers branch from 77191fb to afb4d58 Compare August 11, 2026 14:24
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.

2 participants