Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
lib/netrc.rb: most-fixed (2 issues). Treat as high-risk during review.
0 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.
Auth Bypass: The library decrypted or read netrc credentials before enforcing permission checks, allowing unauthorized local processes to potentially access decrypted secrets if the configuration file permissions were overly permissive. This was mitigated by reordering the check before `gpg` decryption or reading.
Incorrect Privilege Assignment: Failing to enforce strict file permissions allowed the library to read netrc files that were world-readable or group-readable, risking accidental exposure of credentials to other users on a multi-user system.