You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fuzz: add Datalog parser and expression evaluator fuzz targets #213
Audit finding: The parser has confirmed unwrap() panics on number overflow at parser.rs:151-174. parse_number() collects digits without length limit, then .parse::<i64>().unwrap() panics on overflow. Input like 99999999999999999999 crashes the library.
This is a concrete DoS vector — especially relevant given Minigraf targets AI agent use cases where inputs are LLM-generated (prone to producing overflow values). The fix will land separately, but fuzz targets in this issue's scope would prevent regression.
Activity
adityamukho commentedon May 2, 2026
Audit finding: The parser has confirmed
unwrap()panics on number overflow at parser.rs:151-174.parse_number()collects digits without length limit, then.parse::<i64>().unwrap()panics on overflow. Input like99999999999999999999crashes the library.This is a concrete DoS vector — especially relevant given Minigraf targets AI agent use cases where inputs are LLM-generated (prone to producing overflow values). The fix will land separately, but fuzz targets in this issue's scope would prevent regression.
chore(wave3): foundation — FaultInjectingBackend, fuzz/ crate, propte…
Merge pull request #256 from project-minigraf/wave3/pr4-query