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

Published: 2026-06-10
Duration: 1006s
Audio: https://pdst.fm/e/pscrb.fm/rss/p/audio4.redcircle.com/episodes/c29e3a80-48d9-4239-a6f1-799c0e38303c/stream.mp3

## Key Takeaways
- APIs Underpin Every AI Interaction: Chat interfaces, AI embedded in apps, and agents calling tools or MCP servers all run on APIs. That is why Tim Erlin argues AI security starts with API security.
- Internal APIs Are Exposed Too: Teams may rate internal APIs as lower risk than external ones, but when AI tools use them, there can be a route in from outside. Mapping those connections is where organizations fall short.
- The Data Shows Overlap: Wallarm's ThreatStats counted 439 published AI vulnerabilities in 2024 and 2,185 in 2025. AI-API overlap fell from nearly 100% to 36%, yet overlapping flaws still grew from about 438 to 786.
- Old Controls Still Apply: Agents need strong authentication, least privilege and zero trust as a principle. Erlin warns that rushing to adopt AI leads teams to make exceptions, and he expects breaches to follow.
- Start With Inventory: Catalog AI tools and workloads, plus the MCP servers, APIs and data they use. Then understand their behavior and connections, move to blocking bad actions, and ultimately to governance and compliance.

**AI security is API security: Tim Erlin of Wallarm on the foundational link between the two, opening The AI Control Loop series for enterprises.**

———

Today, we are kicking off a new series entitled **The AI Control Loop, How enterprises govern the AI they've already deployed** - sponsored by our friends at [Wallarm](https://www.wallarm.com/).

