netra-pii-and-input-guardrails
Installation
SKILL.md
Netra PII And Input Guardrails
Use this skill to protect prompts and logs from sensitive data and malicious inputs.
When To Use
- You must detect/mask/block PII before sending text to LLMs.
- You need prompt-injection scanning before agent/tool execution.
- You want explicit security actions (
MASK,FLAG,BLOCK).
Procedure
- Choose a PII detector (
get_default_detectororRegexPIIDetector). - Set action type based on policy (
MASKfor safe continuation is common). - Scan user input with
InputScannerbefore processing. - Stop requests on blocked violations.
- Send masked content downstream when allowed.