Greetings, fellow monks.
For a recent project I've been working on, we've been using modules to toy around with all of the arguments passed to our scripts. This is all well and good, but it also means we need to implement security in all of those modules. The idea came to me: why not have a certain base function that sanitizes all of the arguments passed to the module, and then passes the newly sanitized arguments on to the function that was supposed to be called?
However, I don't know if this is possible. I figured that a monk here might know more than I do about this or if it's feasible, so I am humbly requesting your thoughts and/or tips on this.