Add path-traversal corpus cases so CWE-22 is covered beyond Python/PHP.
Where: umbra_eval/detection/corpus/multilang.py (or public.py).
- Go:
os.Open("/data/" + r.URL.Query().Get("f")) (and a taint-through-var form).
- Java:
new File(baseDir, req.getParameter("name")) / Files.readAllBytes(...).
- SAFE decoys: input validated/canonicalized against a base dir.
Acceptance criteria
See CONTRIBUTING.md. If the engine misses a case, that's a valid finding — open a
companion umbra-core issue rather than hand-tuning to one case.
Add path-traversal corpus cases so CWE-22 is covered beyond Python/PHP.
Where:
umbra_eval/detection/corpus/multilang.py(orpublic.py).os.Open("/data/" + r.URL.Query().Get("f"))(and a taint-through-var form).new File(baseDir, req.getParameter("name"))/Files.readAllBytes(...).Acceptance criteria
path_traversal/CWE-22; SAFE cases 0 FP.pytest -q+ruffgreen.See
CONTRIBUTING.md. If the engine misses a case, that's a valid finding — open acompanion umbra-core issue rather than hand-tuning to one case.