# hermes-attestation-guardian

hermes-attestation-guardian — a skill that verifies Hermes infrastructure integrity at runtime. Generates signed attestations, compares them against baselines, and detects configuration drift.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 129 installs · ★ 1135 repo stars
- Author: prompt-security
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/prompt-security/clawsec/tree/HEAD/skills/hermes-attestation-guardian/SKILL.md
- Updated: 2026-10-25
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/hermes-attestation-guardian

## What it does

hermes-attestation-guardian produces deterministic posture snapshots of a Hermes server, cryptographically verifies them, and identifies configuration drift from an established baseline. It includes Node.js scripts for attestation generation, verification with fail-closed semantics, advisory feed updates, and recurring check scheduling.

Critical scope: works only with Hermes infrastructure (CLI, Gateway, profile-managed deployments). Requires `node` in `PATH`. For standalone setup, verify the release signature against ClawSec's public key before trusting the archive—the README contains a full verification procedure with SHA256 checks and OpenSSL validation.

The flow includes baseline comparison, advisory matching by severity level, and an emergency `--allow-unsigned` mode that must be disabled immediately after use.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add prompt-security/clawsec --skill hermes-attestation-guardian -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/hermes-attestation-guardian/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/hermes-attestation-guardian/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add prompt-security/clawsec --skill hermes-attestation-guardian -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/hermes-attestation-guardian/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add prompt-security/clawsec --skill hermes-attestation-guardian -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/hermes-attestation-guardian/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install prompt-security/clawsec skills/hermes-attestation-guardian
```

2. **Manually: put the files in place**
- File: `.github/skills/hermes-attestation-guardian/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add prompt-security/clawsec --skill hermes-attestation-guardian -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/prompt-security/clawsec --path skills/hermes-attestation-guardian
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/hermes-attestation-guardian/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add prompt-security/clawsec --skill hermes-attestation-guardian -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/prompt-security/clawsec/tree/HEAD/skills/hermes-attestation-guardian/SKILL.md

## When to use it
- verify Hermes server integrity and configuration at runtime
- detect unexpected changes (drift) from baseline state
- scan advisory feed and block vulnerable skill versions
- schedule recurring attestation and advisory checks

## Example prompts
- Generate a snapshot of current Hermes posture: `node scripts/generate_attestation.mjs`
- Verify drift against baseline with trusted checksum: `node scripts/verify_attestation.mjs --baseline ~/.hermes/security/attestations/baseline.json --baseline-expected-sha256 <checksum>`
- Set up recurring advisory checks for a skill: `node scripts/setup_advisory_check_cron.mjs --every 6h --skill some-skill --version 1.2.3 --apply`

## Similar
- [azure-attestation](https://affpapa.org/en/nevibecode/skills/azure-attestation.md) — skill · 169 installs
- [MCP Server Attestation](https://affpapa.org/en/nevibecode/mcp/mcp-server-attestation.md) — MCP server
- [Kenwea — Sandbox Attestation & Agent Marketplace](https://affpapa.org/en/nevibecode/mcp/kenwea-sandbox-attestation-agent-marketplace.md) — MCP server · ★ 2 repo stars
- [glab-attestation](https://affpapa.org/en/nevibecode/skills/glab-attestation.md) — skill · 113 installs
- [hermes-history-ingest](https://affpapa.org/en/nevibecode/skills/hermes-history-ingest.md) — skill · 2500 installs
- [hermes-voice-setup](https://affpapa.org/en/nevibecode/skills/hermes-voice-setup.md) — skill · ★ 732 repo stars

From the same set: [prompt-security/clawsec](https://affpapa.org/en/nevibecode/by/prompt-security/clawsec.md) — 9 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
