• Something Burger 🍔@jlai.lu
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    4
    ·
    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.

        • SkaveRat@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 month ago

          If the content of the file isn’t put into the context on some way, there’s no point in reading it

          Even in you use a subprocess/agent/whatever that reports back, it is injection vulnerable. Just a tiny bit more complicated