Back to browse
GitHub Repository

"I'm sorry, Dave. I'm afraid I can't do that." — Lean command guard for AI coding agents.

7 starsPython

HAL – Harmful Action Limiter: Lean command guard for AI coding agents.

by otherland26·Mar 13, 2026·3 points·9 comments

AI Analysis

●●SolidBig BrainSolve My Problem

Structural command parsing beats regex for catching dangerous agent actions.

Strengths
  • Parses command structure, not strings—commit messages mentioning rm don't false positive
  • YAML rules block --force unless --force-with-lease is present, path-aware rm -rf checks
  • Copilot hook integration means it ships with rules, not just plumbing
Weaknesses
  • Only works with agents supporting hooks—limited to Copilot-compatible tools
  • 3 stars and 5 issues suggest early stage, unclear production adoption
Category
Target Audience

Developers using AI coding agents like Cursor, Copilot, or Claude Code

Similar To

Cursor agent safety · Cline permissions · GitHub Copilot hooks

Similar Projects