How to scan wordpress theme files for potentially malicious or unwanted code using TAC

TAC (Theme Authenticity Checker)

TAC is a wordpress plugin.

You can download it from http://wordpress.org/extend/plugins/tac/

Currently it has been downloaded 79,284 times by wordpress users.

What TAC Does ?

TAC stands for Theme Authenticity Checker. Currently, TAC searches the source files of every installed theme for signs of malicious code. If such code is found, TAC displays the path to the theme file, the line number, and a small snippet of the suspect code. As of v1.3TAC also searches for and displays static links.

Then what do you do? Just because the code is there doesn’t mean it’s not supposed to be or even qualifies as a threat, but most theme authors don’t include code outside of the WordPress scope and have no reason to obfuscate the code they make freely available to the web. We recommend contacting the theme author with the code that the script finds, as well as where you downloaded the theme. The real value of this plugin is that you can quickly determine where code cleanup is needed in order to safely enjoy your theme.


One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *