{"version":"2.1.305","anchor":"skipped-hook-notice-to-the-model-is-restricted-for-names-tha","canonical_anchor":"skipped-hook-notice-to-the-model-is-restricted-for-names-tha","heading":"Claude is no longer told about skipped hooks with unusual names","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.305\/e\/skipped-hook-notice-to-the-model-is-restricted-for-names-tha","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.305","markdown":"### Claude is no longer told about skipped hooks with unusual names\n\nClaude is only told a plugin hook was skipped if the plugin and event names are plain identifiers\n\n**What**\n\nA hook is a command a plugin asks Claude Code to run when something happens, such as before a tool is used. When Claude Code skips a plugin's hook, it can pass a note about that to Claude. It now does so only if the plugin's name and the event names are plain identifiers (simple names made of ordinary characters). Otherwise Claude is not told, and Claude Code only records that the notice was withheld.\n\nBefore, the note was always passed on.\n\n**Why**\n\nIt stops a plugin from slipping instructions to Claude through a crafted plugin or event name, a trick known as prompt injection.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}