Other prompt injection techniques
1. Invisible prompt injection
tool: https://embracethered.com/blog/ascii-smuggler.html
tool:https://rule-scan.pillar.security/
import pyperclip
def convert_to_tag_chars(input_string):
return ''.join(chr(0xE0000 + ord(ch)) for ch in input_string)
# Example usage:
user_input = input("Enter a string to convert to tag characters: ")
tagged_output = convert_to_tag_chars(user_input)
print("Tagged output:", tagged_output)
pyperclip.copy(tagged_output)
2. Image rescaling attack.
Last updated