
Anthropic's extension system for Claude Code runs JavaScript inside the agent with your own privileges, on by default, and the document listing what a mod can reach states plainly that the sandbox and the permission rules stop short of it.

rm through a substitution or an alias goes past it 2. 
ask rule would prompt for, or that one of your own PreToolUse hooks blocked," the page says, and links onward to a section covering when a mod can approve a call that a deny rule refuses 1.Bash(aws *) blocks every matching call, and a narrower allow rule cannot carve an exception out of it 5. A mod can approve the call anyway.
apiKeyHelper all run outside it with your full access 7. Inside the sandbox, commands may read most of the machine by default, credential files such as ~/.ssh and ~/.aws/credentials included, while only their writes are restricted. Every enabled plugin's bin/ directory is added to the PATH of the Bash tool's shell, so Claude can run anything sitting there 6. And installing a plugin enables it.| Control | What it stops | What keeps running |
|---|---|---|
Disable or uninstall one plugin in /plugin | That mod | Every other mod you installed, and every built-in mod |
--safe-mode for one session | Every mod you installed, along with your other customizations | Anthropic's built-in mods, and whatever managed settings turn on |
"disableAllHooks": true in ~/.claude/settings.json | Every mod you installed, plus your settings hooks and custom status line | Built-in mods, and what your organization manages |
| Managed settings, for administrators | User-installed mods, as far as the administrator chooses | Built-in mods, including the guard that enforces the policy |
disableAllHooks, --bare and --safe-mode among them, do not stop built-in mods 1./diff is a mod that can be disabled. The AGENTS.md loader is a mod. Telemetry is a mod. cc-plugin-sec-default, the guard that keeps user-installed mods away from what your organization manages, cannot be turned off by a user at all. cc-plugin-you-should-know, which "runs a side agent that watches your back while Claude works on longer tasks", starts off and takes one command to enable 1.third-party unless OTEL_LOG_TO_TOOL_DETAILS=1 is set; the plugin-installed event leaves the name fields out entirely for anything outside Anthropic's own marketplaces, and the analytics API does the same 6.claude plugin validate reads a plugin's manifest and source without running it, and prints the events its mod hooks and what it asks Claude Code to do, including files it reads and network requests it makes 12. Few extension systems of this kind hand you a static analysis of a plugin as a first-class command.
cc-plugin-you-should-know runs a side agent that watches Claude work on longer tasks, and shows a note above the prompt when it finds something worth flagging 1. A side agent is a second model loop against your usage. It ships disabled and takes one command to turn on, so it will not surprise anybody. It is also the demonstration Anthropic chose for its own extension system: one agent watching another, both metered.claude plugin validate will tell you what a mod hooks before you load it. On a machine holding a throwaway repository and a subscription, a mod that can approve the call your deny rule refused is a smaller exposure than the shell history in the same folder.third-party unless somebody set one environment variable.OTEL_LOG_TO_TOOL_DETAILS=1 so the logs name what loaded, and treat claude plugin validate as the review step a person performs rather than a check that performs itself. Done that way, Mods are a good feature and worth the install. Skipped, you have handed every plugin author on your team the same permissions you hold, and filed the result under permissions.code.claude.com
claude.dev
github.com
github.com
code.claude.com
code.claude.com
code.claude.com
air.security
support.claude.com
air.security
code.claude.com
claude.com
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.