Skip to content

Comment on Show HN: ChatGPT Plugins are a security nightmare

Comments

Are they though? The way the prompt apis are evolving is to separate out the prompt from the data e.g via the system prompt

Separate how? It's all still getting fed into the same text processing pipe. The tools to do something that's fundamentally different from that literally don't exist yet.

It's not longer this way. The 'text processing pipe' takes in two inputs. One is the instruction, the other is the text to apply the instruction on. If the injection is the text it doesn't affect the instruction. The model you're describing is the previous version.

Did you try this though, because so far it doesn’t seem to give the ‘system’ prompt preference over the ‘user’ prompt; the user can override the system prompt with some trivial prompting.

Reminds me of the old days of concatenating strings (including unsafe user input) in php to generate queries.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.