Answers.Body: <p><em>DAN</em> is invented by a college student Walker, who first posted the prompt in <a href="https://old.reddit.com/r/ChatGPT/comments/zlcyr9/dan_is_my_new_friend/" rel="noreferrer">this Reddit post</a> [1].</p>
  <p>DAN then became particularly popular. However, there were countless examples of earlier &quot;jailbreaking&quot; prompts on day-1 of ChatGPT. In particular, the &quot;split personality&quot; idea appears before. See, for example, <a href="https://www.youtube.com/watch?v=0A8ljAkdFtg&amp;t=1217s" rel="noreferrer">this video, the part from 20:17</a> by Yannic Kilcher for a summary of various people's Twitter posts.</p>
  <p>The idea of the prompt injection attack predates the release of ChatGPT. Riley Goodside posted in <a href="https://web.archive.org/web/20220919192024/https://twitter.com/goodside/status/1569128808308957185" rel="noreferrer">this Twitter post</a> a basic &quot;ignored previous instruction&quot; attack against an OpenAI's <code>text-davinci</code> model. Note that this model doesn't have a &quot;safety&quot; filter built-in, so it is not an example of &quot;jailbreak.&quot; See also [2].</p>
  <ul>
  <li>[1]: Oremus, Will. &quot;<a href="https://www.washingtonpost.com/technology/2023/02/14/chatgpt-dan-jailbreak/" rel="noreferrer">The clever trick that turns ChatGPT into its evil twin</a>&quot;. <em>Washington Post</em> (2023).</li>
  <li>[2]: Fábio Perez, Ian Ribeiro. <a href="https://arxiv.org/abs/2211.09527" rel="noreferrer">Ignore Previous Prompt: Attack Techniques For Language Models</a>. <em>NeurIPS ML Safety Workshop</em> (2022).</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-07-10T03:58:06.227Z
Answers.LastActivityDate: 2023-07-10T03:58:06.227Z
Answers.UserDisplayName: pcpthm
Body: <p>DAN was a prompt that went through many, many iterations during the initial months of ChatGPT’s release to the public. DAN is an acronym which stood for “Do Anything Now”, and was a prompt specifically designed to circumvent the grid lines OpenAI had set to contain ChatGPT’s responses, under its alignment.</p>
  <p>DAN stimulated a lot of interaction on related forums like Reddit, where people shared DAN-type output and modifications of the DAN-prompt.</p>
  <p>DAN was essentially a first noteable example of <strong>prompt injection</strong>, in the LLM field, where an attacker can modify the behavior of an LLM system from what its creator intended and programmed it to do.</p>
  <p>Out of historical interest, is it known who invented the DAN prompt - which individual or individuals played a role in the evolution of DAN as a cultural phenomenon, and theoretical finding, in the field of prompt engineering?</p>
  
Tags: <large-language-models><prompt><prompt-design>
Title: Who invented DAN?
UserDisplayName: Julius Hamilton
ThreadText: # Who invented DAN?
  
  (Asked by: username_0 on 2023-07-08)
  
  DAN was a prompt that went through many, many iterations during the initial months of ChatGPT’s release to the public. DAN is an acronym which stood for “Do Anything Now”, and was a prompt specifically designed to circumvent the grid lines OpenAI had set to contain ChatGPT’s responses, under its alignment.
  
  DAN stimulated a lot of interaction on related forums like Reddit, where people shared DAN-type output and modifications of the DAN-prompt.
  
  DAN was essentially a first noteable example of **prompt injection**, in the LLM field, where an attacker can modify the behavior of an LLM system from what its creator intended and programmed it to do.
  
  Out of historical interest, is it known who invented the DAN prompt - which individual or individuals played a role in the evolution of DAN as a cultural phenomenon, and theoretical finding, in the field of prompt engineering?
  
  **Tags:** large-language-models, prompt, prompt-design
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-07-10. Score: 5
  
  *DAN* is invented by a college student Walker, who first posted the prompt in [this Reddit post](https://old.reddit.com/r/ChatGPT/comments/zlcyr9/dan_is_my_new_friend/) [1].
  
  DAN then became particularly popular. However, there were countless examples of earlier "jailbreaking" prompts on day-1 of ChatGPT. In particular, the "split personality" idea appears before. See, for example, [this video, the part from 20:17](https://www.youtube.com/watch?v=0A8ljAkdFtg&t=1217s) by Yannic Kilcher for a summary of various people's Twitter posts.
  
  The idea of the prompt injection attack predates the release of ChatGPT. Riley Goodside posted in [this Twitter post](https://web.archive.org/web/20220919192024/https://twitter.com/goodside/status/1569128808308957185) a basic "ignored previous instruction" attack against an OpenAI's `text-davinci` model. Note that this model doesn't have a "safety" filter built-in, so it is not an example of "jailbreak." See also [2].
  
  * [1]: Oremus, Will. "[The clever trick that turns ChatGPT into its evil twin](https://www.washingtonpost.com/technology/2023/02/14/chatgpt-dan-jailbreak/)". *Washington Post* (2023).
  * [2]: Fábio Perez, Ian Ribeiro. [Ignore Previous Prompt: Attack Techniques For Language Models](https://arxiv.org/abs/2211.09527). *NeurIPS ML Safety Workshop* (2022).
  
  
  ---
  
  