{"version":"2.1.328","anchor":"hook-owned-tool-checks-are-no-longer-rewritten-by-the-allow","canonical_anchor":"hook-owned-tool-checks-are-no-longer-rewritten-by-the-allow","heading":"Tool calls made by plugins and hooks go through real permission checks","tier":"notice","area":"Plugins","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/hook-owned-tool-checks-are-no-longer-rewritten-by-the-allow","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Tool calls made by plugins and hooks go through real permission checks\n\ntool.check now runs each tool's permission check, keeps hook-owned results, and a default hipaa-default module applies managed deny rules to plugin calls\n\n**Unclear.** It is not clear what the skipped handling did, so the practical difference for hook-owned calls is unknown.\n\n**What**\n\nPlugins, mods (add-ons that run inside Claude Code) and hooks (your own scripts that run at set moments) can make tool calls of their own. A tool call is one action, such as reading a file or running a program. The `tool.check` step that judges those calls changes:\n\n- `tool.check` now runs the tool's own permission check instead of calling the tool directly. It adds a classifier path (an automatic safety judgement) and reports an error if \"the tool container did not answer with a verdict\".\n\n- A result is now passed back unchanged when the call came from a hook (it has a `hookOwner`), not only when the result is a deny. The allow path no longer rewrites decisions for hook-owned calls.\n\n- A new built-in hooks module, `hipaa-default`, handles `tool.check`. It refuses a plugin's or settings hook's own calls to MCP tools an administrator blocked, and to tools, files or processes covered by a managed deny rule, with a message such as \"is blocked by your organization or role, or switched off for this session.\" Its `fs.*` and `process.*` operations get permission checks. It is turned on by default, but only from trusted settings or policy.\n\n**Why**\n\nCode inside a plugin or hook can no longer get around the deny rules your organization manages, which matters most in regulated setups. Permission decisions for those calls now follow the same rules as Claude's own tool calls.\n\n- Area: Plugins\n- Names: `tool.check`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: yes"}