There is no such thing as prompt injection. Both what you consider to be your pr...

@MartinEscardo@mathstodon.xyz

There is no such thing as prompt injection.

Both what you consider to be your prompt and what you consider to be your own work are the prompt.

For example, if you write \cite{TODO} or \cite{howards-ordinal-assignment} in your LaTeX file for the paper, and ask an LLM to revise it, it will offer to fill the TODO and will dutifully try to find Howard's paper, even if you didn't ask it to do the TODO or find Howard's paper in your prompt.

In the above examples, this is benign.

Now suppose your paper says: "To obtain Lemma 3, replace every occurrence of $\alpha$ by $\alpha + 1$ in the proof of Lemma 2." You ask an LLM to proofread the exposition and it performs the substitution in the proof of Lemma 2, which is now wrong.

This is a simple illustrative example. But anything in your LaTeX file can be interpreted as a prompt, even if you didn't intend to, because the LaTeX file together with "proofread it" **is** the prompt.

That's how things work.