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

agentgate-security

от wiserautomation

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

Кратко

displayName: AgentGate - Enterprise Security Firewall for OpenClaw.

Описание

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

AgentGate is a middleware layer that intercepts every tool call an OpenClaw agent makes before it executes. It evaluates each call against regex-based policies stored in Firestore and returns ALLOW, DENY, or REQUIRE_APPROVAL. Blocked actions return a structured error; approvals pause execution until an operator responds.

Policies are enforced before tool execution, so a hallucinating agent cannot bypass rules by retrying or rephrasing the same call.

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

  • Blocking destructive bash commands like rm -rf in automated agent pipelines
  • Requiring human approval before Stripe charges exceed a set dollar threshold
  • Restricting outbound HTTP requests to a whitelist of approved domains
  • Auditing every agent tool call in real time with a live Firestore log
  • Preventing agents from sending unauthorized emails via SMTP or SendGrid

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

ВВОД

User asks: Process a $500 refund for customer order #9821

АГЕНТ
  1. 1

    Agent invokes the stripe tool with a charge amount of 50000

  2. 2

    AgentGate intercepts the call and POSTs the tool name and serialized arguments to the Firebase Cloud Function

  3. 3

    Function validates the API key, evaluates regex policies, and matches the amount against the approval threshold rule

  4. 4

    Decision is REQUIRE_APPROVAL; a Telegram webhook fires to the operator with Approve/Deny buttons

  5. 5

    Operator approves; Firestore updates and the agent resumes execution

ВЫВОД

Stripe refund completes after human approval, with the full interaction recorded in the audit log

Требования

  • AgentGate account at agent-gate-rho.vercel.app
  • AGENTGATE_API_KEY environment variable

Установка

clawhub install wiserautomation/agentgate-security

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

Ссылки