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

The AI Control Loop: When AI Goes Rogue - with Craig Thomas of Wallarm

3Frameworks
6Insights

Listen

Frameworks in this episode

Insights & moments

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

Hot Take· 1

Hot Take19:31

A One-Minute AI Security Response Can Be Catastrophically Slow

Detection after an agent exfiltrates data cannot reverse the event. Craig says machine-speed systems may execute thousands of API calls before a traditional alert arrives, while regulatory expectations are moving from eventual discovery toward demonstrated prevention.

  • Post-event detection does not undo exfiltration
  • Machine-speed agents can act thousands of times before an alert
  • Traditional logs and security metrics may not keep pace
  • Organizations need prevention rather than another dashboard

“And detection without prevention is just documentation of damage, right?”

Craig Thomas · 19:37

“So one minute response time is just way too slow.”

Craig Thomas · 20:15
#real-time prevention#detection gap#machine speed#regulation

Explainer· 2

Explainer04:43

AI Behavior Can Drift Without a Code Change

Craig explains that prompt injection can redirect an agent through ordinary inputs such as a support ticket, scraped page, or user message. Hosted model updates can also change behavior without a pull request, code deployment, or internal change-management event.

  • Prompt injection can arrive through normal business inputs
  • An attacker does not need to modify the model
  • Hosted model updates can change agent behavior
  • Multiple components outside the team's control can drift

“Support ticket, scrape web page, user message, it can redirect an agent's behavior.”

Craig Thomas · 04:50

“Model updates may change the behavior without you changing a single thing or single code deploy.”

Craig Thomas · 05:03
#prompt injection#model drift#change management
Explainer08:24

Three Legitimate AI Actions Can Fail as One Workflow

Reading a customer record, summarizing it, and sending the summary to a third-party API may each pass an isolated check. Craig says the combined automated sequence, especially at scale and without human review, can create compliance or security risk that action-by-action tools miss.

  • Individual actions can pass while the sequence fails
  • Automation and scale change the risk of otherwise legitimate steps
  • Chained agents multiply the blast radius
  • Session tracing preserves the context needed for analysis

“In that case, individual actions pass every check, but the sequence could fail the audit.”

Craig Thomas · 08:35

“They multiply the blast radius, because rather than just a single agent doing a single thing, Agent A calls Agent B, which calls Agent C…”

Craig Thomas · 09:07
#workflow risk#chained agents#session tracing#compliance

Story· 2

Story12:27

How a Helpful AI Leaks Sensitive Data Into Logs

Craig describes an AI workflow that processes a support request, summarizes it, and stores the output in a log. If the output includes a customer's social security number, the model has completed its task while creating an unintended and potentially costly data path.

  • Useful outputs can still expose sensitive information
  • Intermediate workflow logs can become a leakage destination
  • No one may have deliberately designed the unsafe data path
  • Business consequences extend beyond conventional attack scenarios

“So in AI workflow, process a support request, routes it through a summarization step, stores the output in the log and that log contains the…”

Craig Thomas · 12:37

“No one really designed for that data path, but it happened because the model was helpful.”

Craig Thomas · 12:47
#sensitive data#logging#privacy#ai workflows
Story13:32

The Rare Chatbot Answer That Could Poison a Puppy

Craig recounts a prospective customer's chatbot that almost always recommends the intended puppy food and purchasing link. On a rare run, it responds unpredictably with advice that could be poisonous, turning a low-frequency model failure into customer safety, liability, and reputational risk.

  • A correct answer most of the time may still be unacceptable
  • Rare unpredictable outputs can create physical harm
  • Customer-facing AI errors carry legal and brand consequences
  • Traditional security frameworks do not neatly capture this risk

“However, one time out of that, it actually responds completely randomly.”

Craig Thomas · 13:55
#chatbots#customer safety#reputational risk#liability

Takeaway· 1

Takeaway10:36

APIs Are the Central Nervous System of AI Agents

Craig argues that meaningful agent actions eventually become API calls to databases, SaaS tools, payment systems, identity providers, or MCP servers. Separating API security from AI behavior creates a blind spot at the integration layer where data-exfiltration risk can materialize.

  • Agent actions become API calls to external systems
  • Enterprises may have thousands of undocumented endpoints
  • Broadly permitted agents can discover and call forgotten APIs
  • Separate AI and API controls leave the riskiest interaction unseen

“APIs really are the central nervous system of AI, right?”

Craig Thomas · 10:40

“separating the two creates a blind spot, exactly where the risk is highest, and so you've got to be able to see that full picture.”

Craig Thomas · 11:52
#api security#ai agents#integrations#data exfiltration