False Positive as Malware
-
I keep getting this plugin tagged as malware by Anti Malware plugin (GOTMLS)
I reported it to GOTMLS and this is his response:
——————————
Yes “include *.css” is considered a know threat because hackers commonly exploit plugins and themes that do this by concealing malicious PHP code in css files. This file is clean but it is considered very poor and insecure to use “include” with a css file because any PHP code will be executed. Instead the plugin developer could use file_get_contents to read the css file and then echo the contents that were returned, this will not execute any PHP code in the file. WordPress even has abuilt-in method called wp_enqueue_style, which is what they should be using to safely render their CSS from within their PHP code.You can whitelist this register-settings.php if you feel that this CSS file is safe, but I do not agree that it is proper or even appropriate to include any file that is not meant to contain executable PHP code.
It seems clear to me that the developer did not write this code maliciously but they do need to change the code just to be safe.
————————————Hope you can check on that.
Thanks.
- The topic ‘False Positive as Malware’ is closed to new replies.