Security context

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

nexmo/nexmo-php
master @ 5feed48
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
src/Client.php: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix 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: Flawed logic in client credential resolution allowed a SharedSecret authenticated request to fall back to appending plaintext Basic credentials to the query string, risking credential exposure and authorization bypass. developers must ensure strict mutual exclusion when evaluating multiple auth methods.
Auth Bypass: Signature verification was vulnerable to bypass or validation failures due to case-sensitivity mismatches during comparison of calculated and incoming hashes. Comparison logic must normalize values before verification.