AI Security & LLM Guardrails

0•

Secures LLM applications by implementing prompt injection detection, PII redaction, and output content filtering.

This Claude Code Skill provides a comprehensive suite of security patterns designed to protect AI-powered applications from modern threats. It automates the implementation of critical safety layers, including heuristic-based prompt injection detection, sensitive PII redaction with secure token mapping, and content moderation filters for LLM outputs. By utilizing these standardized patterns, developers can prevent jailbreaks, ensure data privacy, and maintain strict content safety standards throughout the entire LLM lifecycle from input sanitization to response validation.

Key Features

01Secure prompt construction using standardized system/user delimiters.
02Multi-category output filtering for violence, hate speech, and illegal content.
030 GitHub stars
04Advanced prompt injection detection for identifying instruction overrides and role-play attacks.
05Automated PII redaction with unique tokenization and restoration capabilities.
06Integrated rate limiting and abuse prevention mechanisms.

Use Cases

01Protecting enterprise chatbots from jailbreaks and system prompt leakage.
02Sanitizing sensitive user data before transmission to third-party LLM providers.
03Implementing content safety guardrails for public-facing AI applications.