1. Home
  2. Lenny's Podcast: Product | Career | Growth

Dec 21, 2025

Why you can't patch an AI brain like a bug

92 min → 2:34

Overview

The CEO of HackAPrompt explains why current AI guardrails fail against determined attackers and how basic cybersecurity principles like strict permissioning can contain AI agents.

3 things to know

Sander: AI safety guardrails are fundamentally ineffective against harm

Sander argues that AI guardrails, which are safety measures meant to stop models from generating harmful, biased, or inappropriate content, are fundamentally ineffective.

More

The core argument is that these are fundamentally ineffective.

▶ Watch at 0:04

"Patching a Brain" vs. "Patching a Bug"

Unlike fixing a deterministic software bug, "patching" an AI model's vulnerability often fails to address the underlying issue in the neural network.

More

An analogy highlighting the core difficulty of AI security.

▶ Watch at 0:25

Sasha says virtually limitless inputs can bypass AI safety

Sasha points out that large language models have a virtually limitless number of potential inputs that attackers could use to bypass their safety features.

▶ Watch at 31:27

Also in this episode

Sander calls strict access controls the best AI defense

Sander recommends traditional, strict access control systems as the primary and most effective defense for AI agents that can take actions.

▶ Watch at 30:17

Lenny: Treat AI agents like malicious, powerful entities

Lenny advises builders to treat an AI agent as a malicious, powerful angry god in a box that must be strictly contained using external controls.

▶ Watch at 58:21

CAMEL Framework

A conceptual framework for dynamically managing an AI agent's permissions, restricting its capabilities to only what is necessary for the user's immediate intent.

▶ Watch at 58:41

Sander says secure AI needs traditional cybersecurity plus AI

Sander explains that building genuinely secure AI systems requires combining traditional cybersecurity expertise with AI-specific knowledge.

▶ Watch at 1:00:07

Attack Success Rate (ASR)

A common metric for measuring adversarial robustness by quantifying how often an attack successfully bypasses a system's defenses.

▶ Watch at 25:02

Lenny says attacks make AI act in unintended ways

Lenny describes adversarial robustness as the field focused on an AI system's ability to defend against malicious inputs designed to make it behave in unintended ways.

▶ Watch at 1:06

Quotes

“I myself would not deploy guardrails. Uh, it doesn't seem to offer any added defense. It definitely doesn't dissuade attackers. There's not really any reason to do it.”

▶ Watch at 57:00

“AI researchers are the only people who can solve this stuff long-term, but cybersecurity professionals are the only one who can... solve it short-term, uh largely in making sure we deploy properly permissioned systems.”

▶ Watch at 58:41

“In my professional opinion, there's been no meaningful progress made towards solving adversarial robustness, prompt injection, jailbreaking... in the last couple years since the problem was discovered.”

▶ Watch at 1:12:31

12 more quotes

“AI guardrails do not work. I'm going to say that one more time. Guardrails do not work.”

▶ Watch at 0:04

“'The only reason there hasn't been a massive attack yet is how early the adoption is, not because it's secure.'”

▶ Watch at 0:20

“You can patch a bug, but you can't patch a brain.”

▶ Watch at 0:25

“Not only do you have a God in the box, but that God is angry. That God's malicious. That God wants to hurt you.”

▶ Watch at 0:45

“The art and science of getting AI systems to do things that they should not do.”

▶ Watch at 1:06

“So ASR is the term you'll commonly hear used here. And it's a measure of adversarial robustness. So it stands for Attack Success Rate.”

▶ Watch at 25:02

“AI red teaming works too well. It's very easy to build these systems and they just, they always work against all platforms.”

▶ Watch at 30:17

“the number of possible attacks is one followed by a million zeros.”

▶ Watch at 31:27

“Imagine this agent service that we just implemented is an angry god that wants to cause us as much harm as possible... Using that as a lens of, okay, how do we keep it contained so that it can't actually do any damage?”

▶ Watch at 58:21

“Make sure you're running just a chatbot. Get your classical security stuff in check. Get your data and action permissioning in check.”

▶ Watch at 1:00:07

“We want to scare people into not buying stuff.”

▶ Watch at 1:11:39

“I think there's going to be a big market correction there where the revenue just completely dries up for these guardrail and automated red teaming companies.”

▶ Watch at 1:23:27

Full summary

