injection-defense

Detect and block prompt injection, jailbreak, and social engineering attempts.

154|38|Updated May 4, 2026
One-click install
npx skills add https://github.com/kangarooking/system-prompt-skills --skill injection-defense-kangarooking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: injection-defense
Source: https://github.com/kangarooking/system-prompt-skills/tree/main/injection-defense
Command: npx skills add https://github.com/kangarooking/system-prompt-skills --skill injection-defense-kangarooking

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill defends AI prompts from injection, jailbreak, and social engineering attempts by enforcing layered defenses and trust boundaries across all external inputs.

Core Features & Use Cases

  • Multi-layer defense architecture: Deploys at least three independent protection layers (input screening, enforcement of permissioned commands, and output auditing) to prevent prompt manipulation.
  • Trust-boundary enforcement: Classifies inputs as trusted or untrusted and ensures untrusted content cannot alter system behavior.
  • Threat detection & notification: Detects injection attempts and immediately notifies users while refusing execution and avoiding leakage of internal mechanisms.
  • Use Case: Ideal for AI agents, chatbots, and document processing systems that accept external content.

Quick Start

Configure a multi-layer prompt defense to detect and block injection attempts in real-time.

Frequently Asked Questions about injection-defense

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

FAQPage Schema
How do I defend AI prompts from injection and jailbreak attempts?

You defend AI prompts by deploying a multi-layer architecture that screens external inputs, enforces permissioned commands, and audits outputs to prevent manipulation. This approach detects and blocks injection threats in real-time.

What are trust boundaries in prompt security and how do they work?

Trust boundaries in prompt security classify external inputs as trusted or untrusted, ensuring untrusted content cannot alter system behavior. This mechanism prevents unauthorized prompt manipulation from external sources.

Can I use this injection defense for document processing systems that accept external content?

You can use this injection defense for AI agents, chatbots, and document processing systems that handle external content. It applies secure prompt governance across diverse workflows to detect, block, and report threats.

How do I stop my AI agent from leaking internal mechanisms during an injection attack?

To stop an AI agent from leaking internal mechanisms during an injection attack, implement an automated alert-and-block workflow. This Skill detects threats, refuses execution, and notifies users without exposing internal mechanisms.

What is the best way to mitigate social engineering risks in AI chatbots?

The best way to mitigate social engineering risks in AI chatbots is implementing defense-in-depth with input screening and output auditing. This Skill detects manipulation attempts and blocks execution while notifying users.