Show HN: Bright Lines – a fail-closed guard hook for Claude Code
Category: security
Tags: ai-agent, safety, claude-code, guard, prompt-injection
Score: 6.3/10 (Innovation: 6, Technical: 6, Documentation: 8, Utility: 5)
Bright Lines is a fail-closed guard hook for Claude Code that intercepts tool calls to block dangerous actions like bulk deletion, network sends, and secret reads, while requiring human approval for edits and commands. It stands out for its layered defense, explicit threat model, and extensive pre-release attack testing that documents what pattern-matching hooks can and cannot catch.
Target audience: developers using AI coding assistants, security engineers
Repository: https://github.com/LeriderTechnologies/bright-lines · Python · MIT
View on Hacker News