This is not possible, because systems like "Claude Code" are inherently and fundamentally insecure. Only for models which are open source and with some serious auditing, does the possibility of security even appear.
Also, about those specific commands:
* `cat` can overwrite files. * `SELECT INTO` writes new data.