Przejdź do treści
Biblioteka skilli
Bezpieczeństwo · Przegląd i audyt

hermes-security

/hermes-security

Zabezpiecza instalację Hermes: zatwierdzenia, niebezpieczne polecenia, sekrety, zapisy plików i bramkę wysyłki, by nic nie wyszło bez zgody.

Repozytorium
agents ↗
Licencja
MIT
Ostatnia zmiana repozytorium
13.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
7
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
8
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Zabezpiecza instalację Hermes: zatwierdzenia, niebezpieczne polecenia, sekrety, zapisy plików i bramkę wysyłki, by nic nie wyszło bez zgody.

Wyzwalacze z opisu

s go (native config + exact preview + audit of the server
Oryginalny opis (EN)

Use when securing a Hermes Agent setup - what Hermes asks a human to approve natively (approvals.mode, dangerous commands, untrusted MCP calls, spend limits, write approvals), approvals.deny and the hardline blocklist, YOLO, terminal backends and sandboxes, file write safety, secrets in .env and secret managers, the go gate so nothing leaves without the owner's go (native config + exact preview + audit of the server's existing send mechanism), or sealing private and company profiles from each other. Not for messaging adapter setup (hermes-gateways), plugin/MCP installation (hermes-extend) or o

Jak działa

  1. Freshness check
  2. Native vs pattern
  3. Critical rules
  4. Workflow
  5. Sources
Sekcje z nagłówków SKILL.md, w oryginale · 87 linii, 622 słów
Podgląd SKILL.md
---
name: hermes-security
description: Use when securing a Hermes Agent setup - what Hermes asks a human to approve natively (approvals.mode, dangerous commands, untrusted MCP calls, spend limits, write approvals), approvals.deny and the hardline blocklist, YOLO, terminal backends and sandboxes, file write safety, secrets in .env and secret managers, the go gate so nothing leaves without the owner's go (native config + exact preview + audit of the server's existing send mechanism), or sealing private and company profiles from each other. Not for messaging adapter setup (hermes-gateways), plugin/MCP installation (hermes-extend) or outbound wording rules (hermes-outbound).
versions:
  hermes-agent: "0.23.0"
user-invocable: false
references:
  - references/approval-model.md
  - references/sandbox-backends.md
  - references/secrets.md
  - references/locked-send-pattern.md
  - references/privacy-partition.md
  - references/templates/security-config.yaml
related-skills:
  - hermes-core
  - hermes-gateways
  - hermes-extend
  - hermes-outbound
  - hermes-chief-of-staff
  - hermes-delegation
---

<objective>
Make a Hermes Agent profile safe to let act for an owner: know exactly which
actions Hermes 0.23.0 gates with a human approval and which it does not, block
what must never run, choose a sandbox that matches the risk, keep credentials
out of reach of the model, enforce "nothing is sent without the owner's go"
with the go gate (not a native feature; the plugin ships no send script), and keep private and company
profiles sealed. Native behaviour is cited from the official docs; patterns are
labelled **Pattern**.
</objective>

# Hermes Security

## Freshness check

Before writing or changing any Hermes config, run `hermes --version` and
`hermes update --check`, then read
https://github.com/NousResearch/hermes-agent/releases/latest. If the installed
or latest version is newer than 0.23.0, read every release note since 0.23.0
("Upgrade notes" first) and adjust. Never apply guidance from this skill to a
newer version without that check.

## Native vs pattern

