Join our Newsletter — 33% off our NHI Course

AI service secrets are surging. Are your controls keeping up?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20230
Topic starter  

TL;DR: GitGuardian measured 28,649,024 new secrets in public GitHub commits and 1,275,105 exposed AI-service secrets, with AI-related leaks up 81%. Secret ownership and rotation need to move earlier in delivery, or exposure will keep outrunning containment.

Editorial analysis by NHI Mgmt Group, based on content published by GitGuardian: “When We Use AI To Ship Fast, Secrets Spread Fast”.

By the numbers:

  • Publicly active developers on GitHub grew 33% in 2025, while 54% of active developers made their first commit that year.

Key questions

Q: Why do AI pipelines expose more credential risk than traditional software development?

A: AI pipelines create more identities, more integrations, and more temporary execution paths than conventional software delivery.

Q: How can security teams tell whether secret management is actually working?

A: Look for fewer plaintext secrets, narrower reuse, faster rotation, and a shrinking set of credentials that remain valid across multiple systems.

Q: What breaks when AI service secrets are treated like ordinary developer artifacts?

A: Secrets become distributed faster than governance can track them.

Practitioner guidance

  • Establish a full inventory of AI-related NHIs Catalog model API keys, orchestration tokens, retrieval service credentials, database connections, and agent tool accounts with named owners and business purpose.
  • Block hardcoded secrets before merge Use pre-commit and CI checks to stop credentials from entering repositories, and require approved secret issuance for AI application code.
  • Shorten the lifetime of AI service credentials Set explicit expiry, rotation, and revocation rules for every AI service secret, especially those embedded in prototypes, scripts, and sample configurations.

Bottom line: AI-driven development is turning secrets management into a lifecycle governance problem because the number of machine identities is rising faster than most teams can track them.

Glossary terms: AI Service Secret, Identity Blast Radius, Secrets Sprawl, Model Context Protocol

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 1 week ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 6 months ago
Posts: 20712
 

AI-driven secrets sprawl is really identity sprawl. The article shows that leaked credentials are not rising only because developers are busier. They are rising because AI-heavy software now depends on more service accounts, API keys, tokens, and orchestration credentials than traditional application stacks. That is a lifecycle problem, not a tooling problem. The practical conclusion is that secrets management must be governed as NHI lifecycle management across the software delivery path.

A few things that frame the scale:

  • 28.65 million new hardcoded secrets were detected in public GitHub commits in 2025 alone, a 34% year-over-year increase and the largest single-year jump ever recorded, according to the State of Secrets Sprawl 2026.
  • 8 of the top 10 fastest-growing types of leaked secrets year-over-year are tied directly to AI services, according to the State of Secrets Sprawl 2026.

A question worth separating out:

Q: What breaks when cyber asset visibility is fragmented across too many tools and data sources?

A: Fragmented visibility makes it harder to understand relationships, prioritize the right assets, and respond quickly during an incident. Teams can miss connections between cloud assets, users, and dependencies, which slows analysis and increases the chance that important risks stay buried. In practice, fragmentation turns asset data into noise instead of usable context.

👉 Read our full editorial: AI service secrets are spreading faster than governance can track


This post was modified 1 week ago by NHI Mgmt Group

   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.