taint-checking

perl IO eventhandler for untainting strings

How do I create an event handler in my Perl code to intercept all File/Directory/system-based calls, so that I can untaint input in a just-in-time fashion. I have lots of IO access in my script, and I find adding manual code for untainting cumbersome. Can this be done without need to install a third-party CPAN module? ...

How can my previously untainted data become tainted again?

Hi Everyone, I have a bit of a mystery here that I am not quite understanding the root cause of. I am getting an 'Insecure dependency in unlink while running with -T switch' when trying to invoke unlink from a script. That is not the mystery, as I realize that this means Perl is saying I am trying to use tainted data. The mystery is tha...