barbaria888/Supply Chain Guardian AI

Autonomous CVE detection & AI-driven Dockerfile remediation. Scans container images with Trivy, patches vulnerabilities using local Ollama or cloud LLMs, validates in KinD, and opens a PR with proof.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 18, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: barbaria888/supplychain-guardian-ai-github_action@4335568bc16445a9c0d5af572fadfde75ec34d6b # v2.1.3

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

namedescriptionrequireddefault
dockerfilePath to the Dockerfile to scan and patchnoDockerfile
image-refPre-built image to scan (skips dockerfile build)no""
severityTrivy severity filter (comma-separated)noCRITICAL,HIGH
providerLLM provider: ollama (local) or openai (any compatible API)noollama
modelModel name (e.g., llama3.2:1b, deepseek-ai/deepseek-v4-flash)no""
api-keyAPI key for cloud providers. Not needed for ollama.no""
openai-endpointOpenAI-compatible base URL (e.g., https://integrate.api.nvidia.com/v1)nohttps://integrate.api.nvidia.com/v1
trivy-versionTrivy versionno0.55.0
kind-enabledRun KinD cluster validation after smoke testnotrue
kind-configPath to KinD cluster configno.kind/cluster-config.yaml
k8s-manifestsPath to Kubernetes manifests directorynok8s/
create-prAuto-create a Pull Request with the fixnotrue
pr-branchBranch name for the remediation PRnoauto-patcher/cve-remediation
pr-labelsComma-separated PR labelsnosecurity,automated-patch,supply-chain-guardian
fail-on-vulnerabilityFail if CVEs are found and cannot be patchednotrue
llm-timeoutLLM inference timeout in secondsno300
policy-presetEnforcement mode: strict (fail on any issue) or lax (warn and continue)nostrict
enforce-non-rootIf true, the integrity gate will reject Dockerfiles running as root. Set to false to allow root execution.notrue
healthz-portHost port mapped to the container for the health checkno18080
healthz-pathEndpoint route path for the health check probeno/
namedescription
vulnerabilities-foundWhether CRITICAL/HIGH CVEs were found
patch-appliedWhether the AI generated a valid patch
smoke-test-passedWhether the patched Dockerfile compiled and ran
kind-validation-passedWhether KinD deployment succeeded
pr-urlURL of the created Pull Request
trivy-results-pathPath to Trivy scan results
audit-log-pathPath to the LLM audit log