{"version":"2.1.267","anchor":"plugin-hooksjson-now-warned-on-unknownmalformed-keys","canonical_anchor":"plugin-hooksjson-now-warned-on-unknownmalformed-keys","heading":"Plugin hooks.json now warned on unknown\/malformed keys","tier":"notice","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.267\/e\/plugin-hooksjson-now-warned-on-unknownmalformed-keys","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.267","markdown":"### Plugin hooks.json now warned on unknown\/malformed keys\n\nClaude Code now warns about unknown or malformed keys in a plugin's hooks.json\n\n**What**\n\nA plugin's `hooks.json` file (which defines hooks \u2014 scripts that run automatically at certain points, like before a tool runs) is now checked against an allow-list of valid keys. If it contains keys that aren't recognized, or if a hook entry is missing its required `matcher` or `hooks` fields, Claude Code now emits a warning listing the offending keys, summarizing with \"... and N more\" if there are many.\n\n**Why**\n\nThis helps plugin authors catch typos or malformed configuration in their `hooks.json` files early, instead of having the mistake silently ignored.\n\n- Area: Plugins\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}