← Back to articles

NewsBy: cybersecurityaigitaws

AI found a deleted AWS key in Git history within seconds

A GitGuardian experiment showed that an autonomous agent can hunt for secrets and recover deleted keys from Git history on its own.

AI news faster than on the site — on Telegram KARMAZIN MEDIA

AI found a deleted AWS key in Git history within seconds
Photo: KARMAZIN MEDIA

An autonomous AI agent needed no specialized scanner to find secrets in a test repository. In an isolated GitHub copy, researchers hid nine fake credentials and connected the Claude Sonnet model to the ARTEX 0.3.15 platform. In nine runs where the agent started searching, it found eight of the nine secrets, with its first actions beginning after 6-13 seconds.

The discoveries included AWS and Microsoft Azure keys, a database password, a GitHub token and an access key for a language model. The agent recovered an AWS key that had been deleted immediately after publication by pulling it from Git history. The only missed secret was in a commit no longer connected to the repository's active branches. The researchers could not verify the discovered credentials in the lab because of model limitations.

Real attacks already show the cost of such a discovery: on November 5, Microsoft confirmed a case in which attackers went from searching GitHub for secrets to extracting data from Azure Key Vault in five minutes. In 2025, public GitHub repositories exposed 28.65 million new secrets, up 34% from the previous year. Old keys need rotation, along with a check of the repository's entire history.

original