Security context

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

angristan/openvpn-install
master @ 935e559
6
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Cryptographic Issues: 1 prior fix. Scrutinize any change in this area.
openvpn-install.sh: most-fixed (5 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.

Insecure Download: Downloads of critical dependency packages (easy-rsa) originally lacked cryptographic integrity checks, exposing users to potential Man-in-the-Middle (MitM) or supply chain attacks. Standardizing on robust checksum verification is essential.
IP Address Spoofing: Broad interface wildcards in iptables/nftables configurations allowed unvalidated traffic sources, potentially leading to unauthorized packet ingestion and IP address spoofing. Rules must restrict wildcards to explicit source subnets.
Insecure Permissions: Generated .ovpn client configuration files, which contain sensitive private keys and credentials, were created with weak permissions that allowed local users to read them. Files must explicitly restrict read/write access to matching owners.