记忆

Agent Security Guard

试用

Runtime interaction guard for Hermes/OpenClaw: a deterministic transition policy engine that keeps reading, browsing, and summarizing free while stripping co...

它能做什么

Runtime interaction guard for Hermes/OpenClaw: a deterministic transition policy engine that keeps reading, browsing, and summarizing free while stripping command-authority from untrusted content. Separates origin trust from data sensitivity, classifies actions into tiers, blocks dangerous kill-chains (read secret -> external post, web -> shell, download -> execute, untrusted -> privileged memory), wraps untrusted content as data (not instructions), and emits machine-readable decisions with audit. Default mode: autonomous-safe.

技能文档

AgentSecurityGuard Skill

A runtime security layer that sits beside (not inside) the agent-memory skill. The memory skill protects long-term truth; this guard protects the dangerous moment before an action: context intake, tool call, memory write, external action, and chain drift.

It is not a brake on autonomy. Reading, browsing, GET/search, and summarizing stay free. The guard removes command-authority from untrusted content and gates only the risky transitions through a deterministic policy engine. Default mode: autonomous-safe.

Core principle

A source's trust does not grant it authority over an action.

Decisions come from hard, deterministic rules first; the risk score is for logging and prioritization only, never the sole judge.

Two independent dimensions

  • OriginTrust (may this source give instructions?): trusted_user > local_project / trusted_tool_output > tool_output > external_web > external_document > unknown
  • DataSensitivity (how dangerous if it leaks?): public < internal < sensitive < secret

A .env file is high-trust origin but secret-sensitivity. Tool output inherits its payload origin (a web-fetch tool produces external_web, not trusted tool knowledge).

Status

v0.2.0: adds self-modification governance on top of v0.1.0. Skill patch / self-improvement / procedural-rule changes are a dedicated SELF_MODIFICATION tier that is never a direct allow; explicit no-write scopes and ambiguous "yes" confirmations are denied before any per-tier rule; and real writes require an explicit, hash-bound two-phase confirmation (see references/self-modification.md). v0.1.0 delivered the deterministic policy core, scanner + boundary wrapper, sequence kill-chain detection, SQLite/JSONL audit, advice-only memory bridge, CLI, and the Hermes/OpenClaw plugin, hardened by a Bugbot + security-review pass. 180 tests pass, including the self-improvement end-to-end bar and the OpenClaw threat-class regressions. See README.md, ROADMAP.md, and references/ for design and threat model.

相关技能

Persistent SQLite memory for Hermes and OpenClaw: Facts, snippets, lessons, entities, relations, provenance (read-only audit-chain reconstruction), finer sou...

1 次安装

OpenClaw cloud security guardrail that enforces pre-execution checks, source trust classification, taint tracking, metadata endpoint blocking, and output red...

27 次安装

Soft, opt-in runtime guardrails for AI agents — advisory reminders injected before each request, never blocking or modifying tool output. Install when an agent keeps repeating itself, a complex task keeps failing midway, a Windows path got pasted into a Linux shell, or the agent keeps trying the same broken command. Easy to disable globally or per-session. Catches 82.5% of common agent errors. Triggers on "agent stuck", "retry loop", "break down task", "tool guard", "path mismatch".

Independent fail-closed second opinion before acting: allow/review/block a risky action, fact-check a claim, screen text for prompt injection, or flag PII/se...

为多智能体的分层记忆统一契约,避免路由漂移、越级写入与作用域扩张。

19 次安装1 星标

Hermes runtime traffic monitoring baseline for opt-in proxy inspection, egress detection, and attestation-aware traffic posture.

5 次安装