When an employee leaves a reasonably well-run business, a predictable set of things happens within the day: IT disables the laptop, the email account, the VPN, and whatever cloud consoles show up on the standard offboarding checklist. That checklist exists because someone built it deliberately, usually after an early scare, and it has gotten tighter over the years. What it was built to cover is the access IT itself provisioned. It was never built to cover the automation that same employee quietly wired together eighteen months ago — a workflow that auto-replies to inbound leads using their own email login, an agent built in a no-code tool and authorized against their personal Google account, an AI assistant connected to the CRM through an API key issued in their name. That automation isn't on the offboarding checklist because nobody who wrote the checklist knew it existed, and it keeps running, under their credentials, after they've gone.
This isn't a hypothetical gap invented for this piece. OWASP, the open standards body whose Top 10 lists have shaped how the security industry prioritizes risk for two decades, published a dedicated Non-Human Identities Top 10 in 2025 — the first time it treated service accounts, API keys, bots, and AI agents as a risk category distinct from the human-identity problems its earlier lists covered. The list's very first entry, NHI1:2025, is Improper Offboarding: the failure to deactivate a non-human identity when the person or process it was tied to no longer needs it. That it leads the list, ahead of credential leakage and overprivileged access, is itself the finding. The industry's own framework singles this out as the most common and consequential failure in the category, not an edge case.
The reason it's so common is structural, not a matter of any particular business being careless. Traditional offboarding works because IT deliberately provisioned everything on the list, so it has a record of every account to close. An agent an employee built on their own initiative, using a tool a vendor made trivially easy to set up, was never provisioned by IT in the first place. There's no ticket, no line in an asset register, nothing prompting anyone to ask about it when that person's last day arrives. The automation is real and doing real work — answering leads, syncing records, drafting replies — and it is invisible to the one process in the business specifically designed to catch lingering access.
The failure that follows is familiar in shape even though the mechanism is new. A departing employee's email and laptop get shut off on schedule. The agent built on their personal API key, or authorized against their Google or Microsoft account through an OAuth connection, keeps running on whatever token it was issued, because revoking the person's login doesn't automatically revoke a delegated token already granted and cached elsewhere. Depending on the tool, that access can persist for weeks or indefinitely, attached to nobody who still works at the company and reviewed by nobody, because reviewing it was never anybody's assigned job. The same gap opens, often worse, when a pilot project gets shelved rather than an employee leaving. The team moves on, the budget disappears, and the credentials the pilot used quietly outlive the project itself, because nobody runs a retirement process for something that was never formally finished.
This sits downstream of a trend worth naming on its own: AI app builders and informal automation have made it easy for any employee to stand up real software without IT ever seeing it built. That is a problem about what gets created and how casually. This is a separate problem about what happens to it after the person who created it is no longer around to account for it, which is in some ways harder, because by the time it matters there's often nobody left who remembers the agent exists at all.
The fix doesn't require a new security platform, though a growing number of vendors are now selling one specifically for this. It starts with adding one question to the offboarding process that already exists: before anyone's access is closed out, ask them and their manager directly what automations, bots, agents, or integrations they personally set up or authorized, using what credentials, and where. That's a five-minute conversation, not a technical audit, and it catches most of what a checklist built around IT-provisioned accounts will otherwise miss entirely. It's worth running the same question on any project that gets paused or cancelled, too. Closing out its credentials belongs on the same list as closing out its budget line, not left for whoever eventually notices the automation still firing.
The second, slower fix sits upstream of offboarding altogether: when an agent or automation gets built in the first place, give it its own named, scoped credential rather than letting it run on a person's personal login or API key, the same discipline already worth applying to any service account. An agent tied to a role rather than a person survives that person's departure cleanly — it gets reassigned or retired on its own schedule, instead of becoming an orphaned credential nobody remembers granting. None of this is a reason to slow down building these tools, which are doing real, useful work in plenty of small businesses that could never have afforded custom software before. It's a reason to make sure the business can still answer, a year after someone builds one, who it belongs to and what happens to it the day they leave.
- ai agents
- identity security
- offboarding
- shadow it
- access management