← 返回 Skills 市场
Security Guardian
作者
azzar budiyanto
· GitHub ↗
· v1.1.0
1465
总下载
0
收藏
11
当前安装
2
版本数
在 OpenClaw 中安装
/install security-guardian
功能描述
Automated security auditing for OpenClaw projects. Scans for hardcoded secrets (API keys, tokens) and container vulnerabilities (CVEs) using Trivy. Provides...
安全使用建议
What to consider before installing:
- Code review: The packaged scripts are small and readable; review them yourself before running. The skill has no homepage or provenance, which lowers trust — prefer skills with verified sources.
- Run scope: Use the tool only on intended project workspace paths. The secret scanner blocks system roots by default; avoid using --force unless you explicitly intend to scan system directories.
- Handling findings: Treat any reported secrets as sensitive. Do not paste findings (secret values) into public channels. Use a vetted credential manager (review the mema-vault skill) to rotate and vault secrets rather than storing them in plain text.
- Environment: Trivy may download vulnerability DB updates during scans; run it in an environment where network access and telemetry are acceptable. Consider running scans in an isolated environment if you have high security requirements.
- False positives & limitations: The regex patterns can generate false positives and may miss obfuscated secrets; use findings as actionable leads, not absolute truth.
- If you need higher assurance: ask the skill author for provenance (repo/homepage, signed release) or reimplement equivalent checks from known tools. If you will integrate with an external vault, validate that integration code and do not give vault credentials to untrusted skills.
功能分析
Type: OpenClaw Skill
Name: security-guardian
Version: 1.1.0
The skill is classified as suspicious due to a shell injection vulnerability in `scripts/scan_container.sh`. The script directly passes the `$IMAGE_NAME` argument to the `trivy` command without proper sanitization or quoting, allowing for potential arbitrary command execution if a malicious image name is provided (e.g., `myimage; rm -rf /`). While the skill's stated purpose of security auditing is benign, this critical vulnerability allows for exploitation by a malicious actor controlling the input. Other files (`SKILL.md`, `scripts/scan_secrets.py`) appear benign and well-intentioned, with `scan_secrets.py` even including good security guardrails against scanning dangerous system paths.
能力评估
Purpose & Capability
Name/description (secret scanning + Trivy container scans) matches the included files and runtime instructions. The repository contains a secrets scanner and a Trivy wrapper. The SKILL.md references mema-vault for remediation, which is coherent with the stated purpose.
Instruction Scope
SKILL.md instructs only local scans and Trivy usage. The provided scripts scan files or images only and do not reference external endpoints or collect/transmit secrets. The Python scanner explicitly blocks scanning system roots unless --force is used, and the container script delegates to the host's Trivy.
Install Mechanism
No install spec (instruction-only) and two small scripts are included. The only external requirement is the user-installed trivy binary for container scanning, which is documented in the SKILL.md.
Credentials
The skill does not request environment variables, credentials, or config paths. The scripts do not read secrets from environment variables or attempt to persist/authenticate to external services. Use of a vault (mema-vault) is suggested for remediation, but that integration is advisory rather than automatic.
Persistence & Privilege
The skill is not force-included (always:false), does not request persistent system-wide changes, and does not modify other skills' configs. Autonomous invocation is allowed by default (platform behavior) but is not combined with other concerning privileges here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install security-guardian - 安装完成后,直接呼叫该 Skill 的名称或使用
/security-guardian触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Addressed ClawHub audit: clarified vault integration via mema-vault dependency, added safety guardrails for system paths, and improved documentation.
v1.0.0
Initial release with secret scanner and Trivy wrapper
元数据
常见问题
Security Guardian 是什么?
Automated security auditing for OpenClaw projects. Scans for hardcoded secrets (API keys, tokens) and container vulnerabilities (CVEs) using Trivy. Provides... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1465 次。
如何安装 Security Guardian?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install security-guardian」即可一键安装,无需额外配置。
Security Guardian 是免费的吗?
是的,Security Guardian 完全免费(开源免费),可自由下载、安装和使用。
Security Guardian 支持哪些平台?
Security Guardian 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Security Guardian?
由 azzar budiyanto(@1999azzar)开发并维护,当前版本 v1.1.0。
推荐 Skills