Security context

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

paypal/paypal-php-sdk
master @ a65afcf
3
Fixes
0
CVEs
HIGH
Peak severity
33.3%
Coverage
Highlights
Information Disclosure: 2 prior fixes. Scrutinize any change in this area.
lib/PayPal/Api/RedirectUrls.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.

Information Disclosure: Access tokens were stored in plaintext via file_put_contents, exposing credentials to local file readers.
Information Disclosure: A typo in the constructor assigned to a dynamic property based on the secret key value, potentially exposing the key via improper storage.
Open Redirect: setReturnUrl and setCancelUrl accepted arbitrary URLs without validation, enabling open redirects.