towerops/lib/towerops/security
Graham McIntire c473f472c7 fix: L3, L7, L12, L13 — IP whitelist normalization, org scoping, liveSocket guard, changeset safety
- L3: Normalize IPv4-mapped IPv6 addresses (::ffff:x.x.x.x) to IPv4 tuples
  when matching against IP whitelist entries
- L7: Verify interface belongs to current org before set/clear capacity
- L12: Guard window.liveSocket behind NODE_ENV check for production safety
- L13: Replace Alert.changeset with Ecto.Changeset.change for simple field
  updates (resolved_at, acknowledged_at, gaiia_impact) to prevent
  accidental overwrites from the 17-field cast
2026-05-12 13:18:06 -05:00
..
brute_force.ex fix: L3, L7, L12, L13 — IP whitelist normalization, org scoping, liveSocket guard, changeset safety 2026-05-12 13:18:06 -05:00
cloudflare_client.ex Add GeoIP import HTTP tests 2026-03-10 16:02:49 -05:00
four_oh_four_tracker.ex fix: H12 cookie hardening + 5 low/medium bugs (L2, L5, L6, L8, L10, L11) 2026-05-12 11:22:47 -05:00
ip_block.ex Add 404-based brute force protection system 2026-02-10 16:31:48 -06:00
ip_whitelist.ex Add 404-based brute force protection system 2026-02-10 16:31:48 -06:00