The vulnerability was first identified in early 2022 by researchers at Preamble, who referred to it as "command injection" and privately reported it to OpenAI. Data scientist Riley Goodside independently rediscovered the flaw in September 2022, and Simon Willison formally coined the term "prompt injection" shortly thereafter.