The DEF CON 34 Recon Village talk “The Breach Is Over. The Exposure Is Not” (Las Vegas, Creator Stage 2, 8 August 2026) examines what the Shai-Hulud npm worm campaigns left behind after the incidents were declared closed. The talk was prepared and billed as co-presented by Anant Shrivastava, founder and chief researcher at Cyfinoid Research, and Kumar Ashwin of RedHunt Labs; Ashwin could not attend, so Shrivastava delivered the session alone. The material covers both attack waves, the credentials that remained usable many months later, and a canary-token experiment that recorded exactly how leaked cloud credentials get picked over.
Summary
The session opens with a recap of Shai-Hulud. Both waves began with compromised npm maintainer access. Shai-Hulud 1 exfiltrated stolen data through webhook.site and stalled partly because the free tier cut requests off after roughly a hundred submissions. Shai-Hulud 2 learned from that: it dropped the third-party sink and pushed stolen data straight to GitHub, double base64-encoded so platform scanning missed it, and it reused GitHub tokens lifted from earlier disclosures whenever a victim machine had no token of its own. Around 35,000 repositories ended up holding other organisations’ secrets, and the token reuse wrecked attribution: a large company’s credentials could surface in a random developer’s repository, with no reliable way to work out who to notify.
The worm itself was neutered. Package versions were pulled, warnings went out, and propagation stopped. The assumption that victims would then rotate credentials did not hold. In the Shai-Hulud 1 corpus of 35 public repositories, 30 GitHub tokens were identified and 23 still worked on the morning of the talk, roughly a year after the campaign started. Almost every working credential belonged to an account that had quietly made the attacker-created “Shai-Hulud” repository private while leaving the token itself active. A fresh trufflehog-verified pass over the Shai-Hulud 2 dumps found about 150,000 credentials still active. The speaker also corrected an earlier figure on stage: an initial count of 538,000 SSH keys had double-counted duplicated extracts, and the deduplicated number of currently valid SSH keys, spread across GitHub, Bitbucket, GitLab and Hugging Face, came to about 5,240.
SSH keys received particular attention because scanners treat them generically and move on. Version-control hosts sit at fixed hostnames such as git@github.com, accept any key and disclose the username on connection, which enables private-repository enumeration; the KeyChecker tool, demoed separately at DEF CON Demo Labs, automates that mapping. Scanners in general cover a few hundred patterns and miss context: a self-hosted GitLab token in a dump sits beside environment variables naming the server, and correlating the two is still manual work.
The canary-token experiment made the harvesting concrete. A repository dressed up as Shai-Hulud spill, seeded with a functionless AWS credential, drew GetCallerIdentity calls first, then DescribeInstances, ListFunctions, ListBuckets, ListPolicies, ListAccessKeys, ListGroups and ListSecrets. Late-phase traffic shifted to one-shot requests asking how many LLM models the account could run, and Boto3 was the dominant user agent, with Trufflehog itself second. The decoy repository was deleted after roughly two weeks, yet probing continued, because copies of the dumps persist. Variable names such as ks-prod leak environment context all on their own.
The close reduced the defence to one instruction: assume a breach has happened, measure what each leaked identity can reach, and shrink that blast radius with short-lived, least-privilege tokens. GitHub tokens can already be issued with one-day validity. Tools credited on stage: TruffleHog, gimmePATz, GH Navigator, KeyChecker and Canarytokens.
Key Themes
- Incident closure is not exposure closure: the worm was neutered within weeks, but working credentials from both waves were still live nearly a year later.
- Hiding is not revoking: victims converted the attacker’s repository to private while leaving the exfiltrated tokens active; a hidden repository is not a revoked token.
- The weakest link moved outside the perimeter: corporate endpoints hardened while the contributors open-source projects depend on run unprotected machines in homes and cafes.
- SSH keys are underrated access: DVCS hosts accept any key at fixed hostnames and disclose usernames, turning generic scanner findings into working repository access.
- Scanners see patterns, not context: a few hundred signatures miss self-hosted GitLab tokens, private keys, and the variable and file names that reveal where a credential fits.
- Leaked credentials are actively harvested: the canary credential drew enumeration calls and later one-shot checks for exploitable LLM models, with Trufflehog itself among the user agents.
- Assume breach, shrink blast radius: narrow, expiring, non-propagating credentials are the only durable answer to a leak that cannot be undone.
Notable Points
- Of 30 GitHub tokens found across 35 Shai-Hulud 1 repositories, 23 still worked on the morning of the talk, roughly a year after the campaign began.
- About 35,000 repositories ended up hosting Shai-Hulud 2 exfiltration; the data was double base64-encoded, and more than 100 security companies, researchers and attackers cloned the dumps.
- A fresh trufflehog-verified pass over the Shai-Hulud 2 dumps found about 150,000 credentials still active at talk time.
- The initial count of 538,000 SSH keys was a duplicate-data error, corrected on stage; the deduplicated figure of valid working SSH keys was about 5,240, across GitHub, Bitbucket, GitLab and Hugging Face.
- Hugging Face runs on Git-based infrastructure, so leaked SSH keys there grant model-repository access, not just code hosting.
- The canary credential drew GetCallerIdentity, DescribeInstances, ListFunctions, ListBuckets, ListPolicies, ListAccessKeys, ListGroups and ListSecrets calls; late-phase traffic became one-shot checks for usable LLM models.
- Boto3 was the most common user agent hitting the canary, with Trufflehog second.
- The decoy repository was removed after roughly two weeks, but probing of the credential continued because dump copies persist.
- Tools credited on stage: TruffleHog, gimmePATz, GH Navigator, KeyChecker and Canarytokens.
- Platform-side fixes followed the waves, including GitHub blocking leaked plaintext SSH keys for enterprise customers.
Notable Quotes
“For an attacker, the weakest link has now moved outside of the organization.”
11:41
“So we’re talking about nearly a year worth of access is still available.”
12:59
“No one has gone ahead and revoked their GitHub tokens. They’re still active.”
14:09
“In those 35,000 repositories I found about 5,240 valid SSH keys which are working right now.”
18:17
“How many LLM models do you have? If there is an LLM model, I’ll use it otherwise I’ll go away.”
20:36
“Assume that a breach will happen.”
23:49
“Try reducing down the validity of the tokens.”
24:37