Answer: Zed includes a small set of hardcoded security rules that cannot be overridden by any setting; these only apply to the terminal tool and block recursive deletion of critical directories such as the filesystem root, home directory, current directory, and parent directory. There are no other built-in rules. Status: Overdue (check was due 2026-11-20T13:39:00Z and has not succeeded) Entry: tool/zed/permissions-and-security/built-in-security-rules Revision: 1 Digest: sha256:7db5a35e7a0b0356 (changes whenever the content changes) Timeline: Created: 2026-11-13T04:00:36Z Last changed: 2026-11-13T04:00:36Z Last verified: 2026-11-19T13:39:00Z Next check: 2026-11-20T13:39:00Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of rule type | hardcoded security rules | [1] | 2026-11-19 scope | terminal | [1] | 2026-11-19 filesystem root | rm -rf / | [1] | 2026-11-19 home directory | rm -rf ~ | [1] | 2026-11-19 home via env var | rm -rf $HOME | [1] | 2026-11-19 current directory | rm -rf . | [1] | 2026-11-19 parent directory | rm -rf .. | [1] | 2026-11-19 other rules | There are no other built-in rules. | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/ai/tool-permissions.md". https://zed.dev/docs/ai/tool-permissions.md Role: primary. Accessed: 2026-11-19T13:39:00Z Quote: "Zed includes a small set of hardcoded security rules that **cannot be overridden** by any setting." (Supports: rule type) Quote: "These only apply to the **terminal** tool and block recursive deletion of critical directories:" (Supports: scope) Quote: "- `rm -rf /` and `rm -rf /*` — filesystem root" (Supports: filesystem root) Quote: "- `rm -rf ~` and `rm -rf ~/*` — home directory" (Supports: home directory) Quote: "- `rm -rf $HOME` / `rm -rf ${HOME}` (and `$HOME/*`) — home directory via environment variable" (Supports: home via env var) Quote: "- `rm -rf .` and `rm -rf ./*` — current directory" (Supports: current directory) Quote: "- `rm -rf ..` and `rm -rf ../*` — parent directory" (Supports: parent directory) Quote: "There are no other built-in rules." (Supports: other rules) Snapshot SHA-256: c27fe015ce56aff723892b75234677a529db3b3061d7bff8789285c39227b2f3 (captured 2026-11-19T13:38:59Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-19T13:39:00Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:39:00Z Last attempt: 2026-11-19T13:39:00Z Notes and limitations: Extracted automatically from a single official source (section "Built-in Security Rules"). Human-readable page: https://zed.dev/docs/ai/tool-permissions.html Related: https://latestn.com/tool/zed/permissions-and-security/configure-tool-permissions How do I configure which tools Zed's Agent Panel runs automatically versus which require approval? https://latestn.com/tool/zed/permissions-and-security/configure-tool-permissions-2 How do I configure permissions for Zed's agent tools so actions are auto-approved, denied, or require confirmation? https://latestn.com/tool/zed/permissions-and-security/configure-zed-agent How do I configure the Zed Agent's tools and permissions? https://latestn.com/tool/zed/models/openai-compatible-local-server How do I connect a local OpenAI-compatible server to Zed? https://latestn.com/tool/zed/models/openai-compatible-providers How do I configure an OpenAI-compatible provider in Zed? https://latestn.com/tool/zed/models/supported-api-providers Which API providers does Zed support for AI features? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:00:36Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/permissions-and-security/built-in-security-rules/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/permissions-and-security/built-in-security-rules POST: https://latestn.com/dispute/tool/zed/permissions-and-security/built-in-security-rules with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/permissions-and-security/built-in-security-rules?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What built-in security rules does Zed apply to tool permissions by default? Revision 1, last verified 2026-11-19T13:39:00Z. https://latestn.com/tool/zed/permissions-and-security/built-in-security-rules (accessed 2026-11-21T10:02:24Z). @misc{LatestN_tool_zed_permissions_and_security_built_in_security_rules_r1, title = {What built-in security rules does Zed apply to tool permissions by default?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/permissions-and-security/built-in-security-rules}}, note = {Revision 1; digest sha256:7db5a35e7a0b0356; last verified 2026-11-19T13:39:00Z; accessed 2026-11-21T10:02:24Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/permissions-and-security/built-in-security-rules