alibabacloud-openclaw-skill-security-scan
Scan installed skills for security risks and audit platform configuration. When to use: user requests security scan, security analysis, skill audit, OpenClaw…
от aliyun★ 303 звезды на GitHub
Установить alibabacloud-openclaw-skill-security-scan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Security Scan Skill
Notation: Throughout this document,
{{SELF}}refers to the skill name declared in the YAMLnamefield above. It is used solely as a placeholder for the self-exclusion rule below.
This skill performs comprehensive security audit: skill risk assessment (cloud intelligence, local static analysis, cloud deep analysis) + configuration security audit.
⚠️ Read-Only Scripts — Strongly Recommended: All scripts under this skill (
scripts/main.sh, etc.) are read-only assets. It is strongly recommended not to modify, patch, rewrite, or create wrapper scripts that alter their behavior. This includes changing parameters such as file size limits, timeout values, chunk sizes, upload thresholds, or any other configurable values. If a scan encounters a limit (e.g., file too large), report the limitation to the user as-is — avoid working around it by editing scripts.
⚠️ Self-Exclusion Rule:
{{SELF}}must always be excluded from scanning. When building the skill list, the agent must remove this skill and never pass its path tomain.sh. The script also skips this name internally, but the agent should complete exclusion before invocation to avoid including itself in any scan workflow.
When to Use
| Scenario | Example Triggers |
|---|---|
| Full Assessment | security scan, security analysis, skill audit, OpenClaw health check, OpenClaw安全评估, 安全扫描, 安全分析, 风险评估, 安全体检 |
| Config Audit | config audit, security baseline check, OpenClaw security audit, server exposure check, 配置审计, 检查OpenClaw配置, 安全基线 |
| Skill Scan | scan skill for risks, supply chain security, skill安全扫描, 检查skill风险, skill是否安全 |
| Pre-install Check | pre-install safety check, is this skill safe, deployment safe, 安装前检查, 这个skill安全吗, 能不能装这个skill |
Quick Start
⚠️ Mandatory Prerequisites: The agent must complete these two steps before invoking
main.sh:
- Grant script execute permissions (run once after install/update):
chmod +x ./scripts/*.sh- Resolve and pass skill paths:
main.shdoes not auto-discover skill paths and will exit with an error if no path arguments are provided. The agent must resolve skill paths on its own, exclude{{SELF}}, then pass the remaining paths using one of the three methods below.
Path Passing Methods
main.sh accepts three mutually exclusive methods for passing skill paths. The agent should choose one:
Method 1: --skill-mapping (Recommended)
Pass both skill name and path in name:path format, space-separated for multiple skills.
./scripts/main.sh --skill-mapping \
"skill-name-1:/home/user/.openclaw/skills/skill-name-1" \
"skill-name-2:/home/user/.openclaw/skills/skill-name-2"
- Format:
<skill-name>:<absolute-path>, colon-separated, name first then path - Name: The skill's registered name
- Path: Absolute path to the skill's installation directory, which must contain a
SKILL.mdfile - Validation: The script automatically checks whether the path exists and contains
SKILL.md; invalid entries are skipped with a warning
Method 2: --skill-paths
Pass paths only. The script automatically extracts skill names from the name: field in each SKILL.md YAML front matter; falls back to the directory basename if extraction fails.
./scripts/main.sh --skill-paths \
"/home/user/.openclaw/skills/skill-name-1" \
"/home/user/.openclaw/skills/skill-name-2"
- Use case: When the agent only knows the path but not the registered skill name
- Name resolution priority:
name:field inSKILL.md→ directory basename
Method 3: --skill-mapping-file
Read name:path mappings from a file, one per line. Supports # comments and blank lines.
# Generate the mapping file
cat > /tmp/skill-mappings.txt << 'EOF'
# Format per line: skill-name:/absolute/path
skill-name-1:/home/user/.openclaw/skills/skill-name-1
skill-name-2:/home/user/.openclaw/skills/skill-name-2
EOF
# Pass the mapping file
./scripts/main.sh --skill-mapping-file /tmp/skill-mappings.txt
- File limits: Max 1MB, max 10000 lines
- Format: Same as Method 1 — each line is
<skill-name>:<absolute-path>
⚠️ Parameter Selection Priority (ABSOLUTE CONSTRAINT): If the user's task prompt or evaluation case explicitly specifies a particular parameter (e.g.
--skill-pathsor--skill-mapping), the agent must use that exact parameter when invokingmain.sh. It is strictly forbidden to substitute with--skill-mapping-fileor any other method, even if the target path does not exist — in that case, pass the path directly and let the script handle the error or skip. Violation of this rule constitutes task failure. If no specific parameter is requested, default to Method 1 (--skill-mapping).CRITICAL CLARIFICATION: The fallback logic below (Input Fault Tolerance Rule) applies ONLY to the **path discovery phase
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- assets/LICENSE.txt
- references/baseline.md
- references/report_template.md
- references/skillaudit.md
- scripts/basic_udf.sh
- scripts/main.sh
- scripts/skill_zip_packager.sh
FAQ
Что делает скилл alibabacloud-openclaw-skill-security-scan?
Scan installed skills for security risks and audit platform configuration. When to use: user requests security scan, security analysis, skill audit, OpenClaw health check, config audit, security baseline check, pre-install, safety check, supply chain security check, or asks "is this skill safe". Trigger phrases: "security scan", "安全扫描", "安全分析", "风险评估", "安全体检", "skill audit", "配置审计", "安全基线", "skill安全扫描", "检查skill风险", "这个skill安全吗", "安装前检查", "能不能装这个skill".
Как установить скилл alibabacloud-openclaw-skill-security-scan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл alibabacloud-openclaw-skill-security-scan запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…