Expand description
YARA-X fetch-time guard for prompt-injection and exfiltration content.
Structs§
- Fetch
Guard Config - Fetch guard configuration.
- Guarded
Body - Body returned by the fetch guard.
- Scan
Report - Scan report for one fetch body.
- Signature
Match - One YARA signature match.
- Yara
Engine - Compiled YARA-X engine.
Enums§
- Fetch
Guard Action - Operator-selected behavior when signatures match.
- Yara
Engine Error - Error returned by the YARA engine or policy application.
Constants§
- REDACTION_
MARKER_ PREFIX - Marker used when redacting a matched fetch body section.
Functions§
- builtin_
rule_ count - Number of built-in rules.
- builtin_
rule_ ids - Built-in rule identifiers.
- builtin_
rule_ source - Built-in YARA-X source shared by nab and downstream hook consumers.
- guard_
fetch_ body - Guard a fetched body with the built-in engine and supplied policy.