Check Groups
The 532 built-in checks come in 23 groups, all on by default. Turn whole groups on or off.
Every built-in check belongs to a group. All 23 groups are active by default.
| Group | Checks | Covers |
|---|---|---|
aws | 29 | AWS CLI deletes and destructive changes |
azure | 11 | Azure CLI deletes |
base | 33 | System commands: shutdown and reboot, fork bombs, cron, users, history, system logs, processes, SSH, systemd |
database | 81 | SQL, migration and ORM resets, hosted databases (Supabase, Firebase, Cloudflare D1/KV/R2, Neon, PlanetScale, Turso) |
docker | 18 | Containers, images, volumes, prune |
exfil | 16 | Reading, listing, printing or searching for secrets; keychain dumps; sending credentials, environment variables or shell history to the network |
flyio | 4 | Fly.io |
fs | 73 | Deletes (also Windows drives and profiles), permissions, disks |
gcp | 17 | gcloud, Firebase projects |
git | 38 | Resets, force-pushes, history rewrites |
github | 16 | gh deletes, workflow and secret changes, GitHub API deletes and settings |
heroku | 23 | Heroku and Railway |
kubernetes | 37 | kubectl, Helm, Argo CD, Istio, Cilium, Velero |
mongodb | 16 | MongoDB |
mysql | 7 | MySQL client |
netlify | 3 | Netlify |
network | 22 | Firewall, routes, interfaces, reverse shells, destructive HTTP and GraphQL API calls |
npm | 4 | Unpublishing and deprecating packages (npm, yarn, pnpm) |
psql | 13 | PostgreSQL client and tools |
redis | 19 | Redis |
shell | 15 | Remote scripts piped into a shell (curl … | bash) or run by an inline interpreter |
terraform | 28 | Terraform / OpenTofu / Terragrunt, Vault, Consul, Nomad |
vercel | 9 | Vercel deployments, projects, env vars, domains, aliases, DNS, Blob, teams, integrations |
See Protection coverage for what each group catches, or the full check catalogue on GitHub.
Id prefixes
Some check ids have a prefix that is not their group name. They are stricter checks inside an existing group, and you turn them on or off with that group:
| Id prefix | Group |
|---|---|
fs-strict:* | fs |
git-strict:* | git |
helm:*, kubernetes-strict:* | kubernetes |
process:*, ssh:*, systemd:* | base |
List groups
shellfirm config groupscheck groups:
aws active
azure active
base active
database active
docker active
exfil active
flyio active
fs active
gcp active
git active
github active
heroku active
kubernetes active
mongodb active
mysql active
netlify active
network active
npm active
psql active
redis active
shell active
terraform active
vercel active
23 of 23 active. Change with `shellfirm config groups --enable <GROUP>` / `--disable <GROUP>`.Turn groups on or off
shellfirm config groups --disable heroku
shellfirm config groups --enable heroku
shellfirm config groups --pick # interactive checklist (needs a terminal)groups updated (disabled: heroku)Only the change is written: --disable heroku adds heroku to disabled_groups and leaves enabled_groups alone, so groups added by a later release are still enabled for you.
disabled_groups:
- herokuAn unknown group is an error (exit 2) and lists the known groups. Groups of your custom checks are enabled and disabled the same way.
A project or org policy can enforce checks from a group you disabled. In that repository those checks stay active; shellfirm policy show lists which of your settings the policy overrides.
List the checks
shellfirm check --list # active checks
shellfirm check --list -g git # one group
shellfirm check --list --all # include disabled groups38 active check(s) (groups: git):
git:reset git HIGH This discards all uncommitted changes in your working tree.
git:delete_all git HIGH This deletes all tracked files from the working tree.
git:clean_force git HIGH This permanently deletes untracked files (and directories with -d). Git cannot restore them.
git:force_push git HIGH This force-pushes and can overwrite remote history.
...Fewer prompts without disabling a group
Disabling a group turns off every check in it. Often a narrower change is better:
shellfirm config severity High— only prompt for High and Criticalshellfirm config ignore <check-id>— stop asking for one check
See Severity levels.