# AI agents now hunt leaked GitHub secrets faster than teams can revoke them

Source: [Help Net Security](https://www.helpnetsecurity.com/2026/12/01/gitguardian-automated-credential-rotation/) · 2026-12-01 · Security
Page: https://themorning.dev/story/ai-agents-now-hunt-leaked-github-secrets-faster-than-teams-can-revoke-them-da2d5ec52b663c8d
Kind: security · Impact: high

## In brief

- Microsoft disclosed a case from early November 2026 in which an AI agent found a leaked application client secret on public GitHub.
- The agent used an open-source AI pentesting framework to sign in to Microsoft Entra ID as a service principal with that secret.
- The source reports that automated agents can hunt leaked GitHub secrets faster than teams can revoke them.

## Why it matters

Credentials committed to public repositories can be found and used by automated tools before a team has time to revoke them, so exposed secrets should be treated as compromised immediately.

## What to do

- Search public and internal GitHub repositories for committed client secrets and revoke any that are exposed
- Rotate application client secrets and move them into a secrets manager

## Coverage

- [AI agents now hunt leaked GitHub secrets faster than teams can revoke them](https://www.helpnetsecurity.com/2026/12/01/gitguardian-automated-credential-rotation/) — Help Net Security, 2026-12-01

Tags: secrets, github, credential-leak, ai-agents, microsoft-entra-id

---

Brief generated by AI (claude-haiku-5-5) from the reporting listed under Coverage. Headlines belong to their publishers. The Morning Dev – https://themorning.dev
