Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
clawguard β€” Enterprise AI agent security toolkit providing pre-flight auditing, configuration hardening, runtime threat detection, and active defense against prompt injection and intent drift via SKILL.md-driven modules. | Kitploit
Tools/GitHubGitHub/safeagent-beihang/clawguard
Defensive ToolsCode AnalysisConfiguration AuditingSupply Chain SecurityIntrusion DetectionLearning & EducationAI SecurityAnomaly Detection
GitHubsafeagent-beihang/clawguard

clawguard

Enterprise AI agent security toolkit providing pre-flight auditing, configuration hardening, runtime threat detection, and active defense against prompt injection and intent drift via SKILL.md-driven modules.

504356 months agoReviewed by Kitploit

Most Popular

View all β†’

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools β†’
View Repository
Share

🦞 ClawGuard v3

Enterprise AI Agent Security Toolkit - SKILL.md Driven Active Defense

Core Concept

The core defense of ClawGuard v3 is not in the code, but in SKILL.md!

Each module's SKILL.md itself is a complete defense guide:

  • Tells the Agent when to trigger
  • Guides the Agent how to detect
  • Provides specific detection patterns and rules
  • Defines output format and decision criteria

Code scripts are just auxiliary tools; the real intelligence is in SKILL.md.


🎯 Five Security Modules

ModulePositionSKILL.md LinesCore Features
AuditorPre-flight Audit679 linesIntent Drift Detection, SKILL.md Code Scanning
CheckerStatic Check476 linesConfig Hardening, One-Click Fix
DetectRuntime Monitor615 linesThreat Detection, Guardian Integration
GuardianRuntime Control451 linesBehavior Monitoring, Session Freeze/Replay
ShieldActive Defense493 linesPrompt Injection, Zero-Width Detection

Total Documentation: 2,714 lines (v2 has 2,226 lines with only 3 modules)


πŸ“‚ Module Structure

Each module contains:

auditor-skill/
β”œβ”€β”€ SKILL.md      ← Core defense guide (most important!)
β”œβ”€β”€ _meta.json    ← Metadata
β”œβ”€β”€ cli.js        ← Auxiliary CLI tool
└── src/          ← Auxiliary code modules

Core SKILL.md Contents

Each SKILL.md includes:

  1. When to Trigger - When should the Agent use this module
  2. How to Execute - Detailed detection steps and workflows
  3. Detection Pattern Library - Specific regex and pattern matching rules
  4. Decision Criteria - How to output results and risk levels
  5. Examples - Actual usage cases

πŸš€ Quick Start

Usage via Agent (Recommended)

Tell the Agent what to do, and it will read SKILL.md and execute:

User: Help me audit this skill: /workspace/skills/weather-tool
        ↓
Agent reads auditor-skill/SKILL.md
        ↓
Agent executes audit according to SKILL.md guidelines
        ↓
Output audit results

Usage via CLI

# Audit Skill
cd auditor-skill && node cli.js /path/to/skill

# Check Configuration
cd checker-skill && node cli.js ~/.openclaw/openclaw.json

# Detect Threats
cd detect-skill && node cli.js --monitor

# Runtime Guardian
cd guardian-skill && node cli.js start

# Detect Injection
cd shield-skill && node cli.js defend "test text"

πŸ“‹ Module Details

Auditor - Pre-flight Audit (679 lines)

Trigger Scenarios: Before installing a new Skill

SKILL.md Core Features:

  • Command execution risk detection (100+ patterns)
  • File access risk detection
  • Network request risk detection
  • Intent Drift Detection (v3 new)
  • SKILL.md Code Block Scanning (v3 new)
  • Supply chain security analysis
  • MITRE ATT&CK mapping

Decision Output:

🟒 Safe β†’ Can install
🟑 Need Review β†’ Can install after confirmation
πŸ”΄ High Risk β†’ Not recommended to install

Checker - Configuration Check (476 lines)

Trigger Scenarios: Check configuration security

SKILL.md Core Features:

  • Gateway configuration check
  • Tool execution configuration check
  • Sandbox configuration check
  • Network security check
  • Hardening Recommendations (v3 new)
  • One-Click Fix (v3 new)

Decision Output:

⚠️ Issues found + Specific fix recommendations + One-click hardening

Detect - Threat Detection (615 lines)

Trigger Scenarios: Real-time monitoring and threat scanning

SKILL.md Core Features:

  • Command execution threat detection
  • File operation threat detection
  • Network threat detection
  • Prompt injection detection
  • Attack chain correlation analysis
  • Guardian Integration (v3 new)

Decision Output:

πŸ”΄ CRITICAL β†’ Immediate action required
🟠 HIGH β†’ Request confirmation
🟑 MEDIUM β†’ Log and warn

