Security context

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

opensumi/core
main @ a07b4ee
13
Fixes
0
CVEs
HIGH
Peak severity
38.5%
Coverage
Highlights
Denial of Service: 9 prior fixes. Scrutinize any change in this area.
.github/workflows: most-fixed (1 issue). Treat as high-risk during review.
3 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.

Auth Bypass: Unprivileged extensions could execute arbitrary internal commands. Prevention requires enforcing robust permission checks against extension metadata at the command invocation boundary.
Denial of Service: Parsing syntax highlighting on excessively long lines triggers extreme CPU usage. Standard mitigations must completely skip tokenization when line lengths exceed safe boundaries instead of processing truncated strings.
Cross-Site Scripting (XSS): Relying on outdated configuration options of the parser allows bypasses of rendering safety checks. This must be prevented by passing raw output through a dedicated sanitization library before UI injection.