> run the unknown ones through an LLM

Run my command through an LLM and tell me "don't do this" once, I'm out to a different distro :-).

Also, if people copy-paste stuff they don't understand in a terminal (and running a script like this is pretty much "running stuff one does not understand"), I don't think there is anything you can do for them.