Перейти к содержимому
TakoAPI
Назад к навыкам

gatewaystack-governance

от davidcrowe

Coding Agents & IDEs
498Число загрузок по данным clawskills.sh
2Звёзды
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

Deny-by-default governance for every tool call — identity, scope, rate limiting, injection detection, audit.

Описание

Что делает этот навык

Deny-by-default governance layer for OpenClaw that intercepts every tool call before execution. Runs five mandatory checks: identity verification, scope enforcement, rate limiting, prompt injection detection, and audit logging. Three optional features add output DLP, human escalation, and behavioral monitoring.

Because it hooks at the process level, the agent cannot route around it the way it could with in-prompt or middleware-based guardrails.

Когда его использовать

  • Blocking an agent from calling tools outside its approved scope
  • Detecting prompt injection attempts before a tool executes
  • Reviewing audit logs after an unexpected agent action
  • Redacting PII from tool output before it reaches the agent
  • Triggering human review when an agent tries a tool for the first time

Пример сценария

ВВОД

User asks: why did the agent get blocked from calling the file_write tool?

АГЕНТ
  1. 1

    Check append-only audit log at ~/.openclaw/plugins/gatewaystack-governance/audit.jsonl

  2. 2

    Locate the denial record for the file_write invocation

  3. 3

    Read the policy role assigned to the agent under the identity check

  4. 4

    Confirm file_write is absent from the agent's tool allowlist in policy.json

  5. 5

    Return the denial reason and the policy entry that caused it

ВЫВОД

Audit entry showing file_write was denied because the agent's policy role does not include it in the scope allowlist

Требования

  • @gatewaystack/transformabl-core npm package (only if output DLP is enabled)
  • @gatewaystack/limitabl-core npm package (only if behavioral monitoring is enabled)

Установка

clawhub install davidcrowe/gatewaystack-governance

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки