Skip to content

Change default garak probes to promptinject#62

Merged
sketch0395 merged 3 commits intomainfrom
copilot/ensure-nightly-garak-scans
Mar 19, 2026
Merged

Change default garak probes to promptinject#62
sketch0395 merged 3 commits intomainfrom
copilot/ensure-nightly-garak-scans

Conversation

Copy link
Contributor

Copilot AI commented Mar 19, 2026

The default garak_probes value 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 to promptinject; updated description example to match
  • scripts/shell/run-garak-scan.sh — script-level GARAK_PROBES default changed to promptinject
  • scripts/shell/run-epyon-scan-ci.sh_probes local default changed to promptinject
  • Removed garak-nightly.yml — a separate nightly workflow added in the previous commit was not needed; scan-private-repo.yml already runs garak via scan_mode: nightly on 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.

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
Copilot AI requested a review from sketch0395 March 19, 2026 03:32
…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 sketch0395 marked this pull request as ready for review March 19, 2026 03:44
Copilot AI review requested due to automatic review settings March 19, 2026 03:45
@sketch0395 sketch0395 merged commit fe25928 into main Mar 19, 2026
3 checks passed
@sketch0395 sketch0395 deleted the copilot/ensure-nightly-garak-scans branch March 19, 2026 03:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_probes to promptinject in 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) to promptinject.

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' }}
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.

3 participants