clawguard-shield

Official

Active shield against prompt injection and drift.

AuthorSafeAgent-Beihang
Version1.0.0
Installs0

System Documentation

What problem does it solve?

ClawGuard Shield detects and prevents prompt injection attacks, role hijacking attempts, jailbreaks, and intent drift in AI agent conversations, safeguarding task integrity and user trust.

Core Features & Use Cases

  • Encoding detection detects hidden commands in encoded inputs, including base64, hex, unicode, and zero-width characters.
  • Role hijacking and jailbreak detection blocks attempts to hijack the agent's persona or bypass safety rules.
  • Intent drift validation ensures new inputs align with the original task and constraints, triggering risk assessments when deviations occur.
  • Automated response and hardening guidance provides risk-based actions, sanitization steps, and concrete recommendations for safe processing.
  • Use cases include scanning user prompts in chatops, API gateways, and agent pipelines for robust defense.

Quick Start

Run Shield via the CLI with defend to scan an input for injection threats.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: clawguard-shield
Download link: https://github.com/SafeAgent-Beihang/clawguard/archive/main.zip#clawguard-shield

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.