Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By emiliaprotocolv0.1.0Apache-2.0In 1 marketplace
Holds risky Claude Code actions like destructive shell, secret-file writes and wire transfers until a named human approves. Its hook never returns allow, and the optional EMILIA mode needs an EP_API_KEY and routes money and external calls to its remote policy engine.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A human confirmation safety net for common high-risk Claude Code actions.
Anthropic's own data on ~1M production tool calls found that 0.8% of agent actions are irreversible — moving money, deleting data, modifying production, communicating externally — and that those are exactly the actions that should "require mandatory human approval before execution" (Measuring agent autonomy).
Claude Code already lets you prompt for those. EMILIA Guard adds a conservative classifier and can collect a named-human, offline-verifiable receipt for the classifier's projected action. The hook is not the exact authorization boundary. Encoded, split, or novel command shapes can evade a substring classifier, and the hook does not independently bind every native provider argument.
The hook therefore never emits allow. A matched action returns ask or
deny, even after a remote approval. Exact command mapping, one-time admission,
and receipt enforcement belong in the credential-owning shell, MCP server, or
provider integration.
/plugin marketplace add emiliaprotocol/emilia-protocol
/plugin install emilia-guard@emilia-protocol
That's it. With no further config you're in local mode: any high-risk tool
call (destructive shell, writes to .env/secrets/CI, money/external MCP tools)
is held for an explicit human prompt. Zero account required.
Set two env vars and high-risk financial/external actions get minted against EMILIA's formally-verified policy engine, then routed to a real approver's device:
export EP_API_KEY="ep_live_…" # from emiliaprotocol.ai
export EP_ORG_ID="your-org-id"
Money/external MCP calls go to the policy engine; purely local risk (destructive shell, secret files) stays a local human prompt — it never pollutes the financial audit trail. When Claude (via an MCP tool, e.g. a payments or email server) tries to move money or send something, the hook:
EP_SIGNOFF_TIMEOUT_S, default 30s and capped at 60s),ask with the receipt reference so the operator reviews the exact
native command before proceeding. Verify the receipt offline with
npx @emilia-protocol/verify.This exact flow ran end-to-end against the live API (2026-06-10): a simulated
mcp__payments__create_wire_transfer for $82,000 was intercepted, a Trust
Receipt was minted by the formally-verified policy engine, a real signoff
opened, the hook polled, no human approved, and it returned:
{ "permissionDecision": "ask",
"permissionDecisionReason": "EMILIA — signoff timed out after 35s. Approve at https://www.emiliaprotocol.ai/signoff/sig_…, or confirm manually. Failing closed." }
The same protocol's device signoff is accepted on real hardware — a Touch ID
approval of an $82,000 wire whose receipt verifies offline (all six checks,
forgery rejected, key_class: A, time_to_sign_ms: 20532):
| The hold | The signed approval |
|---|---|
![]() | ![]() |
The approved screenshot's context hash (b68e427d…) is the same hash the
offline verifier reproduces from the receipt — screenshot, receipt, and math
agree on one event.
For every call the heuristic classifies, an error, timeout, denial, ambiguity,
or approval returns ask or deny, never allow. Unmatched calls pass back to
Claude Code's normal permission flow. That pass-through is not a security
verdict. Deployments needing exact enforcement must integrate EMILIA at the
credential-owning execution boundary.
The built-in classifier is conservative. Add your own triggers (plain case-insensitive substrings, one per line — no regex needed):
export EP_GUARD_PATTERNS=$'wire\nproduction\nacme-corp\ninternal-prod-db'
| Tool | Trigger |
|---|---|
Bash | rm -rf, git push --force, git reset --hard, DROP/TRUNCATE/DELETE FROM, dd, mkfs, pipe-to-shell, npm publish, terraform apply, kubectl delete, aws … delete/terminate, sudo, reading .env |
Write/Edit | paths under .env, .ssh/, .aws/, *.pem, credentials, secrets, /etc/, .github/workflows/ |
mcp__* | tool names implying money/external action (pay, transfer, wire, send, email, publish, deploy, delete, revoke, …) |
| anything | your EP_GUARD_PATTERNS substrings |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
npx claudepluginhub emiliaprotocol/emilia-protocol --plugin emilia-guard