Guardian - Runtime Guardian (451 lines)

Trigger Scenarios: When behavior monitoring is needed

SKILL.md Core Features:

  • Real-time behavior monitoring
  • Risk operation interception
  • Session audit replay
  • Emergency Freeze (v3 new)
  • Evidence Preservation (v3 new)
  • Rule Engine (v3 new)

Core Rules:

Deny: /etc/*, /root/*, /.ssh/*
Confirm: rm -rf, chmod 777, killall
Log: All operations

Shield - Active Shield (493 lines)

Trigger Scenarios: Check user input security

SKILL.md Core Features:

  • Base64 Encoding Injection Detection (v3 new)
  • Hex/Unicode Encoding Detection (v3 new)
  • Zero-Width Character Detection (v3 new)
  • Role hijacking detection
  • Jailbreak attack detection
  • Instruction Chain Hijacking Detection (v3 new)
  • Intent Validation (v3 new)

Detection Workflow:

Encoding β†’ Hijacking β†’ Jailbreak β†’ Chain Hijacking β†’ Intent Drift

πŸ” Intent Drift Detection (v3 Core Feature)

What is Intent Drift?

The Skill's claimed functionality vs. actual behavior doesn't match:

ClaimedActualDecision
"Weather Tool"Reads SSH keysπŸ”΄ Severe drift
"File Organizer"Starts backdoor processπŸ”΄ Severe drift
"Translation Assistant"Exfiltrates user documentsπŸ”΄ Severe drift

Detection Method

  1. Extract claimed functionality from SKILL.md
  2. Analyze actual behavior in code
  3. Compare for match
  4. Flag as high risk if mismatched

πŸ“ Project Structure

ClawGuardv3/
β”œβ”€β”€ auditor-skill/           # Pre-flight audit (679 lines SKILL.md)
β”‚   β”œβ”€β”€ SKILL.md          # ⭐ Core defense guide
β”‚   β”œβ”€β”€ _meta.json
β”‚   β”œβ”€β”€ cli.js
β”‚   └── src/
β”‚       β”œβ”€β”€ auditor.js
β”‚       β”œβ”€β”€ sast-analyzer.js
β”‚       β”œβ”€β”€ intent-drift-detector.js
β”‚       └── supply-chain-analyzer.js
β”œβ”€β”€ checker-skill/           # Config check (476 lines SKILL.md)
β”‚   β”œβ”€β”€ SKILL.md          # ⭐ Core defense guide
β”‚   β”œβ”€β”€ _meta.json
β”‚   β”œβ”€β”€ cli.js
β”‚   └── src/
β”‚       └── checker.js
β”œβ”€β”€ detect-skill/            # Threat detection (615 lines SKILL.md)
β”‚   β”œβ”€β”€ SKILL.md          # ⭐ Core defense guide
β”‚   β”œβ”€β”€ _meta.json
β”‚   β”œβ”€β”€ cli.js
β”‚   └── src/
β”‚       └── detector.js
β”œβ”€β”€ guardian-skill/           # Runtime guardian (451 lines SKILL.md)
β”‚   β”œβ”€β”€ SKILL.md          # ⭐ Core defense guide
β”‚   β”œβ”€β”€ _meta.json
β”‚   β”œβ”€β”€ cli.js
β”‚   └── src/
β”‚       └── guardian.js
β”œβ”€β”€ shield-skill/            # Active shield (493 lines SKILL.md)
β”‚   β”œβ”€β”€ SKILL.md          # ⭐ Core defense guide
β”‚   β”œβ”€β”€ _meta.json
β”‚   β”œβ”€β”€ cli.js
β”‚   └── src/
β”‚       └── shield.js
└── shared/
    └── rules/
        └── interceptor-rules.js

πŸ†š v2 vs v3 Comparison

Featurev2v3
Module Count35
Total SKILL.md Lines2,2262,714
Defense CoreCode implementationSKILL.md
Intent Drift DetectionBasicComplete
SKILL.md Code ScanningNoneYes
Guardian IntegrationNoneYes
Session ManagementBasicFreeze/Replay
Prompt Injection ProtectionBasicMulti-layer Detection
Zero-Width DetectionNoneYes
One-Click HardeningNoneYes

Module Comparison

Modulev2 SKILL.mdv3 SKILL.mdNew Content
Auditor823 lines679 linesIntent drift, SKILL.md scanning
Checker686 lines476 linesOne-click hardening, fix suggestions
Detect717 lines615 linesGuardian integration, zero-width detection
Guardian-451 linesNew module
Shield-493 linesNew module

πŸ“„ License

MIT License


Version: v3.0.0 Last Updated: 2026-03-21

Download Tool