You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
notification channels: cap the decoded response size #1257
From the 2026-11-01 scan: F-034 (low, denial of service, CWE-409), src/services/notification-channels.ts. Reachability was not established by the scan.
Current code (main 49f51378): HTTP delivery is axios.post(target.url, body, { timeout, headers, validateStatus }). Axios transparently decompresses the response and buffers it, and the response body is never read — so a notification endpoint answering with a small gzip payload that decodes to hundreds of megabytes spends the delivery worker's heap to produce a value nobody uses.
Fix shape
Set a small finite maxContentLength (and maxBodyLength) so an oversized decoded response aborts the request.
If the body is never used, also refuse decompression, and keep the timeout as a separate control.
Acceptance
An endpoint answering with a response that decodes past the cap aborts at the cap instead of buffering it.
A normal 2xx response still reports the delivery as sent.
Activity
fix(notifications): cap the response a notification delivery will read (