Spotlighting for prompt injection defence in Python: marks untrusted text before it reaches a model with delimiting, datamarking and encoding as described in the Microsoft Research paper, plus the system-prompt instruction for each mode. Pipeline for tool results, helpers for web pages and email, CLI. Standard library only, Python 3.11+.
python cli python-library hacktoberfest security-tools ai-agents ai-security guardrails llm prompt-injection llm-security agentic-ai agent-security prompt-injection-defense indirect-prompt-injection spotlighting untrusted-input datamarking
-
Updated
Nov 8, 2026 - Python