Skip to content
Back to skills

Prompt Injection Protection

ASecurity

A comprehensive skill to protect against prompt injection attacks when processing external content such as websites, emails, documents, and other untrusted input sources.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
securityrustsecurity

Security analysis

A100/100

Pro scans all 16 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill prompt-injection-protection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prompt Injection Protection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Prompt Injection Protection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-prompt-injection-protection/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-prompt-injection-protection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Prompt Injection Protection Skill

## Description
A comprehensive skill to protect against prompt injection attacks when processing external content such as websites, emails, documents, and other untrusted input sources.

## Purpose
This skill provides methods to safely sanitize, validate, and process external content to prevent malicious prompt injection attempts that could manipulate the AI's behavior or cause it to execute unintended actions.

## Features
- Content sanitization and validation
- Prompt injection detection and filtering
- Secure processing of web content
- Safe extraction of information from untrusted sources
- Protection against jailbreak attempts

## Security Measures
- Input sanitization
- Output encoding
- Context isolation
- Validation of external content
- Prevention of instruction hijacking

## Usage
The skill provides functions to:
- Sanitize external content before processing
- Validate content against injection patterns
- Safely extract information from untrusted sources
- Process web content securely
- Filter potentially harmful instructions

Files in this skill

  • AUTO_LEARNING_SECURITY_SUMMARY.md5.8 KB
  • README.md4.5 KB
  • SECURITY_ENHANCEMENTS_SUMMARY.md3.1 KB
  • SKILL.md1.1 KB
  • _meta.json309 B
  • adaptive-demo.js6.7 KB
  • adaptive-learning.js6.9 KB
  • auto-update.js6 KB
  • complete-demo.js7.9 KB
  • demo.js5.5 KB
  • enhanced-demo.js5.5 KB
  • example-integration.js3.4 KB
  • index.js13.3 KB
  • learned-threats.json3 KB
  • package.json678 B
  • web-processor.js1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.