The Credential Layer Is Expanding Faster Than Security Teams Can See It
Credential exposure is expanding rapidly due to accelerated software production and AI agent adoption.
Summary
The article highlights the rapid expansion of the 'credential layer' in modern enterprises, driven by accelerated software production and the rise of AI agents. Security teams are struggling to keep pace with the sheer volume and distributed nature of credentials, which now span across code repositories, collaboration tools, and AI services. GitGuardian's research indicates a significant year-over-year increase in detected hardcoded secrets and leaked AI service credentials, underscoring the urgent need for better visibility and management of this expanding attack surface.
Full text
The Credential Layer Is Expanding Faster Than Security Teams Can See It The Hacker NewsOct 05, 2026DevSecOps / Supply Chain Every modern enterprise depends on credentials. This is how humans, systems, and now AI, all connect to data, services, and each other securely. GitGuardian helps secure that credential layer through three connected capabilities: Detect, Remediate, and Prevent. The journey starts with detection, because organizations first need to understand what credentials exist, where they live, and what they can access. This is the first of three articles we are releasing that explain the reason behind our mission. — Software production is accelerating beyond the growth assumptions that shaped many of today's security controls. GitHub COO Kyle Daigle said the platform had gone from roughly 1 billion commits during all of 2025 to 2.9 billion commits in August 2026, an annualized pace of over 14 billion for the 2026 reporting year. GitHub's own engineering team has gone further in its capacity planning, saying it moved from preparing for 10x scale to designing for a future that requires 30x today's scale as agentic development accelerated. All of this code prodiction means more infrastructure and more secrets. More applications, new types of integrations, automations, and now agents, mean more systems need to authenticate to something else. Credential exposure has already been a problem of increasing scale. GitGuardian detected 28.65 million new hardcoded secrets in public GitHub commits in 2025, up 34% year over year. Leaked credentials associated with AI services increased 81%. Security teams need to establish visibility into that expanding credential layer right now. GitGuardian approaches credential-layer security through three connected stages: Detect, Remediate, and Prevent. Detection comes first because every action that follows depends on knowing which credentials actually exist, where they have spread, and what access they represent. The credential layer has no convenient perimeter The credential layer is the collection of credentials connecting people, applications, infrastructure, and services across an enterprise. Its perimeter follows the credentials themselves. A developer will create a secret inside a sanctioned cloud account and later that same key, in plaintext, will appear in a repository or in a shared knowledgebase. Other secrets will be stored in an approved vault while a plaintext copies remain on the developer's laptop. More may be created outside security's normal vantage point through a personal project or a newly adopted AI service, especially by an increasingly growing number fo 'citizen developers' who now have access to coding agents. The result is an attack surface that crosses all technology and ownership boundaries. The same GitGuardian State of Secrets Sprawl 2026 research we referenced earlier shows how wide this surface has become. Internal repositories were roughly six times more likely than public repositories to contain at least one secret. Around 28% of secrets incidents originated entirely outside source-code repositories in collaboration and productivity systems. That leaves security teams with a basic discovery challenge. Each scanner, vault, repository, or endpoint can describe the part of the credential layer it sees. The organization still needs a way to understand the combined population. Every discovery source provides a partial picture Source control remains essential because hardcoded credentials leave durable evidence. A credential removed from the current version of a file can remain in Git history. Copies can spread into other branches or repositories. Public exposure can put the value beyond the organization's control, making it extremely challenging for anyone to immediately notice. Internal repositories reveal another large population. They contain the credentials developers and applications use during normal work, including access to cloud environments and internal services. Collaboration systems expose a different part of the credential layer. Credentials get pasted into tickets while troubleshooting. They move through chat during handoffs. They can remain searchable long after the work that required them is finished. Developer laptops are holding all the credentials Developers are at the heart of all of this creation, use and placement of secrets. Until recently it was considered normal form to use local local environment files to hold application secrets using command-line tools cache credentials used to reach cloud services. The danger of an unscrubbed local shell history, which can preserve values long after someone has forgotten they were entered, seemed rather low. Then the attackers shifted. The end of 2025 brought new waves of infostealer attacks like Shai-Hulud and S1ingularity, which turned the developer laptop into a target and an entry point into the supply chain. Every laptop is part of the credential layer and the secrets they hold need to be mapped. Repository scanning shows credentials that reached source control. Public monitoring reveals exposures outside corporate repositories. Endpoint discovery identifies secrets that may never have entered a centrally monitored system. The credential layer only becomes visible when those perspectives are connected. Attackers already search across those boundaries Attackers have already adapted to the fact that credentials exist across managed and unmanaged environments. Compromised credentials already accounted for 22% of initial access according to the the 2026 Verizon Data Breach Investigations Report. Their data also found corporate credentials on unmanaged devices, which drove a significant number of the breaches they researched. Enterprise access can quickly cross a boundary that security teams consider meaningful. And their data reporting period ended before the information stealer worms became as wide spread as we saw in early 2026. This self propagating malware running on an endpoint can search browser data, local files, and application storage. It can collect whatever authentication material is available without caring which team created it or which security product was supposed to govern it. Developer systems offer an especially valuable targets. A developer machine may authenticate to source control and cloud infrastructure. It can also hold local credentials for applications under development. Compromising that endpoint can expose access that spans several otherwise separate parts of the enterprise. Security teams need to perform that inventory before an attacker does. The developer laptop is being shared with a new type of user The developer endpoint has always accumulated credentials because building software requires connecting systems. But now there is a new type of internal actor that has access to that same machine, AI agents. Coding agents can read files, execute commands, and interact with external services. Model Context Protocol connections can give those agents access to additional tools. Each connection introduces another place where authentication and authorization need to be established. GitGuardian's analysis of systems compromised during the Shai-Hulud 2 supply-chain campaign provides a rare view into the density of credentials on these machines. Across 6,943 compromised systems, researchers identified 33,185 unique secrets. Forty-four percent of compromised machines held more than 10 secrets, while 5% contained more than 100. At the same time, how we are authenticating AI agents have introduced a new security hole. In the same report we saw 24,008 unique secrets in public MCP configuration files during 2025, of which, 2,117 could be verified as valid. A security team that scans repositories can know a great deal about repositories. It still has limited visibility into credentials living on the machines where code is created, tested, and connected to external systems. AI agents can do unexpected thing