Security context

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

matomo-org/tracker-proxy
master @ ecbc1a3
10
Fixes
0
CVEs
HIGH
Peak severity
87.5%
Coverage
Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
proxy.php: most-fixed (9 issues). Treat as high-risk during review.
5 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: Client-supplied token_auth or sensitive tracking params (cip, cdt, cdo, etc.) could be forwarded with the proxy's privileged token, enabling spoofing of IP/location/timestamp and bypassing authorization.
Spoofing / Privacy Leak: Client-supplied cip handling was inconsistent between GET/POST and empty/array values, allowing the proxy's own IP to be recorded instead of the visitor's or a placeholder, leaking privacy.
Auth Bypass: File request routing used an insufficient allowlist check, allowing bypass of file access restrictions via a valid module/action combination.