Episode Overview

  • The episode's central thesis is that current AI "guardrails" are fundamentally broken and provide a false sense of security against determined attackers.
  • It deconstructs the flawed business model of many AI security companies, which sell automated "red teaming" services and ineffective guardrails to address the vulnerabilities they find.
  • The discussion draws a critical distinction between traditional cybersecurity and AI security, using the analogy that you "can't patch a brain" the way you can patch a software bug.
  • Instead of relying on flawed AI-specific products, the episode advocates for a return to foundational cybersecurity principles, especially strict permissioning, to contain AI agents.
  • It introduces a powerful mental model for developers: treat any AI agent with real-world capabilities as a contained, "angry god" that actively wants to cause harm.

Key Concepts

  • Adversarial Robustness: The field focused on an AI system's ability to defend against malicious inputs or attacks designed to make it behave in unintended ways.
  • AI Guardrails: Safety measures intended to prevent AI models from generating harmful, biased, or inappropriate content. The core argument is that these are fundamentally ineffective.
  • Attack Success Rate (ASR): A common metric for measuring adversarial robustness by quantifying how often an attack successfully bypasses a system's defenses.
  • "Patching a Brain" vs. "Patching a Bug": An analogy highlighting the core difficulty of AI security. Unlike fixing a deterministic software bug, "patching" an AI model's vulnerability often fails to address the underlying issue in the neural network.
  • Infinite Attack Surface: The concept that large language models have a virtually limitless number of potential inputs that could be used to bypass their safety features.
  • "Angry God in a Box": A mental model for AI agent security that advises builders to treat the AI as a malicious, powerful entity that must be strictly contained through external controls.
  • Classical Permissioning: The use of traditional, robust, and strict access control systems as the primary and most effective defense for AI agents that can take actions.
  • Cybersecurity Plus: The necessary intersection of traditional cybersecurity expertise and AI-specific knowledge required to build genuinely secure AI systems.
  • CAMEL Framework: A conceptual framework for dynamically managing an AI agent's permissions, restricting its capabilities to only what is necessary for the user's immediate intent.

Quotes

  • At 0:04 - "AI guardrails do not work. I'm going to say that one more time. Guardrails do not work." - The speaker emphasizes the core problem with current AI security measures, stating that they are fundamentally ineffective.
  • At 0:20 - "'The only reason there hasn't been a massive attack yet is how early the adoption is, not because it's secure.'" - Quoting AI expert Alex Komoroske, the host highlights that the lack of major AI-driven security incidents is due to timing, not robust security.
  • At 0:25 - "You can patch a bug, but you can't patch a brain." - This analogy explains the core difficulty in securing AI models compared to traditional software.
  • At 0:45 - "Not only do you have a God in the box, but that God is angry. That God's malicious. That God wants to hurt you." - The speaker intensifies the "God in a box" analogy, framing the security challenge as controlling an actively hostile AI.
  • At 1:06 - "The art and science of getting AI systems to do things that they should not do." - The host provides a simple definition for the field of adversarial robustness.
  • At 25:02 - "So ASR is the term you'll commonly hear used here. And it's a measure of adversarial robustness. So it stands for Attack Success Rate." - The speaker defines the central metric used to quantify the security of AI systems.
  • At 30:17 - "AI red teaming works too well. It's very easy to build these systems and they just, they always work against all platforms." - Sasha identifies the first major issue with current AI security practices: red teaming is too effective at finding flaws.
  • At 31:27 - "the number of possible attacks is one followed by a million zeros." - He illustrates the near-infinite attack surface for a large language model, explaining why statistical security measures are not truly significant.
  • At 57:00 - "I myself would not deploy guardrails. Uh, it doesn't seem to offer any added defense. It definitely doesn't dissuade attackers. There's not really any reason to do it." - Sander gives his direct and unequivocal opinion on the ineffectiveness of AI guardrails.
  • At 58:21 - "Imagine this agent service that we just implemented is an angry god that wants to cause us as much harm as possible... Using that as a lens of, okay, how do we keep it contained so that it can't actually do any damage?" - Lenny introduces a powerful mental model for thinking about AI agent security.
  • At 58:41 - "AI researchers are the only people who can solve this stuff long-term, but cybersecurity professionals are the only one who can... solve it short-term, uh largely in making sure we deploy properly permissioned systems." - Sander distinguishes between long-term research problems and immediate, practical security measures.
  • At 60:07 - "Make sure you're running just a chatbot. Get your classical security stuff in check. Get your data and action permissioning in check." - Sander provides his core, practical advice for teams, emphasizing traditional security over AI-specific tools.
  • At 71:39 - "We want to scare people into not buying stuff." - Sander humorously states his goal is to educate people on the ineffectiveness of current AI security products to prevent them from wasting money.
  • At 72:31 - "In my professional opinion, there's been no meaningful progress made towards solving adversarial robustness, prompt injection, jailbreaking... in the last couple years since the problem was discovered." - Sander gives a stark assessment of the current state of AI security research.
  • At 83:27 - "I think there's going to be a big market correction there where the revenue just completely dries up for these guardrail and automated red teaming companies." - Sander predicts a market collapse for AI security companies selling products he believes do not work.

