Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

pathwaycom/pathway
main @ 0f7b8dd
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
python/pathway/stdlib/ml/classifiers/_knn_lsh.py: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Command Injection: The use of shell=True with string-formatted arguments in subprocess.Popen allowed attackers to execute arbitrary system commands via manipulated inputs in the third-party runner integration.
Denial of Service: Algorithmic complexity (ReDoS-like backtracking) in the custom glob matching logic could be exploited to cause extreme CPU consumption and system hangs via specifically crafted metadata filters.