cerbia.core.scanners.KeywordScanner combines registered language patterns with code-oriented patterns to identify suspicious instructions and evasion text. It normalizes Unicode and common leetspeak substitutions before matching, which makes it useful after decoding and whitespace preprocessing.
| Parameter | Default | Meaning |
|---|---|---|
|
all registered |
Language packs to load. |
|
|
Additional |
|
|
|
|
|
Replaces matched snippets in the rationale with |
|
|
Finding severity. |
|
|
Finding action. |
|
|
Accepted content types. |
The score starts at 0.80 and increases by 0.05 per match, capped at 1.0. For SEARCH and ALL, matches found in registered defensive context are excluded. FULL_MATCH does not apply the defensive-context exclusion.
scanners:
- scanner: cerbia.core.scanners.KeywordScanner
init_args:
languages: ["en", "es"]
match_strategy: all
redact: true
See Internationalization for language-pack selection.