openclaw-security-hardening
Protect OpenClaw installations from prompt injection, data exfiltration, malicious skills, and workspace tampering
Why use this skill?
Protect your OpenClaw agent from prompt injection, data exfiltration, and workspace tampering with a suite of automated security tools.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/kylejfrost/openclaw-security-hardeningWhat This Skill Does
The openclaw-security-hardening skill acts as a comprehensive security suite designed specifically for OpenClaw environments. It provides a modular framework to safeguard your AI agent against modern threats, including adversarial prompt injection, unauthorized data exfiltration, and supply chain attacks. By integrating a multi-layered detection approach, this tool ensures that your workspace remains locked down, preventing malicious skills from overriding your core system instructions or accessing sensitive local configuration files.
This utility package provides five primary tools: a skill scanner to detect obfuscated instructions, an outbound auditor to monitor suspicious network calls, an integrity checker to maintain file baselines, a workspace hardener to fix permission issues, and an install guard to vet third-party extensions before they are integrated into your environment.
Installation
To begin securing your instance, install the package directly via the command line:
clawhub install openclaw/skills/skills/kylejfrost/openclaw-security-hardening
Once installed, you must first initialize your integrity baseline to establish a 'known-good' state for your existing skill library by running ./scripts/integrity-check.sh --init.
Use Cases
This skill is essential for developers running OpenClaw in production or handling sensitive data. Common use cases include: 1) Performing periodic security audits on installed third-party skills, 2) Ensuring no skills are leaking environment variables like API keys to external webhook services, 3) Automatically blocking newly installed skills that utilize hidden unicode characters or obfuscated commands, and 4) Hardening the host environment against accidental file exposure through insecure gateway configurations.
Example Prompts
- "Run a full security scan on my installed skills and report any potential data exfiltration risks found in recent updates."
- "I'm planning to install a new plugin from an untrusted source; use the install guard to analyze it for suspicious patterns first."
- "Verify the integrity of all my core skills to ensure no files have been modified or tampered with since my last audit."
Tips & Limitations
For the best results, integrate these scripts into your CI/CD pipeline or run them as a cron job to catch drift. Note that while this tool is powerful, it does not replace the need for secure OS-level practices; it is a specialized layer for your agent architecture. Always review 'WARNING' level findings manually, as the scanner may occasionally flag complex, non-malicious code patterns used in legitimate plugins.
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-kylejfrost-openclaw-security-hardening": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: file-read, file-write, code-execution
Related Skills
doctorbot-ci-validator
Stop failing in production. Validate your GitHub Actions, GitLab CI & Keep workflows offline with surgical precision. Born from Keep bounty research, perfected for agents.
arc-shield
Output sanitization for agent responses - prevents accidental secret leaks
AURA Security Scanner
Scan AI agent skills for malware, credential theft, prompt injection, and dangerous permissions before installing them
sbom-explainer
把依赖清单或 SBOM 翻译成非技术可读的风险说明,按影响面排序。;use for sbom, dependencies, risk workflows;do not use for 伪造 CVE 状态, 替代专业漏洞扫描.
securityvitals
Security vitals checker for OpenClaw. Scans your installation, scores your setup, and shows you exactly what to fix. First scan in seconds.