Help us improve
Share bugs, ideas, or general feedback.
From gh-guard
Verifies generated supply chain security configs including GitHub Actions workflows, cargo-deny.toml, rust-toolchain.toml, and release scripts for syntax, structure, security practices, and cross-file consistency, producing a detailed report.
npx claudepluginhub sbom-tool/gh-guardHow this command is triggered — by the user, by Claude, or both
Slash command
/gh-guard:verifyThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# /verify — Post-Generation Validation Verify that generated supply chain security configs are syntactically valid, internally consistent, and ready to deploy. ## Workflow ### Step 1: Find Generated Files Scan for gh-guard artifacts: - `.github/workflows/*.yml` — all workflow files - `deny.toml` — cargo-deny configuration - `rust-toolchain.toml` — toolchain pinning - `.github/dependabot.yml` — Dependabot config - `SECURITY.md` — security policy - `scripts/release.sh` — release script - `osv-scanner.toml` — OSV scanner config Report which files are present. ### Step 2: YAML Syntax Vali...
/harden-actionsPin GitHub Actions to SHAs, fix permissions, and flag dangerous triggers
/verification-guideProvides verification checklist for Stage 0 fingerprint analysis YAML output before saving to .sourceatlas/overview.yaml, with bash scripts to check file paths, counts, configs, and git branch.
/validateValidates project structure, git config, build setup, code quality, CI/CD workflows, and best practices; reports issues, score, and recommendations with --path and --verbose options.
/verifyRuns verification checks on codebase including types (mypy), lint (ruff), tests (pytest cov), security (pip-audit), secrets, prints, and git status. Outputs summary report with pass/fail and readiness status.
/verifyVerifies all git-changed files for common mistakes, logic errors, and security issues, outputting per-file summaries with issue counts and severity ratings (CRITICAL, WARNING, INFO).
/verifyRuns comprehensive codebase verification including build, type checks, linting, tests, console.log audit, and git status. Outputs PASS/FAIL report with PR readiness. Supports quick/full/pre-commit/pre-pr modes.
Share bugs, ideas, or general feedback.
Verify that generated supply chain security configs are syntactically valid, internally consistent, and ready to deploy.
Scan for gh-guard artifacts:
.github/workflows/*.yml — all workflow filesdeny.toml — cargo-deny configurationrust-toolchain.toml — toolchain pinning.github/dependabot.yml — Dependabot configSECURITY.md — security policyscripts/release.sh — release scriptosv-scanner.toml — OSV scanner configReport which files are present.
For each YAML file found:
${{ }} expressions (replace with safe placeholders)python3 -c 'import yaml; yaml.safe_load(...)' or yqFor each GitHub Actions workflow, check:
Required fields:
name: is presenton: trigger is definedpermissions: is set at workflow levelruns-on:SHA pinning:
uses: lines reference a full 40-char SHA (not a tag like @v4)slsa-github-generator) must use @tag# v6.0.2)Security practices:
persist-credentials: false on checkout stepsfetch-depth: 0 in publish workflow (for ancestry verification)--locked flag on cargo install commandsIf deny.toml exists:
cargo deny check --hide-inclusion-graph 2>&1 (if cargo-deny is installed)Check relationships between files:
if: always() and needs: referencing all other jobs?rust-toolchain.toml channel match the MSRV used in CI workflow?fuzz/Cargo.toml [[bin]] entries?github-actions and cargo?If scripts/release.sh exists:
bash -n scripts/release.shscripts/release.sh --dry-run <current-version-plus-one> (compute next patch version from Cargo.toml)## Verification Report
### Files Checked
| File | Syntax | Structure | Notes |
|------|--------|-----------|-------|
| .github/workflows/ci.yml | valid | 6 jobs, gate pattern | — |
| .github/workflows/publish.yml | valid | 3 jobs, OIDC auth | Create `crates-io` environment |
| deny.toml | valid | 4 check categories | 2 advisory warnings |
| ... | ... | ... | ... |
### SHA Pin Status
- X/Y actions are SHA-pinned with version comments
- Unpinned: [list]
### Issues Found
- [ ] Issue description and fix recommendation
### Ready to Deploy
All checks passed / X issues to resolve before deploying.