/plushcap/analysis/cloudflare/identifying-and-alerting-on-data-loss-using-workers

Identifying and alerting on data loss using Cloudflare Workers

What's this blog post about?

The text discusses how Cloudflare Workers can be used to detect data breaches by inspecting the content of HTTP responses and identifying any leaked sensitive information such as passwords or PII. It provides an example of using a specific string, "SHHHTHISISASECRET", as canary data in the database and checking for its presence in the response body. If detected, the Worker blocks the response, notifies the client with a static block, and triggers a PagerDuty API call to alert about the potential breach. The text also mentions rate limiting using Cloudflare Rate Limiting rules based on response headers and status codes.

Company
Cloudflare

Date published
Aug. 30, 2018

Author(s)
Rita Kozlov

Word count
1041

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.