Blocked Commands

19 blocked Bash patterns. Always enforced.

Chapeta Blocked Commands safety settings

Chapeta blocks dangerous Bash command patterns before execution. Fork bombs, raw device writes, destructive filesystem operations, remote-code pipe-to-shell patterns, credential exposure patterns, and system modification commands are rejected in every approval mode.

How It Works

  1. Before any command is sent to the shell, Chapeta checks it against the blocked command groups.
  2. Fork bombs, infinite background loops, and raw device writes are rejected in every mode.
  3. Destructive filesystem ops, remote code execution, credential exposure patterns, and system modification commands are rejected in every mode.
  4. The AI receives an error message explaining why the command was blocked.
  5. The AI must find an alternative approach that does not use blocked patterns.

Benefits

  • Prevents the most catastrophic possible commands.
  • Works in every approval mode, including Never.
  • Hardcoded in the app binary. Cannot be circumvented by prompt injection.
  • Covers destructive shell patterns before they ever run.

Tradeoffs

  • Some legitimate commands may match blocked patterns.
  • The blocklist is not configurable. You cannot add or remove patterns.
  • Pattern matching is not a complete security solution. Novel attack vectors may not be covered.

FAQ

Security you can verify

Get Early Access

Chapeta is almost ready. Be first to try the fastest way to use AI on your Mac.

We'll only email you when Chapeta launches. Privacy policy

You're on the list!

We'll email you as soon as Chapeta is ready to download. Thanks for your interest.