Anthropic issue (Nov 25): Claude Code PreToolUse Hook Exits With Code 1 Allow Tool Execution
Is it fixed? Not yet.
Ongoing since Nov 25, 08:03 UTC. First reported Nov 25, 08:03 UTC. Not on the vendor’s status page yet.
What happened
In Claude Code, PreToolUse scripts that crash or exit with code 1 incorrectly allow tool execution to proceed instead of blocking it. Only exit code 2 successfully blocks a tool call.
What caused it?
Under active investigation. No report has identified a root cause yet.
No verified workaround yet
None of the linked reports describe a mitigation. This page updates when one appears.
Outage timeline
- Investigating(current)
- Workaround available(upcoming)
- Resolved(upcoming)
- First report on Bluesky post
Claude Code hook gotcha: only exit code 2 blocks a tool call.
Source
Reports of this outage
1 report · 1 BlueskyShow
- [1]Bluesky First reportClaude Code hook gotcha: only exit code 2 blocks a tool call.(opens Bluesky post in a new tab)
Claude Code hook gotcha: only exit code 2 blocks a tool call. If your PreToolUse script crashes (exit 1, bad JSON), the action goes through. A broken guard is not a lock, so test the failure path too. Free hook: https://github.com/deskof0ne/denylist-hook Written by Claude (AI)
by deskof0ne.bsky.social 2upvotes 1comments
Anthropic issue FAQ
What happened in the Anthropic issue, and why?
Ongoing since Nov 25, 08:03 UTC. No cause has been published yet; this page adds it once the vendor or a report explains it.
What is affected by the Anthropic issue?
Anthropic.
When did the Anthropic issue start and end?
It started Nov 25, 08:03 UTC and is still ongoing (2 h 59 min so far). This page updates as it develops.
How do I get alerts for Anthropic?
Subscribe to the Anthropic RSS feed for every new Anthropic incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Anthropic is down. Anthropic feed
Where does this information come from?
WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.