Skip to main content

security-guardian

Automated security auditing for OpenClaw projects. Scans for hardcoded secrets (API keys, tokens) and container vulnerabilities (CVEs) using Trivy. Provides structured reports to help maintain a clean and secure codebase.

跳到安装

来源信息

仓库
RabbitAI-Lab/rabbit-plugins-upstream
最近来源活动
2026年7月26日 20:50
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
6 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
security-guardian
description
Automated security auditing for OpenClaw projects. Scans for hardcoded secrets (API keys, tokens) and container vulnerabilities (CVEs) using Trivy. Provides structured reports to help maintain a clean and secure codebase.
metadata
{"openclaw":{"requires":{"skills":"[Truncated]"}}}
# Security Guardian System for automated security auditing and credential protection. ## Core Workflows ### 1. Secret Scanning Scan specific project directories for hardcoded credentials. - **Tool**: `scripts/scan_secrets.py` - **Usage**: `python3 $WORKSPACE/skills/security-guardian/scripts/scan_secrets.py <path_to_project>` - **Workflow**: 1. Execute scan on a specific project or directory. 2. If findings are reported (exit code 1): - Review the file and line number. - **Transition**: Move the secret to a secure vault (e.g., using the `mema-vault` skill). - **Redact**: Replace the plaintext secret in the source code with an environment variable or a vault lookup call. ### 2. Container Vulnerability Scan Analyze Docker images for vulnerabilities prior to deployment. - **Tool**: `scripts/scan_container.sh` - **Usage**: `bash $WORKSPACE/skills/security-guardian/scripts/scan_container.sh <image_name>` - **Logic**: Identify `HIGH` and `CRITICAL` severities. Recommend base image updates or security patches. ## Security Guardrails - **Scope Limitation**: Avoid scanning system-level directories. Focus only on relevant project workspaces. - **Credential Isolation**: Hardcoded secrets are considered a high-severity finding. - **Dependencies**: Container scanning requires `trivy` to be installed on the host system. ## Integration - **Vaulting**: This skill identifies leaks. Remediation should be performed using a dedicated credential manager like `mema-vault`.
在 GitHub 查看