Security context

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

imiphp/imi
2.1 @ e887276
11
Fixes
0
CVEs
CRITICAL
Peak severity
36.4%
Coverage
Highlights
Auth Bypass: 6 prior fixes. Scrutinize any change in this area.
src/Bean/BeanProxy.php: most-fixed (2 issues). Treat as high-risk during review.
8 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.

Code Injection: The use of an unsafe eval construct in validation utility helpers allowed arbitrary code execution via manipulated validator inputs. Developers must use strict mappings or safe parsing instead of dynamic evaluation.
Auth Bypass: Accepting empty session identifier strings as valid active sessions allowed session state errors or session hijacking. Input checks must verify that session IDs are non-empty before starting session contexts.
Auth Bypass: JWT signature and integrity checks were bypassed entirely if the validation constraints array was empty, leaving endpoints completely unguarded.