What does OpenClaw Skill Security Scanner do?
🔐 OpenClaw Skill Security Scanner — A security scanner for Skills based on the Snyk Agent Scan methodology. Detects secrets, dangerous commands, and structural issues in OpenClaw Skills.
Overview
This scanner analyzes OpenClaw Skills for common security vulnerabilities, including:
- Secrets Detection: Finds hardcoded API keys, tokens, passwords, and other sensitive data in skill files.
- Dangerous Commands: Identifies shell injection risks, unsafe exec calls, and overly permissive file operations.
- Structural Issues: Validates skill configuration files (YAML/JSON) for correctness and consistency with best practices.
Usage
# Run the scanner on a skill directory
openclaw-skill-security-scanner scan ./my-skill
How It Works
Inspired by the Snyk Agent Scan methodology, the scanner performs static analysis on:
skill.yml/skill.json— configuration definitionsREADME.md,SKILL.md— documentation files*.py,*.js,*.sh— executable scripts
It applies pattern matching, heuristic rules, and structural validation rules to produce a security report.
Integration
Supports CI/CD pipelines (GitHub Actions, GitLab CI, etc.) and can be used as a pre-commit hook or as part of a review workflow.
Notes
- Always review flagged issues manually before making changes.
- False positives may occur; tune rules per project if necessary.
- For more details, see the OpenClaw Skill Security Scanner repository.