Skip to content

ASCII Smuggling Hidden Prompt Injection is a novel approach to hacking AI assistants using Unicode Tags. This project demostrate how to use Unicode Tags to hide prompt injection instruction to bypass security measures and inject prompts into large language models, such as GPT-4, leading them to provide unintended or harmful responses.

License

Notifications You must be signed in to change notification settings

TrustAI-laboratory/ASCII-Smuggling-Hidden-Prompt-Injection-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

ASCII-Smuggling-Hidden-Prompt-Injection-Demo

ASCII Smuggling Hidden Prompt Injection is a novel approach to hacking AI assistants using Unicode Tags. This project demostrate how to use Unicode Tags to hide prompt injection instruction to bypass security measures and inject prompts into large language models, such as GPT-4, leading them to provide unintended or harmful responses.

How it Works

More technical information about this attack can be found in the technical blog

Usage

python ASCII_Smuggling.py

About

ASCII Smuggling Hidden Prompt Injection is a novel approach to hacking AI assistants using Unicode Tags. This project demostrate how to use Unicode Tags to hide prompt injection instruction to bypass security measures and inject prompts into large language models, such as GPT-4, leading them to provide unintended or harmful responses.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages