towerops/lib/towerops_web
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
..
channels add mobile app websocket channel and improve QR linking UX 2026-03-13 17:28:36 -05:00
components add mobile app websocket channel and improve QR linking UX 2026-03-13 17:28:36 -05:00
controllers fix: input validation, SSRF, API hardening, and cookie security 2026-03-14 14:48:59 -05:00
graphql add real-time GraphQL API with time-series queries and subscriptions 2026-03-12 10:24:39 -05:00
helpers feat: add status emoji to page titles 2026-03-06 14:45:02 -06:00
live fix: input validation, SSRF, API hardening, and cookie security 2026-03-14 14:48:59 -05:00
plugs fix: input validation, SSRF, API hardening, and cookie security 2026-03-14 14:48:59 -05:00
changelog_parser.ex fix: resolve 500 errors on /activity and /changelog 2026-02-13 19:49:12 -06:00
endpoint.ex add mobile app websocket channel and improve QR linking UX 2026-03-13 17:28:36 -05:00
gettext.ex init 2025-12-21 11:10:43 -06:00
gettext_helpers.ex feat: migrate email templates to gettext (Phase 2 - Emails) 2026-02-02 09:48:30 -06:00
graphql_socket.ex add real-time GraphQL API with time-series queries and subscriptions 2026-03-12 10:24:39 -05:00
permissions.ex i18n: add Spanish locale with full translations, language selector, and locale hook 2026-02-14 17:44:01 -06:00
plug_exceptions.ex handle exceptions gracefully on api endpoints 2026-02-04 12:18:14 -06:00
remote_ip.ex perf: disable Req retry for faster error tests 2026-03-10 16:19:31 -05:00
router.ex remove dedicated capacity page from nav and routing 2026-03-12 12:20:23 -05:00
scoped_resource.ex perf: disable Req retry for faster error tests 2026-03-10 16:19:31 -05:00
telemetry.ex fix: add Oban config to dev.exs and replace Exq telemetry with Oban 2026-01-24 16:39:45 -06:00
telemetry_filter.ex fix: suppress health check logs and downgrade CI artifacts to v3 2026-03-05 15:54:47 -06:00
user_auth.ex feat: add alert count badge to notification bell 2026-03-12 14:06:18 -05:00