Under the hood
Sibling to the test generator
Use this when preparing prompts or logs before authorised testing. It lives next to the prompt-injection generator so red-team workflows stay on-device.
The detect and applyMap helpers are structured for reuse by the planned Inspect redaction module.