Skip to main content

Module yara_engine

Module yara_engine 

Source
Expand description

YARA-X fetch-time guard for prompt-injection and exfiltration content.

Structs§

FetchGuardConfig
Fetch guard configuration.
GuardedBody
Body returned by the fetch guard.
ScanReport
Scan report for one fetch body.
SignatureMatch
One YARA signature match.
YaraEngine
Compiled YARA-X engine.

Enums§

FetchGuardAction
Operator-selected behavior when signatures match.
YaraEngineError
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.