← 返回 Skills 市场
chandrasekar-r

Security Audit

作者 chandrasekar-r · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
11304
总下载
8
收藏
136
当前安装
1
版本数
在 OpenClaw 中安装
/install security-audit
功能描述
Comprehensive security auditing for Clawdbot deployments. Scans for exposed credentials, open ports, weak configs, and vulnerabilities. Auto-fix mode included.
安全使用建议
Install only if you want a local Clawdbot security audit. Run the normal audit first, treat reports as sensitive because they may reveal paths and security posture, and use --fix only after reviewing backups because it can change file permissions and create a .gitignore file.
功能分析
Type: OpenClaw Skill Name: security-audit Version: 1.0.0 The OpenClaw AgentSkills skill bundle is designed for comprehensive security auditing of Clawdbot deployments. The `SKILL.md` instructions clearly outline its purpose and usage, including options for scanning credentials, ports, configurations, and permissions, as well as an auto-fix mode. The core script, `scripts/audit.cjs`, uses `child_process.execSync` to run system commands like `ss` or `netstat` for port scanning and `git log` for commit history, which are legitimate actions for a security audit tool. It also uses `fs` module functions to read files and scan for sensitive patterns (e.g., API keys, passwords) within the defined `CLAWDBOT_DIR` (`/root/clawd`). Crucially, while it identifies sensitive data, there is no evidence of data exfiltration to external endpoints. The auto-fix functionality (`fs.chmodSync`, `fs.writeFileSync`) is used to harden security by setting restrictive file permissions and creating a `.gitignore` file. No prompt injection attempts against the agent, obfuscation, or other malicious indicators were found; the behavior is entirely aligned with its stated security auditing purpose.
能力评估
Purpose & Capability
The documented purpose is security auditing, and the script performs matching checks for credentials, ports, configuration, file permissions, Docker, Git metadata, and recent commit messages under the Clawdbot deployment path.
Instruction Scope
The default path is audit-only; the mutating behavior is behind an explicit --fix command and is described in SKILL.md, though the documentation should more clearly warn that it changes permissions and creates files.
Install Mechanism
No external dependency installation, background installer, or remote fetch behavior is present. The script uses built-in Node modules and local system tools.
Credentials
Reading .env, config, code, Docker, Git, and port information is sensitive but proportionate for a local security audit. The scan is hardcoded to /root/clawd rather than arbitrary user directories.
Persistence & Privilege
No persistence, daemon, privilege escalation, or exfiltration is shown. The optional --fix mode makes persistent local changes by chmodding sensitive files and creating /root/clawd/.gitignore.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install security-audit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /security-audit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: credential scanning, port detection, config validation, file permissions, Docker security checks, auto-fix mode
元数据
Slug security-audit
版本 1.0.0
许可证
累计安装 376
当前安装数 136
历史版本数 1
常见问题

Security Audit 是什么?

Comprehensive security auditing for Clawdbot deployments. Scans for exposed credentials, open ports, weak configs, and vulnerabilities. Auto-fix mode included. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 11304 次。

如何安装 Security Audit?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install security-audit」即可一键安装,无需额外配置。

Security Audit 是免费的吗?

是的,Security Audit 完全免费(开源免费),可自由下载、安装和使用。

Security Audit 支持哪些平台?

Security Audit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Security Audit?

由 chandrasekar-r(@chandrasekar-r)开发并维护,当前版本 v1.0.0。

💬 留言讨论