Highlights
Broken Cryptography: 1 prior fix. Scrutinize any change in this area.
src/gemini_webapi/utils/get_access_token.py: 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.
Broken Cryptography: Disabling SSL/TLS certificate verification during HTTP client initialization (verify=False) exposes authentication endpoints to Man-in-the-Middle (MitM) attacks, allowing attackers to intercept or manipulate access tokens. Additionally, storing retrieved session cookies with overly permissive file permissions exposes sensitive session state to other local users.
Information Disclosure: Incomplete substring matching on cookie domains can lead to session leakage. An attacker using a domain that ends with a legitimate suffix (e.g., 'notgoogle.com' matching '.google.com') could receive sensitive session cookies if domain-suffix validation is not strictly anchored.