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+.
-
Updated
Nov 29, 2026 - Python