CredScope Bavlik
winget install --id=Bavlik.CredScope -e CredScope analyzes Docker Compose and GitHub Actions configuration and imported Gitleaks findings without executing repository content or validating credentials.
winget install --id=Bavlik.CredScope -e CredScope analyzes Docker Compose and GitHub Actions configuration and imported Gitleaks findings without executing repository content or validating credentials.
A security tool by Bavlik.
CredScope is an experimental, offline-first CLI for analyzing static credential exposure and reachability context in Docker Compose, GitHub Actions, and imported Gitleaks reports.
> Review findings before acting on them. CredScope is not a complete vulnerability scanner and should not be the sole basis for a security decision.
.github/workflows/.Supported report formats:
CredScope publishes .deb packages to a Cloudsmith APT repository. This installs the official repository and the package:
curl -1sLf \
'https://dl.cloudsmith.io/public/bavlik/credscope/cfg/setup/bash.deb.sh' \
| sudo -E bash
sudo apt update
sudo apt install credscope
credscope version
Future upgrades:
sudo apt update
sudo apt upgrade credscope
Tested on Kali Linux. APT manages upgrades and uninstallation (sudo apt remove credscope).
CredScope v0.2.3 is available from GitHub Releases for:
Download the archive for your operating system and architecture together with checksums.txt, then verify the SHA-256 checksum before extracting it.
Windows example:
Get-FileHash .\credscope_0.2.3_windows_amd64.zip -Algorithm SHA256
CredScope Windows binaries are currently unsigned. Do not disable SmartScreen, Defender, Smart App Control, or other Windows security controls.
The WinGet manifests are prepared and awaiting acceptance into the Microsoft community repository. WinGet installation is not yet available.
After acceptance, installation will be:
winget install --id Bavlik.CredScope -e
See installation documentation for full details on every platform, including the portable Linux archive.
credscope version
credscope scan .
credscope scan . --format html --output credscope-report.html
Generate a Gitleaks JSON report:
gitleaks git --report-format json --report-path gitleaks.json
Import it into CredScope:
credscope scan . --gitleaks-report gitleaks.json
CredScope fingerprints and discards imported Secret and Match values. Raw secret values are not included in reports.
For reports containing an absolute container path prefix:
credscope scan . \
--gitleaks-report gitleaks.json \
--gitleaks-path-prefix /repo
Copy .credscope.yml.example to .credscope.yml.
version: 2
profile: auto
ignore:
paths:
- value: docs/examples/**
reason: Checked-in redacted report examples
See:
permissions:
contents: read
security-events: write
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: Bavlik/CredScope@v0.2.3
with:
path: .
gitleaks-report: gitleaks.json
profile: ci
format: sarif
output: credscope.sarif
See GitHub Action usage.
CredScope does not:
Repository discovery, imported reports, configuration, and output writes remain confined to the selected repository root.
See the threat model and SECURITY.md.
See docs/README.md for the full documentation index, including:
Read CONTRIBUTING.md and CODE_OF_CONDUCT.md.
Use fake test values and preserve the project's security, determinism, path-confinement, and output-safety guarantees.
Linux .deb packages and the APT repository are hosted by Cloudsmith, which provides open-source package hosting for CredScope.
Licensed under the Apache License 2.0.
Created and maintained by Abdallah Alotaibi (@Bavlik) and Rakan Al Salah (@Cooler-spec).
Bavlik · abdullahcv.com