Add fixture expectations and CLI scan test

This commit is contained in:
2025-12-31 22:31:53 -05:00
parent d7f2a1cec3
commit 8b4273e7cb
5 changed files with 154 additions and 1 deletions

View File

@@ -17,3 +17,13 @@ fix_tier = "reencode"
stop_scan = false
patterns = ["(?i)File ended prematurely"]
notes = "File appears truncated."
[[rule]]
id = "ERROR_WHILE_DECODING"
domain = "decode"
severity = "high"
confidence = 0.5
fix_tier = "reencode"
stop_scan = false
patterns = ["(?i)Error while decoding"]
notes = "Decoder reported an error while decoding stream."