Security context

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

caviraoss/openmemory
main @ 49e9e8b
11
Fixes
0
CVEs
CRITICAL
Peak severity
36.4%
Coverage
Highlights
Auth Bypass: 6 prior fixes. Scrutinize any change in this area.
backend/src/server/index.ts: most-fixed (2 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.

Auth Bypass: Misconfigured or incorrectly resolved environment variables (such as checking OM_API_KEY or key properties incorrectly) bypassed authentication checks completely, allowing unauthenticated API access.
SQL Injection: Dynamic SQL construction with unvalidated table names and schema identifiers allows injection via configuration variables or metadata inputs.
Auth Bypass: Authentication middleware failed open when API key configuration was missing or invalid, allowing access to privileged operations.