Security context

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

yiisoft/yii2-codeception
master @ c7d1509
30
Fixes
0
CVEs
CRITICAL
Peak severity
Highlights
CSRF: 8 prior fixes. Scrutinize any change in this area.
framework/yii/web/Request.php: most-fixed (4 issues). Treat as high-risk during review.
17 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: Access controls previously defaulted to an insecure 'allow' model when no specific rules matched, or failed to invoke the designated deny handlers during authorization decisions. Future filters must enforce a strict default-deny model.
CSRF: CSRF validation failures historically returned boolean flags rather than throwing exceptions, allowing execution to continue despite token mismatches. Implementations must abort immediately on validation failure.
Insecure Deserialization: Using PHP's native 'unserialize' function on runtime files and configurations exposes the application to arbitrary object injection and Remote Code Execution (RCE). Migrating to JSON format is required for persistent payload reading.