ClawShield for Openclaw

ClawShield is a specialized security utility that audits local OpenClaw installations for vulnerabilities and prompt injection patterns.

poolguy24
v1.1.0
Feb 12, 2026
1
2.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install clawshield

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install clawshield using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is ClawShield?

ClawShield is an essential security layer designed to audit the posture of local OpenClaw environments. It serves as a comprehensive detector for prompt injection (PI) patterns, gateway vulnerabilities, and unauthorized cron modifications. By providing a structured way to monitor and harden your AI setups, it ensures that your automated workflows remain secure and resilient against malicious inputs. As a standout entry among Openclaw Skills, it focuses on local-only scanning to maintain data privacy while providing actionable security insights.

The tool is designed for developers and system administrators who need to frenzy-proof their installs. Whether you are running a single agent or a complex multi-agent system, ClawShield offers the peace of mind required to deploy AI solutions in production-like environments without exposing hidden vulnerabilities.

ClawShield Use Cases

  • Detecting and mitigating prompt injection attempts in AI agent workflows.
  • Conducting routine security audits of local gateway ports and system configurations.
  • Automating security reporting to ensure compliance with local safety standards.
  • Hardening OpenClaw installations before exposing them to complex or untrusted inputs.

How ClawShield Works

  1. The user configures the security parameters, such as scan frequency and sensitivity levels, using the integrated CLI or web-based panel.
  2. The audit engine executes a series of localized scripts to scan the filesystem and network configuration for known vulnerability patterns.
  3. The system specifically analyzes prompt patterns to identify potential injection risks that could compromise the AI agent.
  4. A detailed JSON report is generated and stored locally, capturing the current security state.
  5. If configured, the skill triggers external alerts via channels like Telegram when high-risk vulnerabilities are detected.

ClawShield Setup

To integrate this security tool into your collection of Openclaw Skills, follow these steps:

1. Launch the Management Panel

node scripts/panel-server.js

Navigate to http://localhost:8133 to manage scans and view logs.

2. Configure Scan Parameters Adjust your sensitivity and alert settings via the CLI:

node scripts/config.js set Scan_freq daily alerts telegram sensitivity high

3. Execute a Manual Security Audit Run the audit script to generate an immediate report:

bash scripts/audit.sh > report.json

ClawShield Data Schema & Taxonomy

ClawShield organizes its security data and configurations into a predictable file structure to support easy integration with other Openclaw Skills.

Data Component Location Description
Configuration config.yaml Stores user-defined settings for frequency, alerts, and sensitivity.
Audit Reports logs/last-report.json The most recent security scan results in a structured JSON format.
Audit Logic scripts/audit.sh The core bash script responsible for scanning the local environment.
UI State scripts/panel-server.js Manages the local web server for the security dashboard.

ClawShield Advanced Features

  • Prompt Injection Detection: Advanced pattern matching to identify malicious instructions intended to hijack AI agents.
  • Local-Only Architecture: Ensures that no security data or scan results are transmitted outside of the localhost environment.
  • Automated Alerting: Configurable notification hooks for real-time security alerts via Telegram.
  • Flexible Sensitivity Scaling: Allows users to tune the detection engine based on their specific risk tolerance (Low, Medium, High).
  • SIEM Ready: Produces standardized JSON output that can be easily ingested by external monitoring and logging platforms.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*