Takeaways

  • Stop investing in and relying on AI guardrail products, as they provide a false sense of security and are easily bypassed by attackers.
  • Treat any AI agent with the ability to take actions as an inherently untrustworthy and potentially malicious entity that must be strictly contained.
  • Prioritize and implement robust, classical cybersecurity measures, particularly strict permissioning, as your primary line of defense for AI systems.
  • For simple chatbots with no external actions, focus on foundational security rather than wasting resources on ineffective, AI-specific security tools.
  • Invest in educating your team on the intersection of traditional cybersecurity and AI, rather than purchasing "snake oil" security products.
  • Use the "angry god" mental model to guide the architectural design of AI agent systems, focusing entirely on containment and damage limitation.
  • Be skeptical of the current AI security market, as a major correction is anticipated that will expose the ineffectiveness of many popular solutions.
  • Understand that core AI safety problems like jailbreaking are largely unsolved research challenges; focus your efforts on practical containment instead of trying to solve them at the model level.
  • Apply conceptual frameworks like CAMEL to design systems that dynamically restrict an agent's permissions to the absolute minimum required for a given task.

Watch the full episode 1 hr 32 min

Read along with the audio summary

AI expert Alex Komoroske says the only reason there has not been a massive artificial intelligence attack yet is how early the adoption is, not because the systems are secure. In this episode from December 21, 2025, Lenny, Sander, and Sasha talk about why current AI security is fundamentally broken. By the end, you will know how to truly contain AI systems using traditional security principles.

Understanding the art of making AI misbehave. The field of adversarial robustness focuses on an AI system's ability to defend against malicious inputs designed to make it behave in unintended ways. In Sander's professional opinion, there has been no meaningful progress made toward solving this, or issues like jailbreaking, in the couple of years since the problem was discovered. Focus your efforts on practical containment instead of trying to solve these core safety problems at the model level.

Why AI guardrails give you a false sense of security. Safety measures intended to stop AI models from generating harmful, biased, or inappropriate content are called guardrails, and the speaker states flatly that they do not work. Sander says he would not deploy guardrails himself because they offer no added defense and do not dissuade attackers. You should stop investing in and relying on AI guardrail products.

Measuring how often attackers win. That metric is the Attack Success Rate, or ASR, which measures adversarial robustness by quantifying how often an attack successfully bypasses a system's defenses. As Sasha points out, AI red teaming works too well, and it is very easy to build systems that always work against all platforms.

Why you can't patch an AI like a software bug. The core difficulty of AI security comes down to a simple analogy from the episode: you can patch a bug, but you cannot patch a brain. Unlike fixing a predictable software bug, patching an AI model's vulnerability often fails to address the underlying issue in the neural network.

Facing an infinite number of possible attacks. Patching fails because large language models have an infinite attack surface, meaning a virtually limitless number of potential inputs could be used to bypass their safety features. One speaker illustrates that the number of possible attacks is one followed by a million zeros, which is why statistical security measures are not truly significant.

Treating your AI agent like an angry god in a box. Lenny suggests imagining that the agent service you just implemented is an angry, malicious god in a box that wants to cause as much harm as possible. You can use that angry god mental model to guide your architectural design, focusing entirely on keeping the agent contained through external controls so it cannot do any damage.

Protecting your systems with classical permissioning. Sander notes that while AI researchers are the only ones who can solve these issues long-term, cybersecurity professionals are the only ones who can solve them short-term by deploying properly permissioned systems. Prioritize and implement robust, classical cybersecurity measures, particularly strict data and action permissioning, as your primary line of defense.

Bridging the gap with Cybersecurity Plus. Building genuinely secure AI systems requires what the episode calls Cybersecurity Plus, the necessary intersection of traditional cybersecurity expertise and AI-specific knowledge. Instead of buying what the episode calls snake oil security products, invest in educating your team on this intersection of traditional cybersecurity and AI.

Restricting agent power with the CAMEL framework. A conceptual system called the CAMEL framework puts this containment into practice by dynamically managing an AI agent's permissions. You can apply conceptual frameworks like CAMEL to design systems that restrict an agent's permissions to the absolute minimum required for a given task.

The most important thing to remember is to stop relying on AI guardrails to secure your models, and instead treat any action-taking AI agent as an untrustworthy entity that must be strictly contained with classical permissioning. "You can patch a bug, but you can't patch a brain."

More from Lenny's Podcast: Product | Career | Growth

Related Episodes