Even the agency responsible for defending U.S. networks against cyber threats fell victim to a basic security blunder. A contractor for the Cybersecurity and Infrastructure Security Agency (CISA) accidentally published dozens of internal credentials on a public GitHub repository.
One file was bluntly named "importantAWStokens" and contained administrative keys to three government cloud servers. The sensitive data remained exposed for nearly six months before a security researcher discovered it. Even after being notified, the agency took more than 48 hours to revoke the compromised keys.
The incident underscores a critical lesson for organizations of all sizes: secrets must never be committed to code repositories. Developers should regularly scan repositories for exposed credentials and rotate keys immediately when a leak is detected. If the U.S. cyber defense agency can make this mistake, any organization can.