Hush banner
backbay-labs backbay-labs

Hush

Security community

Description

Portable security rules for the action boundary of AI agents

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

HushSpec

Portable, open specification for AI agent security rules

CI License Spec Version crates.io npm PyPI

Spec · Docs · Rulesets · JSON Schema


HushSpec is an open policy format for AI agent security rules. It defines **what** an agent may do at runtime, including filesystem access, network egress, tool usage, secret detection, and more, without prescribing **how** those controls must be enforced. That separation makes policies portable across runtimes, frameworks, and languages.

**v0.1.1-alpha** — The core spec, all four SDKs (Rust, TypeScript, Python, Go), and the `h2h` CLI are published and functional. Parse, validate, evaluate, merge, resolve, detect, sign, and audit your way through 10 rule types and 3 extension modules. The API surface is stabilizing but not yet frozen — expect refinements before v1.0.

Quick Example

hushspec: "0.1.0"
name: production-agent

rules:
  forbidden_paths:
    patterns: