Security context

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

karatelabs/karate
main @ 2534455
3
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Information Disclosure: 1 prior fix. Scrutinize any change in this area.
io.karatelabs.core.MockHandler: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

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

Remote Code Execution: Untrusted request data could trigger arbitrary code execution by leveraging Java interop and dynamic expression evaluation within the Mock Server engine. Security relies on these features being disabled by default.
Information Disclosure: Nested execution flows (such as 'callonce' in Background steps) failed to restore the caller's thread-local LogContext upon exit, causing sensitive HTTP headers like Authorization tokens to leak into console logs and test reports.
Reflected XSS: User- or extension-controlled page titles were rendered directly into the topbar navigation without escaping, allowing arbitrary JavaScript execution in the context of the generated HTML report.