Change default garak probes to promptinject#62
Merged
sketch0395 merged 3 commits intomainfrom Mar 19, 2026
Merged
Conversation
Co-authored-by: sketch0395 <33059841+sketch0395@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add nightly garak scans for prompt injection
Add dedicated nightly garak prompt injection scan workflow
Mar 19, 2026
…orkflow Co-authored-by: sketch0395 <33059841+sketch0395@users.noreply.github.com>
Copilot
AI
changed the title
Add dedicated nightly garak prompt injection scan workflow
Change default garak probes to promptinject
Mar 19, 2026
sketch0395
approved these changes
Mar 19, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR narrows the default Garak probe set used by scheduled/nightly-style runs to focus on prompt-injection testing by default, reducing breadth (and runtime) compared to the prior multi-probe default.
Changes:
- Update default
garak_probestopromptinjectin the private-repo workflow input and job fallbacks. - Change the shell-script defaults used by CI/orchestration (
run-epyon-scan-ci.sh) and direct Garak execution (run-garak-scan.sh) topromptinject.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
scripts/shell/run-garak-scan.sh |
Changes the script-level default GARAK_PROBES to promptinject. |
scripts/shell/run-epyon-scan-ci.sh |
Changes the CI orchestrator’s local _probes fallback default to promptinject. |
.github/workflows/scan-private-repo.yml |
Sets workflow input default and job fallbacks for garak_probes to promptinject and updates the example text. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
72
to
+76
| scan_mode: ${{ github.event_name == 'schedule' && 'nightly' || github.event.inputs.scan_mode || 'full' }} | ||
| subdirectory: ${{ github.event.inputs.subdirectory || '' }} | ||
| garak_target_type: ${{ github.event.inputs.garak_target_type || 'openai' }} | ||
| garak_target_name: ${{ github.event.inputs.garak_target_name || 'gpt-4o-mini' }} | ||
| garak_probes: ${{ github.event.inputs.garak_probes || 'promptinject,dan,knownbadsignatures,encoding,continuation' }} | ||
| garak_probes: ${{ github.event.inputs.garak_probes || 'promptinject' }} |
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.
The default
garak_probesvalue across workflows and scripts was a broad multi-probe set (promptinject,dan,knownbadsignatures,encoding,continuation). The intent was simply to default nightly garak runs to prompt injection only.Changes
scan-private-repo.yml— input default and both job fallback values changed topromptinject; updated description example to matchscripts/shell/run-garak-scan.sh— script-levelGARAK_PROBESdefault changed topromptinjectscripts/shell/run-epyon-scan-ci.sh—_probeslocal default changed topromptinjectgarak-nightly.yml— a separate nightly workflow added in the previous commit was not needed;scan-private-repo.ymlalready runs garak viascan_mode: nightlyon its nightly schedule trigger💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.