w3c / network-error-logging

Network Error Logging
https://w3c.github.io/network-error-logging/
Other
81 stars 18 forks source link

Make NEL policies stale after 48h #147

Closed clelland closed 1 year ago

clelland commented 1 year ago

This attemps to ensure that an attacker who can inject a NEL policy for a small time window cannot cause that policy to persist forever. All policies will have a 48h "freshness" window, after which they need to be refreshed. When stale, they will still be used to send a final report, if a network error occurs, as long as they are not expired (that is, while they are still within their max_age expiry time).

Closes: #139


Preview | Diff