Shadow AI: Agents That Skipped the Review

Shahar Man 6 min read

Shadow IT has worried security teams for a decade: an app stood up without review, a file share syncing corporate data somewhere unapproved. The harm was data landing in the wrong place. Serious, but passive. Shadow AI behaves differently. An agent outside the review process does more than hold or move data. It acts on it, reading, writing, querying and changing systems according to whatever input arrives. "Data sat in an unsanctioned tool" and "an unreviewed agent with write credentials chewed through adversarial input" are not the same class of problem.

None of this is hypothetical. Teams build agents to automate their own work because spinning one up is now quicker than raising a procurement ticket. The agent connects to what it needs using whatever credentials are lying around. Security learns of it when something breaks, or when somebody mentions it in a compliance meeting. Until then it runs in production, authenticated, acting on every input that reaches it.

How One Gets Into Production

Three routes account for most of the shadow agents we encounter. The most common starts with one developer. They build an agent for a specific automation, stand it up on a shared server or a personal cloud account, and wire it to production systems with their own credentials or a service account they already hold. It works. Colleagues start using it. It quietly becomes an internal tool nobody ever reviewed.

Another comes from a platform team building for itself. The agent serves that team's own systems, so it never gets treated as a product needing review. As the team's needs grow, its scope grows, until it reaches systems beyond the team. Security can see the team's infrastructure but not the specific agents inside it.

The third involves someone from outside. A contractor or vendor builds a feature and runs an agent as part of their workflow, using credentials issued for development. When the engagement ends, the agent keeps running. Nobody revoked the credentials, because closing out a vendor project does not usually trigger a credential audit. Now there is an active agent with valid access and no owner watching it.

Remedies split accordingly. A lighter deployment path plus some developer guidance covers the solo developer. The platform team's case is organizational rather than technical. Vendor offboarding, meanwhile, needs to include agent and credential cleanup, which almost no offboarding process currently does.

Why They Resist the Usual Searches

Shadow IT gets found through traffic and DNS. An unsanctioned SaaS tool lights up as connections to an IP range outside the approved vendor list. An agent on internal compute with internal credentials produces none of that. It uses the same network paths and the same auth systems as a reviewed agent. It talks to the same places a reviewed agent does. The difference is that nobody reviewed this one first.

Agents also lack the registration point that security tooling hooks into. A microservice deployment comes with a CI/CD pipeline, scans, tickets and deployment records. An agent launched by running a Python script on a shared box skips all of it. Unless that host is watched for new processes, the agent is invisible to the platform.

Credentials give a better lead, with gaps. An account named for agent use can be flagged easily. But an agent reusing a developer's credential or an account made for another purpose leaves audit entries that look exactly like the normal activity for that credential. Finding it means matching credential use against known deployments, and that means knowing which deployments exist.

What an Unreviewed Agent Actually Exposes

Its risk is where credential scope meets input surface. An agent fed only structured, system-generated data from one internal source is limited in exposure even with broad credentials, because there is little room for hostile input. An agent taking natural language from users, pulling external data, or reading third-party API responses has far more surface, and wide credentials turn that surface into a large blast radius.

This is the distinction from shadow IT. An unapproved app holding corporate data is a confidentiality and governance issue. An unapproved agent with write access to production databases, fed partly by user content, is an integrity issue. Craft input that redirects the agent and the credential scope decides what damage follows. An agent never checked for scope may carry far more power than its stated task needs.

Most shadow agents are doing exactly what they were built for, without incident. The problem is that security cannot tell the well-behaved one from a compromised or misdirected one, because it does not know the agent exists. No review also means no monitoring, no scope record, and no way to notice when its behavior changes.

Finding Them Through the Credential Graph

The most dependable method we have found is to map active credentials across the environment, match each against known, reviewed deployments, and treat what remains as unvalidated. A live credential that cannot be attributed to a reviewed deployment is a lead.

That needs a complete credential inventory and a complete record of reviewed deployments. Both are foundations for posture work generally, and this question leans on them. Detecting shadow agents is a side effect: the unattributed credentials are the fingerprint of deployments that were never registered.

Investigation is the step that matters. Not every unattributed credential belongs to a shadow agent. Plenty are accounts for ordinary automation, old credentials nobody cleaned up, or short-lived development keys. The job is to work out which belong to running agents and pull those into the register, not to treat every stray credential as hostile.

Making Deployments Visible Without Making Them Slow

The fix cannot be a formal review for every experimental agent. That would turn review into the bottleneck and push more teams to skip it. The aim is visibility by default, so security holds an accurate inventory even where review for low-risk cases stays light.

A minimal registration rule can do it: anything deployed to a production-reachable environment has to add an entry to the agent registry with the credential identifier and an owner. That one entry is what later makes monitoring, scope auditing and teardown tracking possible. Actual review can then be tiered by credential scope and input surface instead of applied to everything equally.

Shadow AI exists partly because going around registration is easier than going through it. Shrinking that gap, so registering is one step inside the deployment flow rather than a separate process, addresses the cause rather than chasing the symptom.

Back to Security Brief