Cybersecurity news

Jessica Doner

Back to the list

Secrets Sprawl Is an Identity Problem That AI Just Made Impossible to Ignore

The Hacker News,

AI-assisted code commits are leaking secrets at twice the rate of human-written ones, with most new credential leaks tied to AI services.

AI and securityAttacks and breaches

Overview

AI coding agents are building and shipping software faster than ever, but they are also leaking secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys at approximately twice the rate of human-written code. GitGuardian's 2026 State of Secrets Sprawl Report indicates that the fastest-growing categories of leaked credentialsThe login details, such as a username and password or key, that prove who an account belongs to are now connected to AI services. These tools can read entire projects, modify files, and interact with external services in the time a developer might take to review a single pull requestA proposed set of code changes submitted to a software repository for maintainers to review and merge. This speed creates a problem where credentials accumulate across more systems than security teams can reliably inventory and rotate. The issue is that many secrets were never designed for an environment where software can act autonomously. Organizations now face a situation where AI agents spread existing credentials into more systems than security teams can track and rotate.

Terms in this story

Secrets
Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
credentials
The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
pull request
A proposed set of code changes submitted to a software repository for maintainers to review and merge. In open-source security news, attackers sometimes submit a normal-looking pull request that hides a backdoor or exploits the project's automated test pipeline.
keys
The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
configurations
A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
agentic AI
Artificial intelligence software that can plan steps, call tools, and take actions on its own. Many stories cover agentic AI when companies connect language models to email, browsers, and databases, creating new risks if a hidden prompt tricks the agent into leaking data.
API keys
A secret string a program sends with an API request to identify itself and get access. Software teams sometimes accidentally upload an API key to a public code repository, allowing attackers who scan for leaked keys to rack up cloud bills or read private databases. Security+ objective 4.6 lists the term
tokens
A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
service account
A non-human login account used by an automated program, server, or background job to talk to other systems. Attackers hunt for service accounts inside a network because they often have broad permissions, never change their passwords, and do not use interactive multifactor prompts. Security+ objective 4.6 lists the term
hardcoded
Passwords or secret keys written directly into source code instead of stored in a separate vault. When a vendor ships a router or server appliance with hardcoded credentials inside its firmware, every customer device shares the exact same secret backdoor password.
scanners
Using automated tools to probe computers, networks, or code for known security flaws and missing patches. Both defenders and attackers run vulnerability scanning across internet-facing servers to find out which machines are still running outdated software versions. Security+ objective 4.3 lists the term

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.

Read the full article on The Hacker News (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related