It is wild, WILD, I tell you, to think that "taint checking" [sic], a skill I learned in 1999 for LAMP stack CGI tooling, is coming back into fashion.
here's the gist:
Sanitize your inputs, or don't eval user generated content, ever.
It's like Robert Tables grew up and had kids
Bobby Ignore All Previous Instructions Junior
And his sister Sarah Repeat Previous Prompt