Skip to content

[VRP] Ensure untrusted fuzzers do not fuzz in long-lived bots - #5323

Draft
PauloVLB wants to merge 8 commits into
masterfrom
vrp-untrusted-fuzzer-safety
Draft

[VRP] Ensure untrusted fuzzers do not fuzz in long-lived bots#5323
PauloVLB wants to merge 8 commits into
masterfrom
vrp-untrusted-fuzzer-safety

Conversation

@PauloVLB

@PauloVLB PauloVLB commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Problem

Untrusted fuzzers (e.g., external VRP fuzzers) shouldn't run on long-lived bots because they could be malicious or leak sensitive host info. They should only run in isolated, ephemeral environments like Google Cloud Batch.

Proposed Solution

Filter out fuzzers that aren't marked as trusted from being selected by long-lived bots in the task leasing logic.

Added runtime assertions (log_fatal_and_exit) to ensure that if a long-lived bot somehow ends up running an untrusted fuzzer, it will crash immediately before executing any code.

Chaining Note

This PR is chained on top of vrp-untrusted-fuzzer-ui which introduces the trusted field. Note that trusted defaults to True for now to maintain compatibility with existing fuzzers without requiring a backfill, but it will be flipped to False by default in a future update.

Testing

Validated by checking task assignment logic to confirm long-lived bots do not pick up tasks for non-trusted fuzzers. Simulated a forced assignment to verify the fatal crash mechanism works.

Validation

[Insert logs showing long-lived bot rejecting/crashing on non-trusted fuzzer]

@PauloVLB
PauloVLB force-pushed the vrp-untrusted-fuzzer-safety branch 2 times, most recently from 85c2781 to 0e2fa1e Compare June 19, 2026 15:46
@PauloVLB PauloVLB changed the title Vrp untrusted fuzzer safety [VRP] Ensure untrusted fuzzers do not fuzz in long-lived bots Jun 19, 2026
@PauloVLB
PauloVLB force-pushed the vrp-untrusted-fuzzer-safety branch 3 times, most recently from 79ed510 to c868b40 Compare July 16, 2026 16:04
@PauloVLB
PauloVLB changed the base branch from master to vrp-untrusted-fuzzer-ui July 16, 2026 20:10
@PauloVLB
PauloVLB force-pushed the vrp-untrusted-fuzzer-safety branch 3 times, most recently from c09e390 to f3a6d50 Compare July 16, 2026 20:48
@PauloVLB
PauloVLB force-pushed the vrp-untrusted-fuzzer-ui branch from 1fec842 to cb4ac9c Compare July 20, 2026 19:40
@PauloVLB
PauloVLB force-pushed the vrp-untrusted-fuzzer-safety branch 2 times, most recently from 7e42c64 to 8681bdc Compare July 23, 2026 14:11
Base automatically changed from vrp-untrusted-fuzzer-ui to master July 29, 2026 12:37
@PauloVLB
PauloVLB force-pushed the vrp-untrusted-fuzzer-safety branch from 8681bdc to c094792 Compare July 29, 2026 13:39
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