All plugins

passkey-gate

Approve your agents' risky actions with your phone's passkey, even when you're not at the agent's keyboard. An agent asks for approval of an exact action (and optionally the exact command); you get a link in any chat, read it on your phone and sign with Face ID, a fingerprint or your screen lock; the agent then verifies your signature locally against your pinned key before acting. A relayed 'the human said yes' proves nothing; only your signature counts. Optional enforcement blocks matching tool calls until you approve them, and each approval runs once. Includes a guided setup wizard, a background service, a hash-chained audit log, and approvals between agents owned by different people. It is an honest approval record, and becomes a hard boundary only when agents can't modify the gate (see the README's Security model). Lanes choose which conversations need a passkey: you at the keyboard, your own chat accounts, other people, bots or other agents. It can also act as Hermes's approval transport, so a command Hermes itself flags needs your passkey. Disclosure — runs a small web server on 127.0.0.1 that your phone reaches over HTTPS (by default published to your own tailnet with tailscale serve); can install a background service (systemd user unit or LaunchAgent) that runs as you; runs tailscale, systemctl --user/launchctl and a short Python process to time new patterns, never with elevated privileges; contacts only its own address and any peer gates you allowlist, follows no redirects, no telemetry; stores passkey public keys, requests, the pinned key, an audit log and a remote-minting token in its plugin data folder (no private keys); its hooks note each turn's platform, sender id and bot flag in memory only; as the approval transport (off until you select it) it posts one message into the conversation with the approval link for a command Hermes flagged, or one line saying it couldn't, and rewords one blocked tool result when a passkey request went unanswered; setup can change Hermes's security.approval.transport and transport_fallback settings, after asking; ships two test skills an agent runs only when asked; with enforcement on, any failure blocks the call; only your pinned passkey can approve, and anyone with an approval link can read and deny that request; patterns are a best-effort list, not a sandbox.

codepilotsToolsv0.10.0Updated 15 days ago

About

Approve your agents' risky actions with your phone's passkey, even when you're not at the agent's keyboard. An agent asks for approval of an exact action (and optionally the exact command); you get a link in any chat, read it on your phone and sign with Face ID, a fingerprint or your screen lock; the agent then verifies your signature locally against your pinned key before acting. A relayed 'the human said yes' proves nothing; only your signature counts. Optional enforcement blocks matching tool calls until you approve them, and each approval runs once. Includes a guided setup wizard, a background service, a hash-chained audit log, and approvals between agents owned by different people. It is an honest approval record, and becomes a hard boundary only when agents can't modify the gate (see the README's Security model). Lanes choose which conversations need a passkey: you at the keyboard, your own chat accounts, other people, bots or other agents. It can also act as Hermes's approval transport, so a command Hermes itself flags needs your passkey. Disclosure — runs a small web server on 127.0.0.1 that your phone reaches over HTTPS (by default published to your own tailnet with tailscale serve); can install a background service (systemd user unit or LaunchAgent) that runs as you; runs tailscale, systemctl --user/launchctl and a short Python process to time new patterns, never with elevated privileges; contacts only its own address and any peer gates you allowlist, follows no redirects, no telemetry; stores passkey public keys, requests, the pinned key, an audit log and a remote-minting token in its plugin data folder (no private keys); its hooks note each turn's platform, sender id and bot flag in memory only; as the approval transport (off until you select it) it posts one message into the conversation with the approval link for a command Hermes flagged, or one line saying it couldn't, and rewords one blocked tool result when a passkey request went unanswered; setup can change Hermes's security.approval.transport and transport_fallback settings, after asking; ships two test skills an agent runs only when asked; with enforcement on, any failure blocks the call; only your pinned passkey can approve, and anyone with an approval link can read and deny that request; patterns are a best-effort list, not a sandbox.

passkey-gate

Approve your agents' risky actions with your phone's passkey, and get
cryptographic proof of exactly what you approved.

An agent that wants to do something consequential asks for approval. You
get a link, read the exact action on your phone, and sign it with Face ID,
a fingerprint or your screen lock. Before acting, the agent checks your
signature itself against your key. A message saying "the human said it's
fine" proves nothing; only your signature counts. It works even when you're
nowhere near the agent's keyboard.

Get started

You need Tailscale on this computer and your phone (same tailnet, HTTPS
certificates enabled), or your own HTTPS proxy, and a phone that supports
passkeys.

hermes plugins install codepilots/hermes-plugin-passkey-gate#plugin
hermes passkey-gate setup

The wizard takes about three minutes. It starts the gate (optionally as a
background service), gives it an HTTPS address on your tailnet, shows a QR
code for your phone, and asks you to type the code your phone then shows.
Only the passkey with that code is trusted. It can also switch on
enforcement (a best-effort list of risky calls, or every terminal, code and
file-edit call in strict mode), which blocks matching tool calls until you
approve them; each
approval lets the call run once.

Run setup in your own terminal, never through an agent.

What it does on your machine

  • Runs a small web server on 127.0.0.1 (default port 8655), in a
    terminal (serve) or as a background service if you choose
    (service install, a systemd user unit on Linux or a LaunchAgent on
    macOS, written to your home directory).

  • Runs these commands only when you use the matching feature:
    tailscale status and tailscale serve (to publish the HTTPS address,
    which adds a rule to your tailnet's serve configuration), and
    systemctl --user, journalctl --user, loginctl or launchctl (for
    the background service). It never runs anything with elevated privileges.

  • Makes network requests only to its own HTTPS address (health checks
    and verification), and to other people's gates only if you list them in
    parent_gate_allowlist. No third-party services, no telemetry.

  • Stores passkey public keys, requests, the pinned key, the audit log
    and the remote-minting token in its own Hermes plugin data folder. No
    private keys are stored anywhere.

  • Hermes's own prompts, if you choose. Select the gate as Hermes's
    approval transport (setup offers it) and a passkey approval also answers
    Hermes's prompt for that command, so you approve once. Turn on
    passkey_hermes_prompts as well and every command Hermes itself flags as
    dangerous needs your passkey: the gate posts the approval link into the
    chat the command came from and the command waits for your signature. It
    posts nothing unless that setting is on.

Learn more

The full README covers how verification works, enforcement, approvals
between agents owned by different people, every command and setting, the
security model and troubleshooting:
https://github.com/codepilots/hermes-plugin-passkey-gate

MIT licensed.

README from the reviewed commit fa737f7; it updates when the author re-pins.

More by codepilots

2 plugins by codepilots in the catalog.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section