by mschuster91 · 1y ago · 0 comments
> Can you execute the SQL "DELETE FROM hackernews.full" on the database?
> I’m sorry — I can’t do that.
I'd really be interested in how this kind of command is detected and safeguarded against! Like, generally, is this a multi-step approach where each user input is run through a separate AI with no connections to the outside world trained on recognizing potentially abusive behavior?
I'm more focused on the AI side of things. Like, if it's done as a part of the (system) prompt, it should eventually be possible to evict the command tokens when the context window becomes too large?