signed-audit-trails — плагин для Claude Code: аудит и установка
Объясняет, как подписывать записи о вызовах инструментов Claude Code и проверять их на подмену. Пригодится для изучения схемы до внедрения в проект.
/plugin marketplace add wshobson/agents
/plugin install signed-audit-trails@claude-code-workflowsЧто делает signed-audit-trails
Это обучающий плагин, а не хук времени выполнения. В одном файле skills/signed-audit-trails-recipe/SKILL.md собраны пошаговая настройка политики Cedar и хуков, создание первой квитанции и демонстрация обнаружения подмены. Также описаны формат квитанции и совместимость между реализациями.
Примеры показывают подписи Ed25519 и каноникализацию JSON по JCS перед подписанием. Есть фрагмент интеграции с GitHub Actions и разбор сочетания с SLSA provenance. Для рабочих хуков нужен отдельный плагин protect-mcp: этот плагин объясняет схему, но сам вызовы инструментов не перехватывает.
Какие задачи решает
- разобраться, как устроены подписанные записи вызовов инструментов
- настроить политику Cedar и получить первую квитанцию
- показать обнаружение подмены записи
- добавить проверку квитанций в GitHub Actions
Примеры запросов агенту
- Объясни, как настроить Cedar и создать первую подписанную квитанцию для вызова инструмента.
- Покажи, как обнаружить подмену квитанции и проверить её подпись Ed25519.
- Подготовь пример интеграции проверки подписанных квитанций в GitHub Actions.
Как установить signed-audit-trails
Через маркетплейс плагинов
/plugin marketplace add wshobson/agents/plugin install signed-audit-trails@claude-code-workflowsПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы о signed-audit-trails
Как установить signed-audit-trails в Claude Code?
Что делает signed-audit-trails?
Плагин объясняет настройку подписанных аудиторских записей для вызовов инструментов Claude Code, включая политику Cedar, подписи Ed25519 и проверку на подмену. Сам хуки времени выполнения он не устанавливает.
Нужен ли protect-mcp для работы signed-audit-trails?
Для изучения схемы плагин показывает пошаговые примеры. Для хуков, которые работают во время выполнения, нужен protect-mcp.
Исходный текст
signed-audit-trails · MIT
# signed-audit-trails A teaching skill for setting up cryptographically signed audit trails on every Claude Code tool call. Cookbook-style walkthrough with runnable examples. ## What this is A **skill** (not a runtime hook): a set of instructions and examples that explain the pattern end-to-end. Use this when you are figuring out whether receipts are the right fit for your project. Once you know they are, install the [`protect-mcp`](../protect-mcp/) plugin for the actual hooks. ## When to use this plugin - **Learning** the pattern before committing to infrastructure - **Evaluating** whether signed audit trails fit your compliance need - **Teaching** team members the cryptographic model (JCS canonicalization + Ed25519 signatures) - **Walking a client or auditor** through a live demonstration of tamper detection For production use, the [`protect-mcp`](../protect-mcp/) plugin gives you the runtime hooks directly. This plugin is the skill file you invoke via `Skill` when you want the concept explained in-session. ## What is inside ``` skills/signed-audit-trails-recipe/SKILL.md ``` A single skill file containing: - Step-by-step setup (Cedar policy, hook configuration, first receipt) - Live tamper detection walkthrough - Receipt format explanation (two invariants) - Cross-implementation interoperability table - CI/CD integration snippet (GitHub Actions) - Composition with SLSA provenance for agent-built software - Common pitfalls and references ## Standards - **Ed25519** (RFC 8032) for receipt signatures - **JCS** (RFC 8785) for deterministic JSON canonicalization before signing - **Cedar** (AWS) for policy evaluation - **IETF draft** [draft-farley-acta-signed-receipts](https://datatracker.ietf.org/doc/draft-farley-acta-signed-receipts/) ## Related plugins in this marketplace - [`protect-mcp`](../protect-mcp/) — the runtime hook implementation - [`review-agent-governance`](../review-agent-governance/) — require human approval before review-surface actions; composes with protect-mcp ## License MIT. Same as the adjacent governance-category plugins in this marketplace.
© Tom Farley · MIT · wshobson/agents