Skip to content

Use the CLI

Understand the checks

Seven focused checks, shared with the browser checker. Each one flags an observation for a person to review.

On this page

Rule catalog 2026.1

RuleSeverityWhat it looks for
secret-in-envHighCredential-like values in .env, .env.local or .env.production that are not placeholders
literal-credentialHighCredential-like literals in explicitly included Python or JavaScript/TypeScript source
dynamic-evaluationMediumeval() calls in explicitly included source; exploitability needs review
production-debugMediumDEBUG=true, 1 or yes in .env.production or .env.prod
workflow-write-allMediumpermissions: write-all in GitHub Actions workflows
workflow-pull-request-targetMediumA pull_request_target trigger in GitHub Actions workflows
docker-user-reviewLowA Dockerfile with FROM but no USER directive

Observations need context

These are text checks, not full YAML, Docker or application analysis. Inline workflow syntax may be missed. A USER in an earlier build stage can hide a missing one in the final stage, and a base image may already set an unprivileged user.

Secret checks use assignment names and placeholder matching. Source rules run only on files you include. They do not read Git history or recognise every credential format. A detected value is never printed or saved.

Note: A report holds at most 100 observations. If you reach that, review a smaller scope. Zero observations is not proof of full coverage.

List the installed checks

Terminal
grchero rules
grcHero CLI 0.7.3. Local checks, human review, verifiable evidence.