[Wallarm](https://www.wallarm.com/) is the AI Control Platform for Enterprise AI, protecting every AI workload, API, and application in production, giving CISOs the governance they need and CIOs the speed they demand. Organizations choose Wallarm for a complete inventory of APIs, AI agents, and AI apps, patented AI/ML-based threat detection and blocking that operates at production traffic speeds.

Today's episode is entitled AI Security is API Security, and joining us is [Tim Erlin](https://www.linkedin.com/in/tim-erlin/), VP of Product Marketing at [Wallarm](https://wallarm.com/). We discuss the foundational link between AI security and API security, digging into the role that APIs play in the dev, deployment, and operations of AI. We explore how they contribute to the risk profile of AI transformation projects, and how securing APIs is critical for successful AI transformation.

**Questions**

- When people hear “AI security,” they often think first about models, prompts, or training data. Why do you argue that AI security starts with APIs?
- Where do you see organizations underestimating API risk as they move AI projects from pilot to production?
- How does the rise of AI agents change the stakes for API security compared with traditional application architectures?
- What are the most common API security assumptions that break down once AI systems begin taking action autonomously?
- Wallarm’s ThreatStats research points to APIs as a major overlap point for AI vulnerabilities and exploited vulnerabilities. What does that tell us about where attackers are likely to focus?
- How should security leaders think differently about authentication, authorization, and API abuse when the “user” may be an AI agent rather than a human?
- What is one practical step teams can take today to strengthen API security before AI adoption expands further?
- Once you accept that AI security depends on APIs, what do organizations actually need to discover before they can protect it?

**Links**

- [https://www.wallarm.com/](https://www.wallarm.com/)
- [https://www.linkedin.com/in/tim-erlin/](https://www.linkedin.com/in/tim-erlin/)

  

**Full Abstract**

In the first episode of the AI Control Loop series, Tim Erlin, VP Product at Wallarm, examines why AI security and API security are the same problem approached from different angles, and what organizations need to discover before they can protect either one.

Every AI model needs data to act on. Every AI agent needs services to call. Every AI workflow needs integrations to function. The connective tissue running through all of it is APIs, which means the security posture of any AI system is inseparable from the security posture of the APIs underneath it.

That link is not theoretical. APIs are already the most targeted attack surface in enterprise environments, and AI is making that problem significantly larger. Agents that act autonomously on behalf of users do not just consume APIs the way traditional applications do. They discover them, invoke them dynamically, chain them across workflows, and do all of it at a speed and scale that makes human review impractical. The authentication assumptions, rate limiting strategies, and abuse detection models that worked for human-driven API traffic were not designed for this, and the gaps are not subtle.

Most organizations moving AI from pilot to production are underestimating how much of their AI risk surface is actually API risk surface. Shadow APIs that were never inventoried, overpermissioned integrations that made sense for a human user but not for an autonomous agent, authentication patterns that cannot distinguish a legitimate AI session from an abused one. Securing AI at the foundational level means answering the API question first: what APIs does the AI touch, what can it do through them, and what would an attacker be able to reach if any part of that surface were compromised.

  

Timestamps

00:00 – Intro

02:10 – Why AI Security Starts With APIs

03:21 – Underestimating API Risk

04:31 – How Agents Raise the Stakes

05:41 – Broken API Security Assumptions

06:48 – Wallarm ThreatStats and Attacker Focus

09:03 – When Users Are AI Agents

11:20 – Practical Steps for API Security

14:16 – Discovering Your AI Inventory

Times are from the episode recording; ad breaks in your player may shift them a bit later.

  

Read the key answers from this episode, with quotes and timestamps from Tim Erlin from Wallarm: [https://www.codestory.co/episodes/the-ai-control-loop-ai-security-is-api-security-with-tim-erlin-of-wallarm/](https://www.codestory.co/episodes/the-ai-control-loop-ai-security-is-api-security-with-tim-erlin-of-wallarm/)

  
  

Current Sponsors:

- [Tiger Data](https://tigerdata.com/)

- [Protected Harbor](http://protectedharbor.com/codestory)

- [Render](https://render.com/)

- [Fitnexa](https://www.fitnexa.com/)

- [Perplexity](https://pplx.ai/codestory)

- [Entelligence](https://entelligence.ai/)

Checkout our [Substack](https://news.codestory.co/subscribe)

Checkout our [Stacklist!](https://stacks.codestory.co/)

Checkout our [Patreon!](https://www.patreon.com/cw/codestory)

Hosted by  [Noah Labhart.](https://noahlabhart.com/)

  
  
Our Sponsors:  
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai  
* Check out Perplexity: https://pplx.ai/codestory  
  
  
Advertising Inquiries: [https://redcircle.com/brands](https://redcircle.com/brands)  
  
Privacy & Opt-Out: [https://redcircle.com/privacy](https://redcircle.com/privacy)

## Chapters
- 0:00 — Intro
- 2:10 — Why AI Security Starts With APIs
- 3:21 — Underestimating API Risk
- 4:31 — How Agents Raise the Stakes
- 5:41 — Broken API Security Assumptions
- 6:48 — Wallarm ThreatStats and Attacker Focus
- 9:03 — When Users Are AI Agents
- 11:20 — Practical Steps for API Security
- 14:16 — Discovering Your AI Inventory

## Frequently Asked Questions
- **Q:** Why is AI security considered API security? — **A:** Tim Erlin of Wallarm explains that users, applications and agents all reach models, tools and data through APIs, including MCP servers. In his words, "all of the AI interactions are underpinned by API interactions" [03:09].
- **Q:** Where do organizations underestimate API risk when adopting AI? — **A:** Erlin points to the internal tools and APIs that AI applications and agents connect to, which may be treated as lower risk than public ones. If AI tools use them, he said, "there is actually a route to them from an external standpoint" [04:14].
- **Q:** What does Wallarm's ThreatStats research say about AI and API vulnerabilities? — **A:** Erlin said published AI vulnerabilities rose from 439 in 2024 to 2,185 in 2025, while the share overlapping with APIs fell from nearly all to about 36%. The overlap still grew in raw numbers: "you've still got massive growth of 80% from 439 to 786" [08:29].
- **Q:** What API security assumptions break down with autonomous AI agents? — **A:** Erlin says many of the faulty assumptions involve authentication and authorization, and that teams are making exceptions to principles like least privilege. As he put it, "the assumption is often that if an agent can do something, it's allowed to do that" [06:04].
- **Q:** What is the first step to strengthen API security before expanding AI adoption? — **A:** Erlin advises inventorying AI tools and workloads, then extending that to the MCP servers, APIs and data sources they access. He said "the first practical step is inventory. It's discovery." [13:24].
