prompt-injection-security
CommunitySecure LLM inputs and outputs with detection, sanitization, and validation.
Software Engineering#security#input sanitization#prompt injection#large language models#output validation
Authorils15
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Mitigates the risks of prompt injection by sanitizing inputs, validating outputs, and establishing guardrails to secure interactions with Large Language Models.
Core Features & Use Cases
- Input Sanitization: Remove potentially malicious instructions from prompts.
- Output Validation: Ensure outputs match expected patterns and filter out sensitive data.
- Guardrails: Implement rules and filters to prevent unauthorized commands and ensure compliance.
- RAG Security: Defend against context poisoning by filtering documents for injection attempts.
- Red Teaming: Simulate attacks to validate the effectiveness of the security measures.
Quick Start
Run the sanitize_prompt function to ensure a safe prompt before processing with the AI.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: prompt-injection-security Download link: https://github.com/ils15/pantheon/archive/main.zip#prompt-injection-security Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.