Unverified50% confidenceReleaseExact time
v2.1.332 added the PreSkillShellCommand hook event, allowing interception and rejection when the inline shell commands of a skill or command are loaded.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
11/25/2026
First Seen
Valid until: 2/23/2027
Sources
Related Entities
Related Claims
Unverifiedv2.1.294 fixes the misclassification behavior of instruction-based hooks, enabling them to correctly block according to their literal intent.68% similarUnverifiedThe PreToolUse hook can block tool calls by returning exit code 2, thereby intercepting dangerous operations.66% similarUnverifiedPreToolUse and PostToolUse hooks intercept before and after tool execution respectively, and together with the Stop hook they form the policy injection points within the loop.66% similarUnverified用echo替换eval的干运行策略与DevOps领域的ansible-playbook --check、terraform plan等预检命令背后的安全理念一致66% similarUnverifiedHooks are Shell commands bound to session lifecycle events (such as before and after tool calls, and at session end), enforced by the Claude Code runtime without relying on model decisions, making them suitable for deterministic quality gates.64% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1204917API
curl https://kongchang.com/api/v1/knowledge/claims/1204917MCP
get_claim(id=1204917)