Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

openclaw-safe-auditOpenClaw safe 审核

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

4,488

周安装

187

GitHub Stars

公开资料未说明

下载量

1,496
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:openclaw-safe-audit(OpenClaw safe 审核)
来源仓库:https://github.com/vincent-big-fish/openclaw-safe-audit
安装命令:
openclaw skills install openclaw-safe-audit
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install openclaw-safe-audit

简介

全面扫描 OpenClaw 实例的安全隐患与凭证暴露风险。

  • 检查敏感文件、网关配置、令牌强度与通道安全策略。
  • 提供凭证强化建议与漏洞修复指引以降低攻击面。openclaw-safe-audit 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 需具备文件系统访问权限才能完成深度扫描任务。
  • 输出结果应结合上下文人工复核,不可直接作为最终安全结论。

SKILL.md

name
openclaw-security-audit
description
Security audit and credential hardening tool for OpenClaw instances. Scan for sensitive files, detect credential exposure, check gateway configuration, and migrate credentials to environment variables. Essential for maintaining a secure OpenClaw deployment.
version
1.0.0
author
Community
license
MIT
tags
[security, audit, credentials, hardening, privacy]

OpenClaw Security Audit

A comprehensive security toolkit for OpenClaw instances. Protect your credentials, audit your configuration, and maintain best security practices.

Features

  • Sensitive File Scanning - Detect .env, .key, .pem files and other sensitive artifacts
  • Credential Exposure Detection - Find API keys, secrets, tokens, and passwords in config files
  • Gateway Security Check - Verify gateway bind mode and authentication settings
  • Credential Hardening - Automatically migrate credentials from config files to environment variables
  • JSON Reports - Generate detailed audit reports for review

Installation

# Clone to your OpenClaw skills directory
cd ~/.openclaw/skills
git clone <repository> openclaw-security-audit

# Or manually copy the skill files

Usage

Security Audit

Run a comprehensive security audit:

python ~/.openclaw/skills/openclaw-security-audit/audit.py

This will:

  1. Scan for sensitive files
  2. Check for credential exposure in openclaw.json
  3. Verify gateway security configuration
  4. Generate a JSON report with findings

Credential Hardening

Migrate credentials to environment variables:

python ~/.openclaw/skills/openclaw-security-audit/harden.py

This will:

  1. Backup your current configuration
  2. Extract credentials from openclaw.json
  3. Create .env file with credentials
  4. Sanitize openclaw.json (replace with placeholders)
  5. Generate setup scripts for Windows/macOS/Linux

IMPORTANT: After running harden.py, you must set environment variables before OpenClaw can access credentials.

Custom Configuration

Edit config.json to customize scanning behavior:

{
  "exclude_dirs": ["node_modules", ".git", "__pycache__"],
  "whitelist": ["secret-input.ts"],
  "sensitive_extensions": [".env", ".key", ".pem"],
  "sensitive_keywords": ["password", "secret", "credentials"]
}

Security Checks

What We Check

CheckDescriptionRisk Level
Sensitive files.env, .key, .pem filesMEDIUM
Credential exposureAPI keys, secrets in configHIGH/CRITICAL
Gateway bind mode0.0.0.0 exposureCRITICAL
Gateway authMissing authenticationHIGH
File permissionsConfig file permissionsINFO

Risk Levels

  • CRITICAL: Immediate action required
  • HIGH: Fix within 24 hours
  • MEDIUM: Fix within a week
  • LOW: Monitor and review
  • INFO: For awareness

Best Practices

  1. Run audit weekly - Schedule regular security checks
  2. Harden immediately - Migrate credentials to env vars on first run
  3. Backup before hardening - Always backup configs before changes
  4. Secure .env files - Never commit .env to version control
  5. Rotate credentials - Regularly update API keys and tokens

Report Location

Audit reports are saved to:

  • ~/.openclaw/security-tools/security_report_YYYYMMDD_HHMMSS.json

Supported Platforms

  • Windows (PowerShell scripts)
  • macOS (Bash scripts)
  • Linux (Bash scripts)

Privacy & Safety

This tool:

  • ✅ Only reads your OpenClaw configuration
  • ✅ Does not transmit data externally
  • ✅ Masks credential values in reports
  • ✅ Creates backups before modifications
  • ✅ Respects file permissions

This tool does NOT:

  • ❌ Send data to external servers
  • ❌ Modify system files outside ~/.openclaw
  • ❌ Store or log actual credential values
  • ❌ Require elevated permissions

Requirements

  • Python 3.7+
  • OpenClaw installed
  • Read access to ~/.openclaw directory

License

MIT License - Feel free to use, modify, and distribute.

Contributing

Contributions welcome! Please ensure:

  • Code follows Python PEP 8
  • No hardcoded credentials or paths
  • Privacy-respecting practices
  • Clear documentation

Disclaimer

This tool is for security auditing your own OpenClaw instance. Always review changes before applying them. The authors are not responsible for misconfiguration or data loss.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

94.98%
按下载量换算1,421

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills