antonellof/s0-cli security scan

LLM agent that runs SAST scanners + AI-slop detectors, triages every finding, and uploads SARIF to code scanning.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 24, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: antonellof/s0-cli@687ecfab27024b706eb1ec1744b3b06c669dfa83 # v0.3.3

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

namedescriptionrequireddefault
modeScan mode: repo, diff, or file.norepo
diff-refGit ref to diff against when mode=diff (default: PR base, else origin/main).no""
pathPath to scan, relative to the workspace.no.
harnessInner harness name (default: configured baseline).no""
no-llmSkip the LLM and use raw scanner findings only. Free, deterministic.nofalse
fail-onExit non-zero if a finding meets this severity (info/low/medium/high/critical).nohigh
upload-sarifUpload the SARIF report to GitHub code scanning. Requires `security-events: write`.notrue
sarif-outputPath to write the SARIF report.nos0-results.sarif
modelLiteLLM model identifier (overrides repo default; e.g. openai/gpt-4o-mini).no""
s0-versions0-cli version/git ref to install (PyPI version or git ref). Default: latest from main.nomain
openai-api-keyOpenAI API key. Mutually exclusive with anthropic/gemini keys.no""
anthropic-api-keyAnthropic API key.no""
gemini-api-keyGoogle Gemini API key.no""
namedescription
sarif-pathPath to the SARIF file written by the scan.
findings-countNumber of findings in the SARIF report (0 if none).