Security context

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

w3f/polkadot-validator-setup
master @ c48b887
11
Fixes
0
CVEs
HIGH
Peak severity
37.5%
Coverage
Highlights
Insecure Default Behavior: 3 prior fixes. Scrutinize any change in this area.
ansible/roles/polkadot-validator/tasks/firewall.yml: most-fixed (3 issues). Treat as high-risk during review.
4 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.

Security Misconfiguration: Failure to link Azure Network Security Groups to internal subnets bypassed cloud-level traffic controls, leaving subnets without intended external boundary protections. Developers must ensure subnet resource blocks explicitly assign and reference NSG IDs.
Insecure Default Behavior: Flawed logic and conditions in Ansible firewall tasks allowed external access to restricted ports (such as internal p2p ports and proxy ports) because firewall state checks were decoupled from the actual operational state of the reverse proxy and validator services.
Man-in-the-Middle: Downloading the Polkadot node binary without cryptographic checksum verification exposed deployment environments to remote execution of manipulated binaries during provisioning.