Skip to content
$ shellfirm

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.

GroupChecksCovers
aws29AWS CLI deletes and destructive changes
azure11Azure CLI deletes
base33System commands: shutdown and reboot, fork bombs, cron, users, history, system logs, processes, SSH, systemd
database81SQL, migration and ORM resets, hosted databases (Supabase, Firebase, Cloudflare D1/KV/R2, Neon, PlanetScale, Turso)
docker18Containers, images, volumes, prune
exfil16Reading, listing, printing or searching for secrets; keychain dumps; sending credentials, environment variables or shell history to the network
flyio4Fly.io
fs73Deletes (also Windows drives and profiles), permissions, disks
gcp17gcloud, Firebase projects
git38Resets, force-pushes, history rewrites
github16gh deletes, workflow and secret changes, GitHub API deletes and settings
heroku23Heroku and Railway
kubernetes37kubectl, Helm, Argo CD, Istio, Cilium, Velero
mongodb16MongoDB
mysql7MySQL client
netlify3Netlify
network22Firewall, routes, interfaces, reverse shells, destructive HTTP and GraphQL API calls
npm4Unpublishing and deprecating packages (npm, yarn, pnpm)
psql13PostgreSQL client and tools
redis19Redis
shell15Remote scripts piped into a shell (curl … | bash) or run by an inline interpreter
terraform28Terraform / OpenTofu / Terragrunt, Vault, Consul, Nomad
vercel9Vercel 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 prefixGroup
fs-strict:*fs
git-strict:*git
helm:*, kubernetes-strict:*kubernetes
process:*, ssh:*, systemd:*base

List groups

shellfirm config groups
Output
check 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)
Output
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.

settings.yaml
disabled_groups:
- heroku

An 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 groups
Output
38 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 Critical
  • shellfirm config ignore <check-id> — stop asking for one check

See Severity levels.