ayaanmaliksgithub/Virgil

Run a Virgil security audit on the calling repo. Self-hosted, sandboxed scanners + LLM triage + SARIF export.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 8, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: ayaanmaliksgithub/virgil@87cfc5a24f760ce16ecbc56a690456056fdfe37d # v0.5.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pathPath to scan, relative to the caller's checkout. Defaults to the repo root.no.
fail-onExit non-zero when findings at this severity (or higher) are present. One of: never, critical, high, medium, low.nocritical
anthropic-api-keyOptional Anthropic API key for LLM-enriched explanations, priority ranking, and chat. The audit runs deterministically without it (clustering, reachability, priority queue all work with the no-LLM fallback).no""
openai-api-keyOptional OpenAI API key, as an alternative to anthropic-api-key. If both are set, anthropic-api-key wins.no""
output-sarifPath to write the SARIF artifact. Set to '' to skip.novirgil-findings.sarif
comment-prPost a sticky comment with the priority queue on the PR. Requires pull_request event.notrue
virgil-refGit ref of the Virgil project to use. Defaults to the action's own ref.no""
namedescription
audit-idThe Virgil audit ID for this run. Use for follow-up CLI calls.
sarif-pathFilesystem path to the SARIF artifact, if output-sarif was set.
exit-statusFinal exit code from `virgil scan` (0 = under threshold, 1 = over, 2 = audit failed, 3 = api unreachable).