All plugins

hermes-warden

Bitwarden built into Hermes. Easy: a lock tab installs the Bitwarden CLI, signs you in and unlocks, no terminal; one-click copy with auto-clearing clipboard. Integrated: works in Hermes Desktop, the Webapp and any chat (9 agent tools, /warden, the Hermes display language). Safe: secrets are typed only in masked dialogs, the session key lives only in memory, and secrets leave only to your clipboard or commands you approve; the agent never reads them from the vault. Disclosure — runs the Bitwarden CLI (bw), which talks to your Bitwarden server; Have I Been Pwned is queried (5-char SHA-1 prefix) only for a password check you approve; the CLI installer, only when you press Install, uses Homebrew or npm (npm pinned to the same release) or downloads the official Bitwarden build from github.com/bitwarden/clients, checked against the published SHA-256; a background broker process per Hermes profile holds the session key in memory and exits when locked and idle, and each named profile signs in to Bitwarden separately; warden_run executes the shell command you approve directly on the Hermes host (outside any terminal sandbox) with the chosen vault secrets in its environment; bw serve, which you start from the Warden tab, exposes the unlocked vault on 127.0.0.1 with no authentication to any local process while it runs; exports you approve in csv, json or zip format are written to disk unencrypted; osascript is used on macOS for host dialogs and clipboard; a pre_tool_call hook blocks the agent's terminal from running bw or reading the clipboard for 15 minutes after a secret was copied; settings (no secrets) under <Hermes home>/plugin-data/hermes-warden. No telemetry. Not affiliated with Bitwarden or Nous Research.

pedroberaldo8722Toolsv0.1.7Updated 1 day ago

About

Bitwarden built into Hermes. Easy: a lock tab installs the Bitwarden CLI, signs you in and unlocks, no terminal; one-click copy with auto-clearing clipboard. Integrated: works in Hermes Desktop, the Webapp and any chat (9 agent tools, /warden, the Hermes display language). Safe: secrets are typed only in masked dialogs, the session key lives only in memory, and secrets leave only to your clipboard or commands you approve; the agent never reads them from the vault. Disclosure — runs the Bitwarden CLI (bw), which talks to your Bitwarden server; Have I Been Pwned is queried (5-char SHA-1 prefix) only for a password check you approve; the CLI installer, only when you press Install, uses Homebrew or npm (npm pinned to the same release) or downloads the official Bitwarden build from github.com/bitwarden/clients, checked against the published SHA-256; a background broker process per Hermes profile holds the session key in memory and exits when locked and idle, and each named profile signs in to Bitwarden separately; warden_run executes the shell command you approve directly on the Hermes host (outside any terminal sandbox) with the chosen vault secrets in its environment; bw serve, which you start from the Warden tab, exposes the unlocked vault on 127.0.0.1 with no authentication to any local process while it runs; exports you approve in csv, json or zip format are written to disk unencrypted; osascript is used on macOS for host dialogs and clipboard; a pre_tool_call hook blocks the agent's terminal from running bw or reading the clipboard for 15 minutes after a secret was copied; settings (no secrets) under <Hermes home>/plugin-data/hermes-warden. No telemetry. Not affiliated with Bitwarden or Nous Research.

Hermes Warden

Bitwarden, built into Hermes.

No terminal, no setup guide: a tab with a button for each step.Then ask for a password from any chat, Telegram included.

The agent works with your vault and never reads a secret from it.

English · Português

GitHub stars
License: MIT
Hermes Warden 0.1.7
Hermes Agent ≥ 0.22.6
Bitwarden CLI 2026.10.1

Features · Installation · Usage · Privacy · How it works · Architecture · Changelog

If Hermes Warden is useful to you, a star on this repository helps other people find it.

Hermes Warden cover: a Greek statue holding a large padlock like a harp

What Hermes Warden does

The agent sees names, usernames and URLs, not the secrets in the vault.

