Security context

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

hubspot/hubspot-api-python
master @ a2a528a
5
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
hubspot/utils/requests/http_auth.py: most-fixed (1 issue). 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.

Authentication Bypass: Attackers could inject credentials via request options, bypassing configured authentication. Fix enforced that auth values must come from config, removing the options-based injection vector.
Authentication Bypass: Signature validation used non-constant-time comparison and a lax timestamp window, enabling timing attacks and replay. Fix introduced hmac.compare_digest and stricter timestamp checks.
Auth Bypass: Trello routes lacked signature validation, allowing unauthorized access to deal association operations. Fix added HMAC signature validation middleware.