Security context

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

mainwp/mainwp
main @ fc30be8
84
Fixes
1
CVEs
HIGH
Peak severity
18.9%
Coverage
Highlights
Auth Bypass: 18 prior fixes. Scrutinize any change in this area.
MainWP: most-fixed (7 issues). Treat as high-risk during review.
29 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: The connection interface is the core trust boundary governing communication between the dashboard and child sites. Insufficient environment checks or flaws in signature validation allow attackers to bypass authentication entirely or spoof trusted child sites.
Information Disclosure: Sensitive credentials, including site-specific HTTP authentication payloads, private keys, and 'uniqueId' connection tokens, are frequently vulnerable to exposure in REST responses when custom context query parameters circumvent default schema filters.
SQL Injection: String concatenation of unsanitized parameters, such as client IDs, wildcards within 'LIKE' search operations, and unparameterized 'LIMIT' variables directly in query building, consistently bypasses database-level protections.