Repository navigation
v0.31.0
Every report now says what covers each category, not only what's missing. zanadir also recognises formatters, pre-commit, code signing and fuzzing, and a chain of reusable workflows is graded the same way on every run.
Added
What covers each category (#542)
Each covered category is listed with the tools found for it. A tool that cannot block a merge shows its grade:
12 categories are covered by:
SCA Anchore, Dependabot (advisory), Trivy (advisory)
Secrets Detection TruffleHog
Unit Tests a job named test, go test
Workflow Security zizmor, OpenSSF Scorecard (partial)
- Table: the block above, after everything that needs attention.
- Markdown: the same, as a collapsed table at the end of the pull request comment.
- JSON: a new
coveredkey. Each category has its verdict, and each tool its own verdict and the files it runs in (locations). The key is new, so existing readers are unaffected, and the MCPscantool returns it too. - Browser scan page: each covered category with its grade, and each tool linked to a workflow that runs it.
Every rule now has a name. A rule that covers several tools shows the one it matched: pytest, go test, mvn, php artisan test. A custom rule can set name: too; without it, the matched text is shown.
Recognised tools (#543)
Found by listing what the workflows of 600 popular repositories run that zanadir didn't recognise.
| Category | Added |
|---|---|
| Linter | Formatters in check mode: cargo fmt --check, rustfmt --check, prettier --check, black --check, isort --check, dotnet format --verify-no-changes, dart format --set-exit-if-changed, terraform/tofu fmt -check, shfmt -d, clang-format --dry-run --Werror, spotless, dprint, oxfmt, mix format --check-formatted, deno fmt --check |
| Linter | pre-commit (pre-commit run, pre-commit/action) and prek |
| Unit Tests | Maven's package, install and deploy and Gradle's build, which run the tests (-DskipTests and -x test still don't count); actions that publish JUnit results (publish-unit-test-result, dorny/test-reporter, action-junit-report, test-summary) |
| Supply Chain | actions/attest; code signing with codesign (not ad-hoc -s -), notarytool submit, signtool, osslsigncode, rcodesign, Azure Artifact Signing, SignPath and SSL.com eSigner |
| SAST | Fuzzing with CIFuzz and ClusterFuzzLite (dry-run: true grades advisory) and cargo fuzz run |
A formatter counts only in check mode: without the flag it rewrites the files and passes. gofmt stays out, since it exits 0 whatever it finds.
Fixed
- Chains of reusable workflows (#544): a workflow called by a workflow that is itself called could lose the top caller's
if:,continue-on-erroror inputs, depending on the order Go happened to walk them in. The same scan could then grade differently from run to run. Callers are now settled before what they call.
Grades
Compared with 0.30.0 on two sets of repositories:
- The 849 of the 0.30.0 comparison: 36 changed, every one because a new rule found a tool: prettier (7), Azure Artifact Signing (4), GitHub Artifact Attestations (5), black (3), CIFuzz, clang-format,
mvn,terraform fmt(2 each), and one each of codesign, rcodesign, signtool, SignPath,cargo fmt,tofu fmt, pre-commit and a JUnit report action. None went down. The other 813 are unchanged. - 600 popular repositories, scanned from their workflow files: 73 changed. 71 gained a category or a stronger grade, mostly Supply Chain (signing and attestations, often
unknownbecause releases are started by hand) and Linter (pre-commit, formatters). The other two are the chain fix: n8n and GitNexus used to flip between runs and now settle onunknown, because a condition two calls up reaches the jobs.
Full changelog: 0.30.0...0.31.0