towerops/lib/towerops_web/live/agent_live
Graham McIntie 1590f78bdc fix: input validation, SSRF, API hardening, and cookie security
- LIKE wildcard injection: sanitize %, _ in search queries (devices, sites, gaiia)
- Jason.decode! → Jason.decode with error handling for untrusted input
- inspect() leak: replace with generic error messages, log details server-side
- SSRF protection: URL validator blocks private IPs, localhost, non-HTTP schemes
- SSRF validation added to HTTP monitoring executor and integration credentials
- GraphQL complexity limits: always applied, not just in prod
- GraphQL introspection: also check GET query params, not just body
- Stripe webhook: explicit nil/empty checks for signature and body
- Cookie security: secure flag for session (prod), http_only+secure for remember_me
- Honeybadger API key: read from env var with fallback
- String.to_integer → Integer.parse with fallback for URL params
- String.to_atom → whitelist map for HTTP methods
- Gaiia webhook: remove secret_len and expected signature from log
- Admin API: add rate limiting pipeline
- to_atom_keys: per-key fallback instead of all-or-nothing rescue
2026-03-14 14:48:59 -05:00
..
edit.ex Allow superadmins to view and edit any agent regardless of org 2026-02-10 12:19:20 -06:00
edit.html.heex fix: netbox url field type, gaiia ipRange→block, remove unknown webhook log 2026-02-14 17:44:01 -06:00
helpers.ex remove date helper 2026-02-10 09:15:41 -06:00
index.ex fix: input validation, SSRF, API hardening, and cookie security 2026-03-14 14:48:59 -05:00
index.html.heex ux: improve mobile responsiveness across all pages 2026-03-12 16:49:59 -05:00
show.ex Add GeoIP import HTTP tests 2026-03-10 16:02:49 -05:00
show.html.heex ux: improve mobile responsiveness across all pages 2026-03-12 16:49:59 -05:00