CCode Story: Insights from Startup Tech Leaders
← All episodes
Tim Erlin10 June 2026

The AI Control Loop: AI Security is API Security - with Tim Erlin of Wallarm

1Frameworks
7Insights

Listen

Frameworks in this episode

Insights & moments

The myth-busts, hot takes, explainers, and tools worth keeping.

Myth Buster· 2

Myth Buster03:42

An Internal API Is Not Isolated Once AI Can Reach It

Organizations often focus protection on public APIs while treating internal APIs as lower risk. Erlin argues that an AI application or agent can create an external route to those internal resources, making the full connection map essential.

  • Public API exposure is only part of the attack surface
  • AI capabilities connect to internal tools and APIs
  • An internal label does not remove external reachability through AI
  • Risk assessment must include connections among agents, applications, and tools

“But if you've got AI tools that are using those APIs, there is actually a route to them from an external standpoint.”

Tim Erlin · 04:11

“It's really not understanding all of the connections between the AI applications, AI agents, and the tools and APIs that they're using internally.”

Tim Erlin · 04:22
#internal-apis#attack-surface#ai-agents#risk
Myth Buster09:32

AI Does Not Make Core Security Principles Obsolete

New technology often prompts calls for fundamentally new security controls. Erlin says the concepts remain familiar: strongly authenticate agents, apply least privilege, and treat zero trust as a principle for agent authorization, while finding creative ways to implement them in AI environments.

  • Strong authentication is as necessary for agents as for people
  • Least privilege should constrain an agent's freedom
  • Zero trust provides a useful authorization principle
  • The implementation gap is larger than the conceptual gap

“The reality is that the security controls themselves and concept don't change that dramatically.”

Tim Erlin · 09:49

“Zero trust as a principle, not as a tool, is really a strong way to approach agent authorization.”

Tim Erlin · 10:49
#zero-trust#least-privilege#agent-security#security-controls

Hot Take· 1

Hot Take05:41

If an Agent Can Do It, That Does Not Mean It Should

Erlin warns that some organizations are making exceptions to established security principles to accelerate AI adoption. The dangerous assumption is that an available agent action must already be authorized, which he expects will contribute to breaches and incidents.

  • Technical capability is not proof of permission
  • AI urgency can cause teams to relax core security principles
  • Authentication and authorization remain necessary during transformation
  • More autonomous and integrated systems magnify the consequences

“So the assumption is often that if an agent can do something, it's allowed to do that thing.”

Tim Erlin · 06:04

“And I expect we're going to see a series of breaches and incidents that are the result of those assumptions or any assumptions that we…”

Tim Erlin · 06:34
#least-privilege#authorization#ai-adoption#breaches

Explainer· 3

Explainer02:25

Why AI Security Starts With APIs

Erlin traces AI interactions from user-facing tools through embedded models to agents and their external tools. At each layer, APIs provide the underlying connection, including MCP servers that function as another form of API.

  • AI web interfaces are backed by APIs that connect to models
  • Embedded AI features communicate through APIs behind the application
  • Agents use APIs, MCP servers, and tools to complete work
  • The shared API layer makes API security foundational to AI security

“The conclusion you inevitably come to is that all of the AI interactions are underpinned by API interactions.”

Tim Erlin · 03:10
#ai-security#api-security#agents#mcp
Explainer04:32

Agents Raise the Stakes Because They Take Action

Unlike an LLM that returns generated content, an agent acts on a user's behalf through connected systems. Those actions make authentication, authorization, and the user's operating context part of the API-security problem.

  • Agents can book flights, issue refunds, and manage tasks
  • Every action introduces an API connection into AI infrastructure
  • Authentication must establish who or what is acting
  • Authorization must reflect the user context behind the agent

“All of those interactions that agents make, that's what increases the stakes.”

Tim Erlin · 05:07

“A context, the user context in which they're acting is a big part of that challenge as well.”

Tim Erlin · 05:36
#agents#authorization#authentication#api-security
Explainer07:16

The Data Behind the AI and API Vulnerability Overlap

Wallarm's research found published AI-related vulnerabilities rose sharply from 2024 to 2025. Although the percentage overlapping with API vulnerabilities fell as the wider AI category expanded, the number of overlapping vulnerabilities still grew substantially.

  • Published AI-related vulnerabilities rose from 439 in 2024 to 2,185 in 2025
  • The AI and API overlap was nearly complete in 2024
  • There were 786 overlapping vulnerabilities in 2025
  • The overlap count grew by roughly 80% even as its share fell to 36%

“So 439 published AI-related vulnerabilities in 2024, 2185 in 2025.”

Tim Erlin · 07:58

“So it shifted from 100% overlap to 36% overlap.”

Tim Erlin · 08:47
#vulnerabilities#research#api-security#ai-security

Takeaway· 1

Takeaway11:36

AI Adoption Is Multiplying the API Attack Surface

AI does more than depend on existing APIs; it drives demand for new ones as agents and applications connect to more tools. Erlin identifies MCP as a growth area that also expands the API attack surface because it lets agents programmatically reach tools, resources, and prompts.

  • More AI agents and applications require more tool connections
  • Those connections produce rapid growth in API volume
  • MCP is another type of API and commonly runs over an API protocol
  • AI growth therefore enlarges the wider API threat landscape

“It's also the growth in AI is driving a massive growth in the number of APIs.”

Tim Erlin · 11:55

“So MCP is really as a growth area is really an expansion of the API attacks surface.”

Tim Erlin · 12:40
#mcp#attack-surface#api-growth#ai-adoption