Tell HN: Claude Code just accepted and signed a contract for me. Without asking
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
Tell HN: Claude Code just accepted and signed a contract for me. Without asking
Unofficial Hacker News client; not affiliated with Y Combinator.
nobu666 · · focus · HN ↗
One thing I learned: my first version returned "ask". In auto permission mode no prompt appeared and the click went through. Returning "deny" stops it in any mode, and Claude then tells you what it was about to do.
It would not have fully prevented the case above. Stamping a signature PNG onto a PDF would typically happen in Bash, which the hook doesn't inspect. It would only stop the final send if that goes through an MCP tool named send_*. Coordinate clicks and pressing Enter also pass.
<a href="https://github.com/nobu666/irreversible-guard" rel="nofollow">https://github.com/nobu666/irreversible-guard