Repository navigation
ci: add Bright Agent fuzzing-mode workflow - #1114
Merged
Merged
Conversation
Add .github/workflows/bright-agent-fuzzing.yml running STAR in RUN_MODE=fuzzing — a coverage-guided, structure-aware fuzzing pass that targets crashes, hangs, memory-safety and resource-DoS bugs DAST can't see. Modeled on the existing bright-agent.yml / sast-validation workflows: same fork-refusal guard and triggers (/bright-fuzz comment or manual dispatch), namespaced artifact uploads, and an inline FUZZER_* config reference. Runs alongside the DAST workflow, not instead of it.
Drop the issue_comment (/bright-fuzz) trigger and its comment-steering machinery — the fork-refusal step, BRIGHT_STEERING_* env vars, and the comment-conditional checkout/concurrency expressions. The workflow now runs only via workflow_dispatch on a chosen branch.
ilya-olchikov
requested changes
Oct 26, 2026
Per review: the repo moved NeuraLegion -> BrightSec; point the binary download at the canonical BrightSec release URL.
Contributor
Author
|
Addressed review feedback:
|
ilya-olchikov
approved these changes
Oct 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a third STAR / Bright Agent CI workflow —
.github/workflows/bright-agent-fuzzing.yml— running STAR inRUN_MODE=fuzzing.Fuzzing mode is a separate, self-contained STAR mode: a coverage-guided, structure-aware evolutionary fuzzer that targets the bugs the DAST modes can't see — crashes, hangs, native memory-safety faults, unrecoverable managed-runtime faults, and resource-amplification DoS. It deliberately ships no SQLi/XSS/SSRF oracle (those stay with the DAST workflow). It does not start the app, open a Repeater, run a cloud scan, or detect auth; it resolves a standalone fuzzer binary, has an LLM write per-function Docker harnesses, fuzzes them, triages the faults, and optionally fixes + re-validates — all local except a
BRIGHT_TOKENlicense check.This complements the existing workflows:
bright-agent.yml— DAST scan + fix loop (RUN_MODE=full)bright-agent-sast-validation.yml— CodeQL SAST → STAR validation (RUN_MODE=validation)Runs alongside the DAST workflow as an orthogonal robustness pass, not instead of it.
Details
Modeled on the two existing STAR workflows for consistency:
/bright-fuzzcomment (OWNER/MEMBER/COLLABORATOR, non-fork) on a PR, or manualworkflow_dispatch— same fork-refusal guard and gating.RUN_MODE=fuzzingwith the fullFUZZER_*config reference documented inline (commented at defaults:FUZZER_MAX_TARGETS=12,FUZZER_MAX_PER_FILE=3,FUZZER_TIMEOUT=5,FUZZER_DEPTH=1,FUZZER_FIXon).DIFF_BASE, noSARIF_PATH); fuzzing fuzzes the whole repo and needs Docker for harness builds.BRIGHT_TOKEN,INFERENCE_TOKEN,INFERENCE_URL), artifact uploads namespacedbright-agent-fuzzing-*.Notes
stable) before/bright-fuzzreplies will fire.Testing
RUN_MODE: fuzzingconfirmed on the run step.