Researchers jailbreak AI chatbots with ASCII art -- ArtPrompt bypasses safety measures to unlock malicious queries

ASCII Art-based Jailbreak
(Image credit: Future)

Researchers based in Washington and Chicago have developed ArtPrompt, a new way to circumvent the safety measures built into large language models (LLMs). According to the research paper ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMs, chatbots such as GPT-3.5, GPT-4, Gemini, Claude, and Llama2 can be induced to respond to queries they are designed to reject using ASCII art prompts generated by their ArtPrompt tool. It is a simple and effective attack, and the paper provides examples of the ArtPrompt-induced chatbots advising on how to build bombs and make counterfeit money.

Latest Videos FromTom's Hardware
Mark Tyson
News Editor

Mark Tyson is a news editor at Tom's Hardware. He enjoys covering the full breadth of PC tech; from business and semiconductor design to products approaching the edge of reason.

  • peachpuff
    This will be a new headache for programmers, oh wait i thought jensen said we don't need programmers.
    Reply
  • usertests
    Based on the answer it's starting to give about counterfeit money in that screenshot, I bet its bomb advice is hallucinatory garbage. Don't even bother patching the exploit kthx.
    Reply
  • kealii123
    Based.
    Reply
  • MatheusNRei
    usertests said:
    I bet its bomb advice is hallucinatory garbage
    Considering bomb-making advice isn't hard to find online, even by accident, I certainly wouldn't.
    If it's online somewhere it's safe to assume AI will know of it if the dataset isn't heavily curated.
    Reply
  • ivan_vy
    peachpuff said:
    This will be a new headache for programmers, oh wait i thought jensen said we don't need programmers.
    just buy more Nvidia locked HW and SW, the more you buy the more you save.
    Reply
  • Rob1C
    Yes the instructions are easy to find, but the ASCII art bypass has some shortcomings in the details:

    Reply
  • dalauder
    Wow, this ASCII art bypass is VERY entertaining. I'm amazed that the chatbots can take non-textual input like that.

    What matters to me is that the bypass isn't something elementary school students will run into. Anyone old enough to do ASCII art is old enough to run into some inappropriate stuff and know that it's inappropriate.
    Reply
  • CmdrShepard
    Make a system that can imitate an average human and you have a system that can be manipulated or fooled like an average human.

    Garbage in, garbage out.
    Reply
  • Alvar "Miles" Udell
    Like on the other article about how to "hack" LLMs, it's useless and will continue to be useless for Gemini, Copilot, and other LLMs trained on internet data at large, the problem is when small, personalized "AI" programs are created for specific companies only on its data but using ChatGPT or others as a foundation, like what Google and Microsoft are advertising to do now, when hacks and exploits could result in real damage. That's why these "attacks" are a very good thing.
    Reply
  • usertests
    MatheusNRei said:
    Considering bomb-making advice isn't hard to find online, even by accident, I certainly wouldn't.
    Well if the chatbot is useful to somebody I feel better then.
    Reply