CI/CD pipeline security scanner — 53 rules across GitHub Actions, GitLab CI, Azure Pipelines, Jenkins, Tekton, CircleCI
https://pkg.go.dev/github.com/north-echo/fluxgate/pkg/scanner ↗// readme
Fluxgate
CI/CD Pipeline Security Gate — static analysis for CI/CD pipeline configurations across 6 platforms.
Fluxgate scans workflow and pipeline files for dangerous security patterns, including the exact misconfiguration class that enabled the Trivy supply chain compromise in March 2026.
Quick Start
# Scan a local repository (auto-detects all 6 platforms)
fluxgate scan .
# Scan a remote repository
fluxgate remote aquasecurity/trivy
# Install
go install github.com/north-echo/fluxgate/cmd/fluxgate@latest
What It Detects
GitHub Actions (FG-xxx)
| Rule | Severity | Description |
|---|---|---|
| FG-001 | Critical | Pwn Request: pull_request_target with fork checkout |
| FG-002 | High | Script Injection via expression interpolation |
| FG-003 | Medium | Tag-based action pinning (mutable references) |
| FG-004 | Medium | Overly broad workflow permissions |
| FG-005 | Low | Secrets exposed in workflow logs |
| FG-006 | Medium | Fork PR code execution via build hooks |
| FG-007 | Medium | Token exposure in build steps |
| FG-008 | Critical | OIDC… |