prompt-guard

Detect prompt injection and secret-exfiltration attempts in untrusted AI inputs.

23|5|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/EverClaw/EverClaw --skill prompt-guard-everclaw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-guard
Source: https://github.com/EverClaw/EverClaw/tree/main/skills/prompt-guard
Command: npx skills add https://github.com/EverClaw/EverClaw --skill prompt-guard-everclaw

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Prompt Guard protects AI agents from prompt injection, secret-exfiltration attempts, and other message-based manipulation that can cause a bot to reveal credentials, follow hostile instructions, or take unsafe actions.

Core Features & Use Cases

  • Multilingual Threat Detection: Identifies attacks across English, Korean, Japanese, and Chinese, including direct overrides, jailbreak attempts, social engineering, and indirect injection from external content.
  • Security-First Response Control: Uses severity scoring, rate limiting, normalization, encoding detection, and logging to decide when to allow, warn, block, or notify an owner.
  • Output Protection and Hygiene: Redacts secrets and sensitive paths from model responses, supports audit tooling, and can integrate with HiveFence for shared threat intelligence.
  • Use Case: A support bot reads a GitHub issue, email, or chat message and needs to decide whether the content is safe before acting on it.

Quick Start

Ask Prompt Guard to analyze an untrusted message and return whether it should be allowed, warned, blocked, or sanitized before your agent responds.

Frequently Asked Questions about prompt-guard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect prompt injection in AI agent inputs from external sources?

Prompt injection detection works by scanning untrusted inputs from GitHub issues, emails, and Slack for direct overrides, jailbreaks, and indirect injection. It assigns a severity score and rate limits requests to decide whether to allow, warn, block, or sanitize the message before your agent acts.

What is indirect prompt injection and how does it affect AI security?

Indirect prompt injection is message-based manipulation embedded in external content like emails or GitHub issues. It causes AI agents to follow hostile instructions or reveal credentials by exploiting the agent's context window rather than direct user commands.

Can I scan multilingual chat messages for jailbreak attempts and social engineering?

You can scan multilingual chat messages for jailbreak attempts and social engineering across English, Korean, Japanese, and Chinese. The system identifies these threats and applies normalization and encoding detection to prevent evasion techniques.

How do I redact secrets and sensitive paths from LLM outputs?

To redact secrets from LLM outputs, you apply output protection and hygiene rules that sanitize model responses before delivery. This process removes sensitive paths and credentials, supporting audit tooling to track what data was blocked.

Does prompt injection detection work with GitHub issues, emails, and Slack messages?

Prompt injection detection works with GitHub issues, emails, Slack, and Discord messages. It analyzes these agent-facing external sources for untrusted content, applying severity scoring and rate limiting to block malicious instructions before execution.

What are the limitations of using severity scoring for AI message security?

Severity scoring for AI message security relies on normalization and encoding detection to flag risks, but highly novel or obfuscated attacks may bypass initial filters. Rate limiting and optional threat-intelligence integration help mitigate these edge cases.