Persistent SQLite memory for Hermes and OpenClaw: Facts, snippets, lessons, entities, relations, provenance (read-only audit-chain reconstruction), finer sou...
Memory
Agent Security Guard
Try itRuntime interaction guard for Hermes/OpenClaw: a deterministic transition policy engine that keeps reading, browsing, and summarizing free while stripping co...
What it does
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.
The skill document
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.
Related skills
OpenClaw cloud security guardrail that enforces pre-execution checks, source trust classification, taint tracking, metadata endpoint blocking, and output red...
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...
Standardize memory contracts across AI agents so multi-layer memory stays consistent, scoped, and exclusion-safe.
Hermes runtime traffic monitoring baseline for opt-in proxy inspection, egress detection, and attestation-aware traffic posture.