Security context

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

zseven-w/openpencil
main @ e8ed198
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
packages/pen-mcp/src/utils/sanitize.ts: 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.

Prototype Pollution: Insecure parsing of JSON payloads can lead to Prototype Pollution, potentially compromising application logic or enabling remote code execution depending on the downstream runtime environment.
Auth Bypass: Failing to sanitize and restrict environment variables resolved from configuration sources like settings.json can allow unauthorized access or privilege escalation through environment manipulation.