Skip to content
Projects

Alpha-Park/genpark-agent-prompt-guard-injection-sanitizer-skill

View on GitHub

About

Strict heuristic and regex-based prompt injection and untrusted input guard detecting jailbreak markers, hidden instruction escapes, and indirect injection payloads

AI & Machine Learning

How these counts are measured

What you can do

  • Exploit & Jailbreak Detection: Flags attempts to override system prompts or bypass ethical boundary instructions.
  • Neutralization: Replaces hostile command sequences with safe sanitized placeholders.
  • Zero Overhead: Blazing fast regex and heuristic matching using the Python Standard Library.

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
0

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Prompt Guard Injection Sanitizer Skill for Autonomous Agents

MCP Compatible Python 3.9+ License: MIT Zero External Dependencies

Enterprise-grade defensive input firewall for LLM autonomous agents. Inspects, filters, and neutralizes prompt injections, indirect jailbreaks, and instructions override exploits before passing untrusted text into prompts.

Key Features

  • Exploit & Jailbreak Detection: Flags attempts to override system prompts or bypass ethical boundary instructions.
  • Neutralization: Replaces hostile command sequences with safe sanitized placeholders.
  • Zero Overhead: Blazing fast regex and heuristic matching using the Python Standard Library.

MCP Server Integration

python mcp_server.py

Available MCP Tools

  • sanitize_prompt: Analyze and cleanse text of malicious injection attacks.
  • inspect_threats: Scan text and list identified security threat patterns.

Explore related projects

Loading…