The 'Ghost Credentials' Problem: How Forgotten Digital Keys Are Leaving Cloud Systems Wide Open
A sleeping AI agent that woke up and started making requests at odd hours led a security researcher to a sprawling mess of forgotten digital keys, and a free tool to help organisations find them before attackers do.

Key points
- A dormant AI workflow agent reactivating after 30 days triggered the discovery of widespread "ghost credentials" inside a cloud environment.
- Security architect Aleksandr Krasnov found that some low-trust digital keys could perform the same actions as a full system administrator.
- One developer can have up to 244 non-human digital identities, making large organisations especially hard to secure.
- Krasnov is releasing a free, open-source tool called NHI Hound at Black Hat USA 2026 to help organisations map hidden trust problems.
- Small to mid-sized companies, up to 2,000 employees, may need 6 to 9 months to fully clean up their identity records.
It started with something easy to miss. An AI-powered software agent, the kind that quietly carries out automated tasks inside a company's cloud computing environment, had been sitting idle for 30 days. Then it woke up and started making requests at odd hours.
That strange behaviour kicked off an investigation. What Aleksandr Krasnov, a security architect at Ducker Tech Consulting, found underneath was far more serious than one misbehaving agent.
What are "ghost credentials" and why does this matter?
Ghost credentials are digital keys and service accounts (automated logins used by software rather than people) that still work but that nobody's actively watching. Krasnov found large numbers of them sitting outside the normal security boundaries of the organisation he was investigating, yet still able to move through systems and, in some cases, reach full administrator access.
Think of it like finding a stack of old master keys in a forgotten drawer. Each one still opens doors. Nobody knows they exist. Someone with bad intentions only needs one.
Krasnov told Dark Reading that an attacker can spend two weeks crafting a fake email to trick a staff member, or five minutes searching for an exposed token online. The five-minute path wins almost every time.
Our 10 July story on AI agents accumulating untracked logins set up exactly this problem: every new automated helper needs its own login, and most organisations don't know what those logins can touch.
How bad can one leaked key get?
Very bad. Krasnov plans to show at Black Hat USA 2026, a major annual security conference, how a single leaked key can be used to take over an entire cloud environment. That involves abusing "chained trust relationships," where one system automatically trusts another, to break into identity providers such as Okta, a service that controls who can log into company software.
His research found that some identities he classified as low-trust could act as super-administrators because of implicit permissions the organisation never consciously set up. On 27 July we reported a similar privilege path in Azure and Google Cloud, where chained trust let a researcher silently hijack administrator control over cloud infrastructure without either vendor paying a bug bounty.
| Finding | Detail |
|---|---|
| Trigger event | AI agent dormant for 30 days reactivated unexpectedly |
| Root cause | Ghost credentials and unmonitored non-human identities |
| Escalation risk | Low-trust keys acting with full admin-level access |
| Scale per developer | Up to 244 non-human identities |
| Cleanup time, small orgs | 6 to 9 months with NHI Hound |
| Tool release | Black Hat USA 2026 |
What is NHI Hound and can it help?
NHI Hound is Krasnov's free, open-source tool designed to map every digital identity inside an organisation, human and automated. It connects to services including Okta, GitHub and cloud IAM platforms (systems that control who can access what), then draws a picture of how all those identities relate to each other and flags dangerous links.
Informal testing with small to mid-sized companies showed strong results. Larger organisations face a harder road: with potentially hundreds of identities per developer, the output can become, in Krasnov's words, "too much mess and too much noise" to act on quickly. Better visualisation for bigger organisations is on his roadmap.
Should you worry if you're not a security professional?
Ask your IT team whether they audit automated accounts and old API keys (digital passwords used by software systems) regularly. You don't need to understand the plumbing to ask the question. For customers of cloud-based services, the risk isn't immediate and direct, but breaches that start with ghost credentials can expose customer data. Watch for unexpected emails asking you to reset passwords or confirm account details, because those often follow a larger breach upstream.



