Path Restrictions

File write restrictions protect system files, app bundles, and sensitive directories.

Chapeta Path Restrictions safety settings
Chapeta Path Restrictions safety settings - expanded view

Chapeta restricts where the AI can write files. The AI can read files broadly but cannot write to system directories, application bundles, or other sensitive locations. This prevents accidental or malicious modification of your operating system, installed applications, and security-critical files.

How It Works

  1. When the AI attempts to write, create, or delete a file, Chapeta checks the target path.
  2. If the path falls within a restricted directory, the write is blocked.
  3. The AI receives an error explaining the path restriction.
  4. Reads are not restricted. The AI can read files from any accessible location.
  5. Path restrictions apply in all approval modes.

Benefits

  • System files and app bundles cannot be modified by the AI.
  • Prevents accidental damage to your macOS installation.
  • Security-critical directories (keychains, SSH keys) are protected.
  • Works alongside the command blocklist for defense in depth.

Tradeoffs

  • The AI cannot help with tasks that require writing to restricted paths.
  • If you need to modify a system file, you must do it manually.
  • The restriction list is not configurable.

FAQ

Security you can verify