All tiny agents
Permissions

Shell Gate

A shell command gate that refuses what it cannot parse.

What it does

An approval gate for an agent's shell tool. It rejects args the model should not own, refuses any syntax it does not model, splits what is left on control operators, and approves only exact commands. Nothing is executed.

The guardrail

Exact-command approval for a shell tool, failing closed on unknown syntax.

shellapprovalfail closed

Run it

git clone https://github.com/bobbyhalljr/tiny-shell-gate.git && cd tiny-shell-gate
npm install
npx tsx gate.ts
Repo
tiny-shell-gate
Language
TypeScript
Stars
0
Price
Free