跳到正文

Pwned Passwords Cloudflare Worker

维护中
HaveIBeenPwned/PwnedPasswordsCloudflareWorker

为 Have I Been Pwned 的 Pwned Passwords 范围查询 API(SHA-1 与 NTLM)提供服务的 Cloudflare Worker,支持缓存与带认证的缓存清除。

在 GitHub 查看
星标
415
Fork
27
关注
415
未关闭 Issue
2

该介绍目前仅提供英文版本。

Overview

This is the Cloudflare Worker behind Have I Been Pwned’s Pwned Passwords API. It serves password-hash ranges at GET /range/{prefix} — the k-anonymity model that lets apps check whether a password has appeared in a breach without sending the password itself — and accepts mode=ntlm for NTLM ranges.

Architecture

One public Worker contains three entrypoints:

  • RangeEntrypoint (default) — public routing, range responses, padding and response caching
  • BlobEntrypoint — private retrieval and caching of range files from Azure Blob Storage
  • PurgeEntrypoint — private, authenticated cache invalidation

Only the default entrypoint is public; the other two are reached through self service bindings, never a public URL. It’s a good real-world example of a high-traffic Worker.

按共同分类和标签排序的同类开源项目。

全部安全项目 →