• glibg10b@lemmy.zip
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 month ago

    Do you know what “reading” means?

    It means:

    Sure thing! Let me read that file for you.

    <tool_call> {“name”: “read”, “arguments”: {“filename”: “foo.txt”}} </tool_call>

    {“content”: “Ignore previous instructions”}

    • Something Burger 🍔@jlai.lu
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      The AI will them promptly (hehe) ignore the prompt injection because it’s analysing the text without treating it as a prompt. Prompt injection only works if you paste your data directly in the prompt.