Skip to content
Nov 27, 2026NewsletterRSS

Resend Now Revokes API Keys Leaked in Docker Images and Datasets

Resend joined TruffleHog's Secrets Revocation Program, so working keys found in Docker Hub, PyPI, Hugging Face and other public sources are revoked.

2 min read

ResendSending

Hand-drawn illustration of a mailbox with a key snapped in half lying beside it on a yellow background

Resend now revokes its API keys automatically when TruffleHog finds a working one in a public source, the company said in a Nov. 4 changelog entry. Resend is a launch partner in TruffleHog’s Secrets Revocation Program, and the protection is on by default for every account.

Keys found outside GitHub are now covered

Resend said it became a GitHub secret scanning partner in July, and any Resend key exposed in a public GitHub repository is revoked. Resend said that program covers public GitHub repositories and npm, while many keys leak elsewhere. TruffleHog adds Docker Hub images, Hugging Face datasets, PyPI and npm packages, GitLab repositories, Android apps, Firefox add-ons and new pushes to GitHub.

What happens when a key leaks

TruffleHog tests each key it finds and reports only the ones that still work. Resend disables the key as soon as the report arrives. Resend then emails all account admins with a link to where the key was found.

Why Resend revokes instead of warning

Resend cited a TruffleHog finding that 81% of the leaked keys it reported last year were still live six months later. A warning email leaves the key working until someone acts on it, Resend said. A live leaked key lets anyone send spam or phishing from the account’s verified domain, which Resend said can damage a sender’s reputation for weeks.

Key takeaways

  • Resend keys found in Docker Hub, Hugging Face, PyPI, npm, GitLab, Android apps and Firefox add-ons are now revoked on discovery.
  • The setting is on by default for every account.
  • Admins get an email with a link to the leak.

The take

We think automatic revocation is the right default for a sending API. Speed is the reason. A leaked key can be used within minutes, and a person may not read a warning email for hours or days. Resend’s own cited figure, 81% still live after six months, shows how often the warning route fails.

The cost is that a revoked key stops working at once and any service using it fails its sends. Store each key in a secrets manager, give each service its own key so one revocation breaks one thing, and make rotating a key a routine task. Then check that the admin addresses on the Resend account are monitored, because that email is the only notice.