The Warden tab in Hermes Desktop with sample data: the setup steps all done (Bitwarden CLI installed, server, logged in, vault unlocked) and the vault list below with User and Password copy buttons on each login

About

Hermes Warden doesHermes Warden does not
Install, sign in and unlock from a tab, one button per stepAsk you to type commands in a terminal
Work wherever Hermes does: Desktop, Webapp, any chatRun on Windows or cover Secrets Manager (bws)
Give the agent all 29 bw commands through 9 toolsShow the agent passwords, TOTP codes or your master password
Take secrets only in masked dialogs, copy with auto-clearAccept a secret typed in the chat, or keep the session on disk

[!WARNING]
Hermes Warden protects you from an agent that is tricked into misusing its tools (prompt injection in a page, an e-mail, an item name). It cannot protect you from code already running as your own user account. The limits

[!NOTE]
Tested on macOS with Hermes Desktop, the Webapp and Telegram, and in Linux containers (arm64 and x86_64) without a screen. Not yet run on a Linux desktop. What ran

Features

Every feature

  • A lock tab (sidebar Warden, or the lock chip in the status bar): is bw installed, which server, logged in, locked or unlocked, with a button for every step and links to bitwarden.com and the CLI docs.
  • Install the Bitwarden CLI from the tab: Homebrew, npm (pinned to bw 2026.10.1) or, when neither is there, the official Bitwarden build (the same bw 2026.10.1, from Bitwarden's GitHub releases, refused unless its SHA-256 matches).
  • Log in with the master password or an API key, including two-step and new-device codes; unlock, lock, sync, log out.
  • Vault browser: search, copy username, password, TOTP code, card number or note in one click, or reveal it in a masked dialog.
  • Generator: passwords and passphrases, masked until you choose to show them.
  • Settings: auto-lock (5 to 60 min), clipboard clearing (15 s to off), where dialogs appear, bw serve (the local REST API, started only by you).
  • 9 agent tools covering all 29 bw commands: items, folders, collections, organizations, attachments, Sends, import and export, and /warden (status, unlock, lock, sync, login) in any chat.
  • warden_run: run a command with vault secrets as environment variables; the output comes back with each value replaced by <warden:VAR>.
  • The agent can create a login with a generated password, or with one you type in a dialog, without ever seeing it.
  • The tab follows the Hermes display language: English, Chinese (Simplified and Traditional), Japanese, Arabic, Russian, French, German and Spanish.
  • A terminal guard: the agent cannot run bw unlock, bw get password and friends in a terminal.

What has been run end to end

  • On macOS, Hermes Desktop on a second Mac talking to Hermes on the first: install check, login, unlock, the vault list, copy with the clipboard clearing, reveal, the generator, approve and cancel dialogs, the command palette and switching the display language.
  • On macOS, the Webapp in a browser: the tab and the masked unlock dialog.
  • From Telegram: an unlock request from the agent reached the masked dialog in Hermes; nothing was asked in the chat.
  • In Linux containers (Debian, arm64 and x86_64), without a screen: the full test suite, the official installer with its checksum, the broker, and a cron job failing at once with unattended instead of waiting for a dialog.
  • Not yet run: a Linux desktop with Hermes Desktop, organizations shared with other people, and self-hosted servers.
  • The translations of the tab were made with AI and have not been reviewed by native speakers. Corrections are welcome.

Installation

You needNotes
Hermes Agent 0.22.6 or newerwith Hermes Desktop or the Webapp
A Bitwarden accountbitwarden.com, bitwarden.eu or self-hosted
macOS or LinuxWindows is not supported
The Bitwarden CLIoptional: the tab installs it for you
  1. Install the plugin.

    hermes plugins install pedroberaldo87/Hermes-Warden --enable
    

    Hermes warns that this is a "custom (unreviewed) source": expected for a plugin installed from a repository.

  2. Open Warden in the Hermes Desktop sidebar (or in the Webapp).

  3. Follow the steps in the tab: install the CLI if it is missing, choose the server, log in, unlock.

  • If Hermes Desktop runs on another computer than Hermes, install the plugin there as well, or install it from Desktop's own plugin installer, which sets up both halves.
  • To remove the plugin: hermes plugins remove hermes-warden.

If something does not show up

  • Without --enable, answer yes to "Enable now?", or switch the plugin on in Hermes Desktop under Capabilities → Plugins.
  • If Warden does not show up in the Desktop sidebar, open Capabilities → Plugins and turn on the Desktop switch of the Hermes Warden row.
  • If the tools or /warden do not show up, restart the gateway: hermes gateway restart.
  • After an update (hermes plugins update hermes-warden), restart the gateway the same way so it loads the new code. The vault locks once: unlock it again. If a tool answers restarted, ask again and a new dialog opens.
  • Since 0.1.2 every Hermes profile has its own Warden. If you used the Warden from a named profile before, that profile asks you to log in to Bitwarden once and starts from the default settings. The default profile keeps its login and settings.
  • If a warden_run command cannot find a variable it used to see, add it to env from a vault item: the command no longer inherits Hermes' environment.
  • If the agent answers no_surface, no window can show a dialog: open Hermes Desktop or the Webapp (on macOS, a logged-in session on the Hermes host also works).

Where it runs

macOSSupported. Dialogs in Hermes Desktop, or the macOS dialog on the Hermes host when no window is open.
LinuxSupported. Dialogs in Hermes Desktop or the Webapp (Linux has no host dialog).
WindowsNot supported (the broker needs Unix sockets); the plugin does not load there.
Telegram and other chatsThe agent works as usual; dialogs open in Hermes Desktop or the Webapp (or on the macOS host).
Cron jobs and background tasksNo dialogs: they fail at once with unattended. Unlock beforehand from an interactive session; the vault stays open until auto-lock.

The Bitwarden CLI

  • Tested with Bitwarden CLI 2026.10.1.
  • Errors are recognized by the messages bw prints, so a much older or newer CLI may report some failures as a generic error.

Configuration

  • Settings live in the tab, in the Settings card, and apply right away.
  • The agent can change them too (warden_session action=settings); loosening auto-lock or clipboard clearing asks you first.
SettingDefaultWhat it does
Auto-lock15 minlocks the vault after this much idle time (5, 15, 30 or 60 min)
Clear clipboard30 sclears a copied secret after this long (15 s, 30 s, 90 s or off)
DialogsAutowhere dialogs appear: Auto, This app, or the host dialog (macOS)
Local REST APIoffbw serve on 127.0.0.1; only you start it, and it stops when the vault locks
  • The settings hold no secrets; they are kept in <Hermes home>/plugin-data/hermes-warden/.
  • The plugin needs no API key and no environment variable.

Usage

WhereTry this
Hermes Desktop / WebappOpen Warden in the sidebar, unlock, and copy a password
Chat"Copy my GitHub password" · "Create a login for example.com with a strong password"
Chat"Which passwords are weak or reused?" · "Export the vault encrypted"
Any chat/warden · /warden unlock · /warden lock · /warden sync

The agent tools

ToolDoes
warden_statusInstall, login and lock state, with the next step
warden_sessioninstall, set_server, login, login_apikey, unlock, lock, logout, sync, settings
warden_findSearch items as metadata
warden_bwAny bw command, results sanitized; placeholders for generated or typed secrets
warden_editMerge a partial change into an item, folder, collection or Send
warden_secretdeliver (clipboard or reveal), generate, ask (masked dialog to a 10-minute slot)
warden_runRun a command with vault secrets as environment variables, output redacted
warden_transferexport, import, receive a Send
warden_serveStatus or stop of the local REST API (only you start it, from the tab)

When the vault closes itself

  • The agent's tools take keep_open (default true): each call that touches the vault leaves it open for the next call in the same flow, on a 90-second lease. The response carries _warden_session with the seconds left and the reminder to finish with warden_session action=lock; the janitor closes the vault on its own if the flow is abandoned. Pass keep_open: false to lock right after the call; a generated or typed secret (a slot) keeps the window because the next call consumes it.
  • In the tab, copying a secret (password, username, URL, card, note field) locks the vault immediately after the copy, and the clipboard clears on its own timer. No extra window while you are away from the keyboard.
  • The inactivity auto-lock (15 minutes by default) still applies to whatever is left open by a login you started from the tab, and the janitor never locks in the middle of a running call.

What asks you first

  • Every delivery of a secret to your clipboard or screen. Plain usernames and URLs of logins unchanged for a week go without one; otherwise the dialog shows the value.
  • Saving an attachment, deleting, moving to an organization, creating in an organization, editing a Send, overwriting an item, any edit beyond name, favorite and folder, and copying a secret from one item to another.
  • Uploading a file, exporting, importing, opening a Send, logging out, changing the server, loosening auto-lock or clipboard clearing, and installing the CLI.
  • warden_run: the dialog lists which item feeds each variable, then the full command.
  • A login password the agent writes itself (instead of a generated or typed one) and a Have I Been Pwned check.
  • Dialogs name the item and its short id, and the action runs on exactly that item.
  • Buttons you press in the tab are your own click and skip the dialog.

What the agent sees

  • Names, usernames, folders and the domain of each URL, plus word-like path parts.
  • Credentials, query values, fragments and token-like parts of URLs are hidden, and so are custom field values (their names stay).
  • Searches by the agent match item names, usernames and URLs, and Send names; never notes, Send text or secrets.

Privacy and disclosure

WhatIn short
Your secretsStay between you, Bitwarden and the commands you approve
The unlocked sessionIn the memory of a local broker, never on disk; auto-locks
NetworkOnly your Bitwarden server, and what you approve
The agentSees metadata only: names, usernames, domains
TelemetryNone: no analytics, no server of ours

What it does on your machine

  • Network: bw talks to your Bitwarden server (bitwarden.com, bitwarden.eu or self-hosted).
    • A password check asks Have I Been Pwned for the first 5 characters of the password's SHA-1 hash, only when you approve it.
    • The installer downloads from Homebrew, npm or Bitwarden's GitHub releases, only when you press Install.
    • Nothing else; no telemetry.
  • Commands: bw; brew or npm when installing; osascript on macOS for host dialogs and the host clipboard.
  • Background processes: the broker (exits once the vault is locked and idle) and bw serve while you keep it running from the tab.
  • Files: settings (no secrets) and the downloaded bw, if any, under <Hermes home>/plugin-data/hermes-warden/; exports and attachments only where you approve.
  • Hermes profiles: each profile has its own Warden: its own settings, broker and unlocked session, under that profile's home. Unlocking the vault in one profile unlocks nothing in another. A named profile also keeps its own Bitwarden login (in bw-data/ under its folder), so you log in once per profile; the default profile uses the login bw already has on this computer.
  • Approved commands (warden_run): run on the Hermes host with a minimal environment (PATH, HOME, user, locale, terminal, temp folder, shell, proxy and certificate settings) plus the secrets you approved. Hermes' own variables, such as provider and gateway keys, are not passed.
  • Terminal guard (pre_tool_call hook): blocks the agent's terminal from running bw or reaching the broker, and from reading the clipboard during the 15 minutes after a secret was copied for you (in every profile, since the clipboard is shared). Nothing else is affected.

Limits

  • What it protects against: an agent that is tricked (prompt injection in a web page, an e-mail, an item name) into misusing its tools.
  • What it cannot protect against: code running as your own user account. Such code could also read the Desktop app's session, so no local tool can stop it; that is the job of Hermes's terminal approvals. As a backstop, the Warden blocks terminal and code-runner calls that invoke bw or touch its socket.
  • The output redaction of warden_run is best effort (it catches the value and its base64, hex, URL and reversed forms). Your approval of the command is the real control.
  • A random URL token made only of lowercase letters can look like a word and stay visible to the agent.
  • bw export --password only accepts the file password on the command line, so for that one call the password is visible to other processes of the same user for the duration of the export.
  • Dialogs need Hermes Desktop or the Webapp open, or a logged-in macOS session on the Hermes host. With none of them, the tool returns no_surface instead of asking in chat.
  • Host dialogs (macOS) are in English.
  • Bitwarden Secrets Manager (bws) is not covered.

How it works

You⇄ Masked dialog⇄ Warden broker⇄ Bitwarden CLI⇄ Your Bitwarden server
in Desktop, Webapp or on the hostthe only way a secret comes inholds the session in memorybw, on the Hermes hostbitwarden.com, .eu or your own
  • The agent talks to the broker through 9 tools and gets metadata back, never secrets.
  • Secrets go out to your clipboard (cleared), a masked reveal, or a command's environment.
  • Stores: settings only; the session key never touches the disk.

Broker (hermes_warden/broker.py)

  • A small process that holds the unlocked session key in memory, the way ssh-agent does.
  • It listens on a private Unix socket (owner only), never writes the key to disk, locks the vault after the idle time you choose, and exits once locked and idle.
  • Every bw call gets passwords through a randomly named environment variable, never through the command line.
  • It asks you before anything risky, so no tool can skip the dialog.

Agent tools and command (hermes_warden/tools.py, __init__.py)

  • Commands from the agent are parsed and checked against an allowlist; options like --raw or --session cannot be used to sneak around it.
  • Secret placeholders ($generate, $slot, $item) only work inside secret fields, and every resolved value is scrubbed from the answer.

Desktop tab (desktop/plugin.js, dashboard/plugin_api.py)

  • Plain JavaScript on the Hermes Desktop plugin SDK, with REST routes in the Hermes dashboard.
  • The same tab runs in Hermes Desktop and in the Webapp.

Skill (skills/bitwarden/SKILL.md)

  • Tells the agent how to use the tools, and what to do on no_surface, unattended and a locked vault.

Development

python -m pytest tests -q        # runs against a fake bw, no account needed
hermes plugins validate .

Security

  • Please report vulnerabilities privately, through Report a vulnerability in this repository's Security tab.

Contributing

  • Issues and pull requests are welcome, especially from Linux desktop users and people who read one of the tab's languages.

License

MIT, see LICENSE. Copyright (c) 2026 Pedro Beraldo.

Author. Pedro Beraldo: GitHub · X

Independent project: not affiliated with or endorsed by Bitwarden or Nous Research.

How it was built

  • Hermes Warden was built with Hermes Agent itself.
  • Pedro Beraldo defined the product, the security rules and what ships; an AI agent using a Claude model wrote the code and the tests, and ran the reviews and the end-to-end tests.

What belongs to Hermes

  • Hermes Agent and Hermes Desktop are made by Nous Research (MIT).
  • Hermes Warden is built on their plugin interfaces.

Third-party code

  • The plugin bundles no third-party library: the Python code uses the standard library and what Hermes provides, and the Desktop code imports only what Hermes Desktop provides at runtime.

Bitwarden

  • Bitwarden is a trademark of Bitwarden, Inc.
  • Hermes Warden is not affiliated with or endorsed by Bitwarden. It drives the official Bitwarden CLI, which you install from Bitwarden.

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

More by pedroberaldo87

2 plugins by pedroberaldo87 in the catalog.

pedroberaldo87hermes-tubeTake back control of what you watch. HermesTube puts your YouTube subscriptions in Hermes Desktop: tabs you make by folder, tag, channel or topic, a folder pane, a channel manager with undo, folder suggestions from your Hermes model, topic tabs it builds from YouTube search, and videos in Hermes's own player. New and still experimental: a cleanup list you approve, /tube buttons on Telegram and scheduled routines. Disclosure: the gateway fetches public www.youtube.com pages only (channel feeds and pages, uploads and Shorts playlists, video, /shorts and search pages, also in a background pass after refreshes), without login, and, for the favorites routine's Telegram message, one cover image per new video from i.ytimg.com; it connects to public addresses only (198.18.0.0/15 only when declared in security.fake_ip_ranges) and sends YouTube's anonymous consent cookie SOCS=CAI to YouTube hosts only; Desktop loads thumbnails and avatars from YouTube's image hosts and plays videos in Hermes's own embed. A separately installed Chrome extension, the only link to the YouTube account, unsubscribes only channels a person approved in Desktop or at the /tube cleanup prompt of the local Hermes CLI (chat apps only list them), and only after one Run now click in its popup, which releases the current queue (up to 100 items) for 2 hours. It talks only to the plugin's own server (ports 47615-47624). That server listens on 127.0.0.1 by default; only when the person turns on Another computer in Desktop does it listen on 0.0.0.0, and then it admits only loopback and private IPv4 addresses on the Hermes computer's own subnets (no IPv6, no link-local, no public address, the machine's name never accepted as Host), and never without the cryptography package. With that option on, /health answers the local network without a token (service name, a random instance id, whether pairing is open, a session nonce). Every authenticated route runs on a sealed channel (HMAC-signed requests, AES-GCM bodies and answers, keys from the device token and a session the server issues); a token in a Bearer header is accepted only from loopback, for extensions older than 0.2.2. Pairing is approved on the Hermes computer: a one-time invitation inside the folder (loopback only) or a 6-digit code exchanged by SPAKE2, and the device token is returned encrypted under that exchange's key. Desktop reads and changes the choice through the plugin's REST routes GET/POST /network and downloads the extension for another computer as a zip through GET /extension/download, all behind Hermes's sign-in. On upgrade, existing pairings keep working, and an older extension on the Hermes computer keeps its token in a header until it is updated. The extension records nothing before pairing and keeps its token in its own IndexedDB, out of reach of the youtube.com content script; its bar on youtube.com can also organize the library after a real click (move, favorite, follow in HermesTube, reorder, Watch later, local playlists, its own preferences), cannot delete, rename, approve or queue anything, and its folder and channel changes enter the change history; the approve and pairing RPCs accept any client authenticated to the gateway. Organize, cleanup reasons and topic tabs send channel names and video titles to the user's model through ctx.llm. The plugin registers no automation blueprint; cron jobs made from the blueprints of earlier versions stay in the cron until the person removes them (tube_status lists them with the remove command; the plugin never edits the cron). After a button confirmation, /tube routines writes scripts to HERMES_HOME/scripts and creates cron jobs, which run with no tools or no model. The favorites routine sends each new video to Telegram by running hermes send with a fixed argument list; it reads cron/jobs.json read-only to find the chat and never reads the bot token. Only on a click in Desktop, Set up the extension copies the extension bundled in the plugin to a fixed HermesTube Extension folder in the home folder (refusing one it did not create) and opens the Extensions page of one Chromium browser (chosen from a closed list of those found in fixed install places; no profile is read) and the file manager with fixed argument lists and time limits; the extension rewrites its own folder only after the person clicks Update and Chrome's Save changes, with every file checked against Hermes's hashes first; a second button only drafts a fixed help request in a new chat, which the person sends. Data in HERMES_HOME/plugin-data/hermes-tube. For every profile, at most once a day during a refresh and with no network, the plugin deletes finished AI jobs after 30 days, expired searches and unsaved topic previews; the maintenance job of /tube routines also prunes the change history past 90 days or 10,000 rows and moves old ex-subscriptions out of the list. Child processes get a minimal environment without provider keys, except hermes send; no shell commands, credentials or telemetry; the README lists the known limits. Formerly MyTube, by the same author; not affiliated with YouTube, Google or Nous Research.CommunityDesktop app11

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section