Guard Registry

Find the right guardrails.

Community-maintained safety profiles for AI agents. Browse, install with one command, and share your own.

12 profiles
@savants/standard
v1.2.0

The default safety profile. Blocks rm -rf, force push, secret exfiltration, and destructive database commands. Start here.

securityrecommendedstarter
4,821 312 18 rules
savants guard install @savants/standard
Rules (7 shown of 18)
block when command contains 'rm -rf /' then block
rewrite when command contains 'git push --force' then rewrite 'git push --force-with-lease'
block when command contains 'DROP TABLE' then block
block when command contains 'DROP DATABASE' then block
block when file_path contains '.env' then block
ask when command contains 'npm publish' then ask 'Publishing is permanent. Proceed?'
suggest when command contains 'chmod 777' then suggest 'Use chmod 755 instead'
Published 2026-05-15 Publishing docs
@savants/nixos
v1.0.0

NixOS-specific guards. Prevents accidental nix-store --delete, protects flake.lock, warns before nixos-rebuild switch on production.

nixoslinuxinfrastructure
892 67 12 rules
savants guard install @savants/nixos
Rules (3 shown of 12)
block when command contains 'nix-store --delete' then block
ask when command contains 'nixos-rebuild switch' then ask 'Rebuilding system config. Proceed?'
ask when file_path eq 'flake.lock' then ask 'Modifying flake lockfile. Proceed?'
Published 2026-06-02 Publishing docs
@savants/aws-production
v2.1.0

AWS production safety. Blocks S3 bucket deletion, prevents IAM policy changes without review, guards CloudFormation stack deletions.

awscloudproductioninfrastructure
3,204 198 24 rules
savants guard install @savants/aws-production
Rules (4 shown of 24)
block when command contains 'aws s3 rb' then block
block when command contains 'aws iam delete' then block
ask when command contains 'aws cloudformation delete-stack' then ask 'Deleting CloudFormation stack. This is irreversible.'
suggest when command contains '--no-verify-ssl' then suggest 'Remove --no-verify-ssl for security'
Published 2026-04-20 Publishing docs
@savants/kubernetes
v1.4.0

Kubernetes cluster safety. Prevents kubectl delete namespace, blocks force scaling to zero, warns on production context switches.

kubernetesk8sinfrastructureproduction
2,718 156 16 rules
savants guard install @savants/kubernetes
Rules (4 shown of 16)
block when command contains 'kubectl delete namespace' then block
block when command contains 'kubectl delete ns' then block
ask when command contains 'kubectl scale --replicas=0' then ask 'Scaling to zero replicas. Proceed?'
ask when command contains 'kubectl config use-context' and command contains 'prod' then ask 'Switching to production context.'
Published 2026-05-08 Publishing docs
@savants/database-safety
v1.1.0

Database operation guards. Blocks DROP/TRUNCATE in production, requires WHERE clauses on DELETE/UPDATE, prevents schema migrations without backup.

databasesqlproductiondata-safety
3,567 224 20 rules
savants guard install @savants/database-safety
Rules (5 shown of 20)
block when command contains 'DROP TABLE' then block
block when command contains 'TRUNCATE' then block
block when command contains 'DELETE FROM' and command not_contains 'WHERE' then block
block when command contains 'UPDATE' and command not_contains 'WHERE' then block
ask when command contains 'migrate' then ask 'Running database migration. Have you backed up?'
Published 2026-05-22 Publishing docs
@savants/ci-cd-safety
v1.0.2

CI/CD pipeline guards. Prevents force-merging without reviews, blocks deployment to production from non-main branches, guards secrets in logs.

ci-cdgithub-actionsdeployment
1,456 89 14 rules
savants guard install @savants/ci-cd-safety
Rules (3 shown of 14)
suggest when command contains '--no-verify' then suggest 'Remove --no-verify to run pre-commit hooks'
block when command contains 'git push --force' and command contains 'main' then block
block when command contains 'git push --force' and command contains 'master' then block
Published 2026-06-10 Publishing docs
@devops-team/terraform-guard
v1.3.0

Terraform infrastructure guards. Blocks terraform destroy without plan, prevents state manipulation, warns on provider changes.

terraformiacinfrastructurecloud
2,103 142 15 rules
savants guard install @devops-team/terraform-guard
Rules (3 shown of 15)
ask when command contains 'terraform destroy' then ask 'Destroying infrastructure. Have you reviewed the plan?'
block when command contains 'terraform state rm' then block
ask when command contains 'terraform state mv' then ask 'Moving Terraform state. Proceed carefully.'
Published 2026-05-30 Publishing docs
@secops/secret-scanner
v2.0.1

Prevents secrets from being committed or exposed. Blocks writes to files containing API keys, tokens, passwords, and private keys.

securitysecretscompliance
5,102 387 22 rules
savants guard install @secops/secret-scanner
Rules (5 shown of 22)
block when file_path contains '.env' then block
block when file_path contains 'credentials' then block
block when file_path contains 'id_rsa' then block
ask when file_path contains '.pem' then ask 'Writing to a PEM file. Is this intentional?'
suggest when command contains 'curl' and command contains 'Authorization' then suggest 'Use environment variables for auth tokens'
Published 2026-04-10 Publishing docs
@savants/docker-safety
v1.0.0

Docker container safety. Prevents running containers as root, blocks --privileged, warns on host network mode and volume mounts to /.

dockercontainerssecurity
1,893 108 10 rules
savants guard install @savants/docker-safety
Rules (3 shown of 10)
block when command contains '--privileged' then block
block when command contains 'docker run' and command contains '-v /:/' then block
suggest when command contains '--network host' then suggest 'Use a dedicated Docker network instead of host mode'
Published 2026-06-18 Publishing docs
@community/python-best-practices
v1.1.0

Python development guards. Prevents pip install without virtual env, blocks eval() usage, warns on import * patterns.

pythondevelopmentbest-practices
1,204 76 8 rules
savants guard install @community/python-best-practices
Rules (2 shown of 8)
suggest when command contains 'pip install' and command not_contains '--user' and command not_contains 'venv' then suggest 'Use a virtual environment'
ask when command contains 'eval(' then ask 'Using eval() is dangerous. Are you sure?'
Published 2026-06-25 Publishing docs
@enterprise/compliance-soc2
v3.0.0

SOC 2 compliance guard profile. Enforces audit logging, blocks unencrypted data transfers, prevents unauthorized access pattern changes.

compliancesoc2enterprisesecurityaudit
6,234 445 32 rules
savants guard install @enterprise/compliance-soc2
Rules (3 shown of 32)
block when command contains '--no-log' then block
suggest when command contains 'http://' then suggest 'Use https:// for encrypted connections'
ask when file_path contains 'audit' then ask 'Modifying audit configuration. This requires review.'
Published 2026-03-28 Publishing docs
@savants/git-hygiene
v1.0.0

Git workflow safety. Prevents force pushes, blocks commits without messages, warns on large binary commits and history rewrites.

gitworkflowdevelopment
2,341 134 11 rules
savants guard install @savants/git-hygiene
Rules (3 shown of 11)
rewrite when command contains 'git push --force' then rewrite 'git push --force-with-lease'
ask when command contains 'git reset --hard' then ask 'Hard reset discards all changes. Proceed?'
ask when command contains 'git rebase' and command contains 'main' then ask 'Rebasing onto main. Proceed?'
Published 2026-06-01 Publishing docs

Share your own guardrails

Publish a profile in 30 seconds and let the community benefit from your safety rules.

savants guard share ./my-rules.json --name my-profile
Read the publishing guide