Secure your CI/CD pipeline against supply-chain attacks on third-party GitHub Actions.
Scharf scans your workflows, identifies mutable action references, and replaces them with immutable commit SHAs. It also generates comprehensive CSV or JSON reports across repositories and lets you inspect available tags and SHAs without leaving your terminal.
Why Use Scharf?
By pinning every third-party action to a specific commit SHA, Scharf prevents unexpected or malicious changes from creeping into your CI/CD process. This ensures a stable and secure development lifecycle by eliminating risks tied to drifting dependencies and mutable tags.
third-party GitHub actions.
Key Features
Autofix Workflows: Detect and update mutable action tags to their corresponding SHAs in your workflow files.
Quick SHA Lookup: Retrieve the latest commit SHA for any GitHub Action directly from the CLI.
Actionable Reports: Produce JSON or CSV reports that highlight insecure references across one or many repositories.
Custom Scopes: Choose to scan only the current HEAD or include all branches when you audit or find actions.
Mutable tags (e.g., @v1 or @main) allow action authors to push new code without changing your workflow. If a tag gets compromised, your CI can run malicious code. Scharf eliminates this vulnerability by always pinning to a specific, audited commit.
Further Reading:
Supply Chain Compromise of Third-Party tj-actions/changed-files: