Truffle Security has launched the Secrets Revocation Program to help API key issuers disable 1.4 million publicly exposed credentials that still work. The free program gives issuers a way to act even when the developer who owns a leaked key never responds to a warning.

Most reported keys still worked six months later

Truffle Security has tracked credentials in public code repositories, software packages, container images and datasets since 2022. A developer can accidentally publish a key by committing a configuration file to GitHub or including it in a Docker image. Once the key becomes public, anyone who finds it may be able to use the permissions it grants.

Earlier this year, Truffle Security reported finding 543,000 valid credentials in public GitHub repositories. In a separate investigation, researchers identified more than 431,000 AWS secrets across sources including Git histories, Docker images and build logs. AI coding tools have also introduced another source of leaks. Since January 2025, the company has found 2,655 working keys in configuration files for those tools.

Finding a leaked key, however, rarely meant that its owner disabled it promptly. Of the keys Truffle Security reported to owners last year, 81% still worked six months later. That left both the owners and customers who relied on their applications exposed.

How the Secrets Revocation Program works

Truffle Security first uses its TruffleHog tool to check whether a leaked credential still works. If the issuer provides a dedicated revocation endpoint, Truffle Security can use it to disable the key directly. Alternatively, the issuer can receive verified keys through an automated notification called a webhook and revoke them within 14 days.

Sixteen issuers had joined the program by November 5, including Hugging Face, Notion, Vercel, Resend, RubyGems and Twilio. In either setup, the issuer can cut off access without waiting for the key owner to respond.

Google Cloud saw fewer leaked keys remain active

Google’s experience with Cloud service account keys illustrates the difference between warning owners and disabling credentials. When Google relied on notifications alone, Truffle Security found that 72% of exposed keys remained active.

On June 16, 2024, Google began disabling exposed service account keys by default. After that change, Truffle Security found that the share of leaked keys that still worked fell to 11%. Google customers can opt out of automatic revocation, but the default gave issuers participating in the Secrets Revocation Program a practical example to follow.


0 responses to “Secrets Revocation Program targets 1.4 million leaked keys”