| Need | Status in 0.23.0 | Where |
|------|------------------|-------|
| Human approval of dangerous terminal commands | Native (`approvals.mode`) | [approval-model.md](references/approval-model.md) |
| Never-run list that survives YOLO | Native (`approvals.deny` + hardline blocklist) | [approval-model.md](references/approval-model.md#floors-that-nothing-overrides) |
| Per-call approval of an MCP tool | Native (`trust: untrusted`, `spend_limit`) | [approval-model.md](references/approval-model.md) |
| Staged memory / skill writes | Native, opt-in (`*.write_approval`) | [approval-model.md](references/approval-model.md) |
| Isolation of agent commands | Native backends (`terminal.backend`) | [sandbox-backends.md](references/sandbox-backends.md) |
| Secrets out of the model's reach | Native (`.env`, secret sources, redaction, env sanitizing) | [secrets.md](references/secrets.md) |
| No email/message leaves without the owner's go | **Pattern** - not a Hermes setting | [locked-send-pattern.md](references/locked-send-pattern.md) |
| Private vs company sealing | Partly native (profiles) + **Pattern** (filesystem, credentials) | [privacy-partition.md](references/privacy-partition.md) |

## Critical rules

1. **Never tell an owner "Hermes will ask before sending".** Sending
   (`hermes send` from the terminal, cron delivery, the Email adapter's
   replies) is not an approval-gated action. Enforce it with the go gate
   ([locked-send-pattern.md](references/locked-send-pattern.md)). (`send_message` is not registered as a model tool at v0.23.0:
   tools/send_message_tool.py L28-30, toolsets.py L186-187.)
2. **A rule the model can break is a wish.** Enforcement lives in OS
   permissions, missing credentials, `approvals.deny` and sandbox mounts -
   SOUL.md rules only explain the intent.
3. **Never `approvals.mode: off` / YOLO** on a profile that acts for an owner.
   `cron_mode` / `single_query_mode: approve` is set on the chief (root
   profile) only; manager and worker profiles keep the default `deny` - there
   is no inheritance from the root config
   ([approval-model.md](references/approval-model.md)).
4. **Container backends skip dangerous-command approval** - the container is the
   boundary, so audit its mounts, `docker_forward_env` and network.
5. **Write guards are not a sandbox**: write_file/patch are guarded, the
   terminal is not. The agent's OS user must not be able to read any send
   credential.
6. **`terminal.env_passthrough` reaches both the terminal and Hermes cron
   scripts** - a send credential never goes there.
7. **Review `command_allowlist` after every setup session**; each "Always"
   widens access on every surface, cron included.
8. **Never ship or install a send script.** After the go, the send runs
   through the mechanism already on the owner's server; audit it (sends only
   after an explicit go? from which account?) and report. No mechanism → an
   owner decision in the checklist, never an invented one.

## Workflow

1. Freshness check; `hermes security audit`; `hermes doctor`.
2. Merge [security-config.yaml](references/templates/security-config.yaml)
   into each agent profile; adjust `approvals.deny` to the CLIs installed.
3. Pick the backend per profile ([sandbox-backends.md](references/sandbox-backends.md)).
4. Move secrets per [secrets.md](references/secrets.md); `chmod 600` each `.env`.
5. Apply the go gate and audit the existing send mechanism
   ([locked-send-pattern.md](references/locked-send-pattern.md)); run its
   verification steps.
6. Seal profiles ([privacy-partition.md](references/privacy-partition.md)) and
   run its cross-read test.

## Sources

- https://hermes-agent.nousresearch.com/docs/user-guide/security
- https://hermes-agent.nousresearch.com/docs/user-guide/configuration (Smart Approvals, Security, Terminal Backend Configuration)
- https://hermes-agent.nousresearch.com/docs/reference/mcp-config-reference
- https://hermes-agent.nousresearch.com/docs/user-guide/secrets/
- https://hermes-agent.nousresearch.com/docs/user-guide/multi-profile-gateways (per-profile isolation)
- https://hermes-agent.nousresearch.com/docs/user-guide/features/cron (script credentials)
- https://github.com/NousResearch/hermes-agent/releases/tag/v0.23.0
Pliki w paczce (7)
  • SKILL.md 6 KB
  • references/approval-model.md 6 KB
  • references/locked-send-pattern.md 4 KB
  • references/privacy-partition.md 3 KB
  • references/sandbox-backends.md 4 KB
  • references/secrets.md 4 KB
  • references/templates/security-config.yaml 2 KB

Wersje

W bazie nie ma innych skilli o nazwie hermes-security.

Migawka bazy z 13.11.2026 · wersja paczki b888c6ccc5b0 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90hermes-extend
    Pomaga pisać i instalować umiejętności, wtyczki, serwery MCP i automatyzację przeglądarki dla agenta Hermes.
  • 90hermes-outbound
    Sprawdza wszystko, co agent przygotowuje do wysłania na zewnątrz: maile, wiadomości i dokumenty, z tonem właściciela i listą kontrolną.
  • 96hermes-plugin-inspection
    Liczy wtyczki Hermes i sprawdza ich kondycję.
  • 96hermes-agent-factory
    Tworzy lub klonuje profil agenta Hermes.
  • 81hermes-bot-mode
    Wyjaśnia tryb botów Hermes i funkcję bots, gdy użytkownik o nie pyta.
  • 100hermes-agent-compatibility
    Sprawdza zgodność Socket z Hermes w Agent Skills, pluginach Codex, MCP i hookach, pomagając przy eksporcie skilli i tłumaczeniu konfiguracji.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.