Incident sheet · /security

Filed
Read
4 min · 770 words
Severity
Routine

Shadow AI turns valid API keys into sanctioned backdoors

Unmanaged AI agents, forgotten API keys and OAuth consents bypass data governance. The April Vercel breach via Context.ai shows how valid credentials become backdoors.

Shadow AI: How unmanaged connections bypass even the best data governance programs
FeedShadow AI: How unmanaged connections bypass even the best data governance programs — RyanMcGuire / pixabay

Event log

  1. April breach at Vercel began with compromise of third-party AI tool Context.ai, leading to Google Workspace account takeover and lateral data encryption
  2. PAM, DLP and NGFW tools see AI agents as authenticated non-human identities using valid credentials
  3. Many API keys do not expire, leaving abandoned integrations with access to source code and customer data
  4. RAG pipelines ingest through one privileged service account; row-level permissions do not carry into vector stores
  5. SaaS-to-SaaS AI agents can be approved via self-service consent without IT or procurement review

A single API request with valid credentials can look like normal application activity — and that, according to security practitioners, is precisely how unmanaged AI connections defeat enterprise data governance. The April breach at Vercel made the point concrete: attackers compromised Context.ai, a third-party AI tool, took over an employee's Google Workspace account, then used that employee's Vercel account to move laterally and encrypt data.

The pattern is not new, but it has acquired new speed and reach. Cloud adoption and SaaS produced similar sprawl two decades ago, most of the practitioners interviewed for the series agreed. What changed is how fast developers can now wire agents into repositories, databases and mailboxes.

Why do traditional tools miss this traffic?

Privileged access management (PAM), data loss prevention (DLP) and next-generation firewalls (NGFW) commonly treat the API as an authenticated non-human identity. The request looks sanctioned because, technically, it is.

"I wouldn't say API keys automatically bypass DLP or firewalls," said Mandar Chaudhari, a full-stack geospatial engineer at Land IQ and researcher at George Mason University. "It depends on how those security systems are configured and what they're monitoring. The challenge is that an API request using valid credentials can look like normal application activity."

Chaudhari's scenario is blunt. A developer connects a coding agent to a test environment to investigate an API issue. That environment carries credentials broader than the task requires. The agent uses those permissions to move laterally through data stores. If the agent is abandoned and an attacker finds it, the attacker holds a sanctioned backdoor — no hacking required.

Where do the connections come from?

Three scenarios recur across enterprises:

  • A sales team vibe-codes an AI agent to update client records across the organization.
  • A developer generates an API key to access customer data.
  • A developer forgets to close a sandbox used to test an AI agent.

SaaS-to-SaaS agents are the hardest unsanctioned integrations to find because they run entirely in the background, said Ryan Reck, founder of cybersecurity and AI advisory firm Reck Advisory. AI tools can request broad access to mailboxes, shared drives and CRMs. Where self-service consent is allowed, employees approve those connections without any procurement or IT review.

AI projects also leave behind indexes, test datasets and logs that fall outside existing governance structures. "Much of it is familiar from shadow IT and cloud sprawl," Reck said. "AI adds more opportunities to connect systems and create copies of enterprise data."

Unlike one-to-one cloud developer integrations, AI integrations often connect to several systems at once or to a model context protocol (MCP) server, and can search, summarize or move information between them. One forgotten integration can expose data across multiple repositories.

What makes abandoned access so durable?

Many API keys do not expire. An integration approved for a short experiment keeps its valid key — and its access to source code and customer information — long after the project dies.

"One risk is intentional data being sent to an unapproved AI tool, but an even bigger risk is the unintentional side," said Mudita Khurana, security engineer at Airbnb. "In many cases, there could be instances where an integration was approved for a short experiment, but its access was never removed after the experiment ended."

Bapuji Koraganti, Principal Engineer at Comcast and independent identity researcher, frames the issue as authorized but unaccountable access. "Someone clicks 'Allow' once, and an autonomous process keeps using that grant with broad read scopes indefinitely," he said.

Which two gaps get too little attention?

Koraganti names two.

  • The revocation gap. A leaked key gets revoked, but agent and integration layers cache their own tokens or refresh tokens that automatically renew access behind the scenes. Data copied into an embedding index is never touched by revocation.
  • Permission flattening. AI and retrieval-augmented generation (RAG) pipelines typically ingest data through one broadly privileged service account. Source-system row-level and document-level permissions do not carry into the vector store, so anyone who can query the assistant reaches data they could never open directly.

What does this change for governance teams?

The speed of AI development and deployment is outpacing most cybersecurity and data governance teams' ability to keep up. Ownership, not tooling, is the shortfall.

"A back door into company data can start at the front door, with an employee clicking 'Allow'," Reck said. "Someone needs to own that connection long after the trial ends."

The practical question for CIOs: who in your organization owns each AI connection today? If the answer is nobody, the backdoor is already open.

via techtarget.com (Source)

Filed under

  • shadow-ai
  • api-security
  • api-keys
  • ai-governance
  • data-governance
Share this article:

More from Tom Whitfield

Tom Whitfield

Show full bio

Market editor covering people, launches and day-to-day practice in enterprise information technology and the leaders who run at CIO Monitor.

213 articles

The newsroom digest

One email a day with the stories that matter. No noise.

By subscribing you agree to the privacy policy.

Cross-references

‹ Previous articleNext article ›