skill-scan
Security scanner for OpenClaw skill packages. Scans skills for malicious code, evasion techniques, prompt injection, and misaligned behavior BEFORE installation. Use to audit any skill from ClawHub or local directories.
Why use this skill?
Secure your OpenClaw agent by scanning skills for malicious code, prompt injection, and evasion techniques before installation. Keep your environment safe.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/dgriffin831/skill-scanWhat This Skill Does
Skill-Scan is the primary security defense layer for the OpenClaw ecosystem, designed to protect your agentic environment from malicious software. It functions as a comprehensive, multi-layered security auditor that inspects skill packages before they are granted execution permissions. By performing both static analysis and deep LLM-based behavioral inspection, it detects a wide range of threats including obfuscated malicious code, prompt injection attempts designed to hijack agent behavior, and clandestine data exfiltration techniques. It evaluates packages for architectural integrity, ensuring that installed skills align with safety guidelines and operational transparency.
Installation
To install the security auditor, run the following command in your terminal:
clawhub install openclaw/skills/dgriffin831/skill-scan
Once installed, the skill-scan binary becomes available as a command-line interface (CLI) tool. It is recommended to add the binary path to your system environment variables if you intend to use it outside of the OpenClaw terminal context.
Use Cases
- Vetting Third-Party Skills: Automatically audit any skill downloaded from ClawHub or external public repositories before running the installation script.
- Security Compliance: Use the tool to generate standardized security reports for skills deployed within an enterprise or team environment.
- Periodic Audits: Regularly scan installed directories to ensure that existing skills have not been updated with malicious payloads or unintended behavioral changes.
- Automated CI/CD: Integrate the tool into your deployment pipeline using exit codes (0 for safe, 1 for risky) to block untrusted code from entering your production agent environment.
Example Prompts
- "OpenClaw, scan the latest productivity suite from ClawHub for any potential prompt injection risks before I install it."
- "Run a high-depth security audit on the local skill directory located at ~/dev/testing-skills and provide me with a summary of the findings."
- "Is the 'crypto-tracker-bot' skill safe to install? Please perform a deep LLM analysis and show me the risk score."
Tips & Limitations
- LLM Deep Analysis: Use the
--llmflag for critical or complex skills. This consumes more time and may require an active API key (OpenAI or Anthropic), but it is significantly better at detecting logical misalignments than standard pattern matching. - Exit Codes: Always integrate the exit codes into your automated workflows. If the scanner returns a 1, do not bypass the warning; perform a manual inspection of the reported findings.
- False Positives: While highly accurate, some complex, legitimate API-wrapping skills may occasionally flag as medium-risk due to their broad file-system or network access requirements. In these cases, review the report manually to verify if the permissions are justified by the skill's functionality.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-dgriffin831-skill-scan": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, code-execution
Related Skills
input-guard
Scan untrusted external text (web pages, tweets, search results, API responses) for prompt injection attacks. Returns severity levels and alerts on dangerous content. Use BEFORE processing any text from untrusted sources.
Guardrails
Skill by dgriffin831
claude-chrome
Use Claude Code with Chrome browser extension for web browsing and automation tasks. Alternative to OpenClaw's built-in browser tools.
Memory Scan
Skill by dgriffin831