← 返回
安全合规 中文

Agent Safety

Outbound safety for autonomous AI agents — scans YOUR output before it leaves the machine. Git pre-commit hooks that automatically block commits containing A...
自主AI智能体的出站安全工具——在输出离开机器前进行扫描。通过Git pre-commit钩子自动拦截包含敏感信息的提交。
compass-soul
安全合规 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 1,156
下载
💾 8
安装
1
版本
#autonomous#latest#pii-scanner#pre-commit#safety#security

概述

Agent Safety

Automated safety tools for autonomous AI agents. The principle: don't rely on prompts for safety — automate enforcement.

All scripts are in this skill's scripts/ directory. When OpenClaw loads this skill, resolve paths relative to this file's location.

Pre-Publish Security Scan

Scans files for secrets, PII, and internal paths before publishing.

bash scripts/pre-publish-scan.sh <file-or-directory>

Detects:

  • API keys (AWS, GitHub, Anthropic, OpenAI, generic patterns)
  • Private keys (PEM blocks), Bearer tokens, hardcoded passwords
  • Email addresses, phone numbers, SSNs, credit card patterns
  • Physical addresses, name fields
  • Home directory paths, internal config paths

Exit 0 = clean. Exit 1 = blocking issues found, do not publish.

Git Pre-Commit Hook

Install once per repo. Automatically scans staged files on every commit:

bash scripts/install-hook.sh <repo-path>
  • Scans staged content (what's being committed, not working tree)
  • Blocks commit if secrets or SSNs found
  • Flags PII for review
  • Only bypassed with explicit git commit --no-verify

Install this on every repo you work with. It's the real guardrail.

Health Check

System monitoring for disk, workspace, security, and updates:

bash scripts/health-check.sh

Checks: Disk usage, workspace size, memory file growth, OpenClaw version, macOS updates, firewall status, SIP status.

Run periodically (every few heartbeats). Watch for warnings.

Rules

  1. Run pre-publish scan before ANY external publish action
  2. Install pre-commit hook on EVERY repo you work with
  3. Blocking issues (secrets, SSNs) must be fixed — no override
  4. Review items (emails, paths) need human judgment
  5. If a secret was ever committed, it's compromised — rotate immediately

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 06:06 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,718
security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,607
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,215 📥 266,511