Files
romm/docs
zurdi 61ec7986a3 fix(notifications): harden Apprise channels (security audit and code review)
- Leave FCM out of the catalog: its keyfile token makes Apprise open a
  local path or fetch a URL itself.
- Treat credential-named tokens as secrets even when Apprise doesn't
  (Mastodon, Misskey, Plivo, SMSEagle, LaMetric, Rocket.Chat, a JSON
  path), and hide any secret left in the masked target or in the
  errors that reach last_error and the logs.
- A secret left out of an edit keeps its value, an empty one removes it,
  and a kept secret no longer follows the channel to another host,
  port, schema, SMTP server or ntfy mode. The form offers "Remove it"
  for stored secrets and names them through `stored_secrets`.
- Break up @everyone, @here and <@…> so a notification pings nobody, as
  the removed Discord payload did.
- Keep only the fields the service takes, cap lists at 20 items, and
  accept only a hostname or address as a host.
- Give the channel test the same 60 s budget as a queued delivery, and
  build the service catalog response once per process.
- Don't require a stored secret list (Bark) again on edit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 09:27:32 +02:00
..