Security context

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

epam/UUI
develop @ 9c334b6
13
Fixes
0
CVEs
HIGH
Peak severity
16.7%
Coverage
Highlights
Path Traversal: 9 prior fixes. Scrutinize any change in this area.
server/api/getCode.ts: most-fixed (4 issues). Treat as high-risk during review.
11 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.

Path Traversal: Most frequently patched component (4 commits) with an fs.readFile sink; multiple fixes were needed to achieve a robust guard, indicating an evolving bypass surface.
Path Traversal: Two fixes to the same fs.readFileSync sink; the initial prefix check was flawed and replaced with a path.relative guard, showing the need for canonicalization.
Path Traversal: Two fixes on a path.join sink constructing a file path from user input; both required path canonicalization and prefix checks to prevent arbitrary file read.