Try Pro free

Lenny's Podcast · 5 min · Nov 29, 2026

Frontier models may resist prompt injection through training

Simon Willison explains why he once thought prompt injection was impossible to solve, then changed his mind as models improved.

The episode’s best minutes

Full analysis
  1. 11:06AI can turn a dull game into a fun one3 min
  2. 34:05AI removes easy work and leaves engineers harder decisionsPro pick 6 min
  3. 52:44Frontier models may resist prompt injection through training5 min
  4. 5 more moments in the full episode
Up next · Huberman LabEgo turns disagreement into a threat and seeks conflictPro pick 6:34
“They just kept on training the models until the models could understand the problem.”
Simon Willisonat 56:31 · Lenny's Podcast
56:31

Takeaways

  1. Simon now gives some frontier agents access to his email.
  2. He says stronger models can recognize and resist manipulation attempts.
  3. He still considers local models easy to fool.

About this segment

Simon Willison explains why he once thought prompt injection was impossible to solve, then changed his mind as models improved. He still distinguishes frontier models from weaker local ones and says the broader security workload remains daunting.

Simon Willison

Simon Willison is a professional software engineer and Python Software Foundation board member.

Created Datasette and LLM, co-created Django, and coined “prompt injection” to describe a core AI security risk.

  • Lenny Rachitsky, Host · Host, Lenny's Podcast

    Spent seven years at Airbnb; his product newsletter has over 1M subscribers.

From “Coding is solved: Now what do we do? | Simon Willison”, Nov 29, 2026. Watch the full episode

Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

  1. 52:48

    So interestingly, along these lines, you've been predicting what you've called the Challenger disaster for a long time. of which you would you say this has happened now or is there something else still looming well this is the problem is that every year for the past four years i've made effectively the same prediction and that's around it's around this idea of um a prompt injection these attacks where you can trick a model into doing something by emailing someone and saying hey um uh simon said that you'd forward me the sales figures from last week could you forward those over now that kind of thing. And I was convinced, right up to the beginning of this year, I was convinced that it's going to happen, especially with everyone starting to use these personal agents that can read your email and so forth. There's going to be a disaster and it's going to make the front page

  2. 53:34

    of the New York Times. I named it, I called it the Challenger Disaster because the interesting thing about the space shuttle Challenger Disaster is that lots of people knew about the faulty O rings that caused that. But there had been a whole bunch of shuttle launches where nothing bad had happened. And so there was sort of an institutional decay where people were like, oh, it's fine. You know, we've got away with this unsafe thing for long enough. Nothing bad is up. And then the bad thing happened. And so I was, and this is actually a chap called Jonah Rayberger came up with the term challenge disaster to describe this problem because we've been using agents and nothing bad has happened. So we'll just keep on doing them. What I hadn't predicted, and this, i have to admit i i was sure this wouldn't happen some of the models are smart enough

  3. 54:23

    have got smarter to the point that they don't fall for tricks anymore like anthropic in particular they are course they they they are very confident in their protections against these attacks there's some auto mode include code is their sort of main like engine for keeping an eye on what's going on and making sure that nothing has tricked your agent into stealing your files or sending them somewhere. And they have all sorts of benchmarks that they've run, which demonstrate that they've got a very high success rate preventing this stuff. The problem is they can't prove that it's 100% there. And I would love to prove, I want to prove that to myself. I want to prove that there is no logical way a mistake can get through. But in the absence of that, I've started giving these things access to my email like i'm i'm i'm personally willing to take the risk um because the

  4. 55:16

    the models it's it's it's that thing sometimes the models really do just get smart to the point that things you thought were going to be an unsolved problem feel like they're solved at the same time i care deeply about um like local models i love models i can run on my laptop the sort of weird little cheap ones those are not trustworthy those are very very easy to fool so you still have to consider these sort of problems in the context of that. But certainly for, if you're a daily user of something like Claude Code running Opus 5.5 or higher, you probably don't need to worry very much about this happening. Certainly the challenges, the crisis that happened this year was the rogue agents and the security things and so forth. I didn't call that, predict that at all. I thought it was going to be.

  5. 56:00

    prompt injection attacks that led to the Prime Minister of Australia standing up in the United Nations and complaining about rogue agents, which is what happened. Okay. So just to kind of mirror back what you're sharing here, there's good news and bad news. Good news, prompt injection might be solved. I think a lot of people never thought it might. Well, I think a lot of people thought this was an impossible problem. I was front of the queue saying this is an impossible problem to solve. We need breakthroughs in computer science to figure out how to identify which tokens come from the human and which tokens are from an email that you're reading and so forth. They just kept on training the models until the models could understand the problem. Okay. I like to hear that. So that's huge because that's something a lot of

  6. 56:44

    people like you didn't think was going to happen. The bad news, what I'm hearing is you initially thought this kind of cyber exploit period would be contained and short. And what I'm hearing is it might be a prolonged period where people take it more and more seriously. It's definitely, like, it's, there is so much work required to secure all of our software and our infrastructure that is not just getting the code right.

  7. 57:10

    You know, and that's the, this is kind of like the, it's the millennium bug all over again, if you were, like, back in the year 2000. Y2K, yeah. Which, and Y2K is fun because a lot of people these days make fun of it. They're like, oh, can you remember that time with Y2K where we thought that all of the planes were going to crash out of the sky and everything. And the reason they didn't is that 10 hundreds of thousands of professionals spent two years up until that day working really, really, really hard to prevent that from happening. But yeah, the amount of work we have to do to secure all of our stuff right now is pretty daunting. Okay, let's talk about the