I’ve been using the commercial Wordpress theme “Read” v 4.4.1 by Pixelwars (http://themeforest.net/item/read-wp-responsive-html5-minimalist-theme/4004353) for my personal website. It’s been working fine for several months, but a few days ago I suddenly got a malware alert from Avast for Mac (see above). The same alert appeared when I scanned the hard drive; high-lighting modernizr.js in the theme zip-file.
I contacted the theme support. They advised me to turn off all plugins and update to the newest version (4.4.2) of the theme. I did that – but the alert kept coming. The same file (modernizr.js) is highlighted by Avast (also in the downloaded zip-file). However, for some reason the alert does not occur when I enter their demo site: http://themes.pixelwars.org/?theme=read-wp
Now I have temporarily switched theme to one of the default ones in Wordpress. When I enter the site now there are no alerts from Avast.
Any idea of what is going on? The authors of the “Read” theme told me to ask you guys.
Ok, since this seems to be a problem in the theme (right?), I will convey this to the theme author Pixelwars. One more thing: is this directly related to the Avast alert about “modernizr.js”?
As said earlier update Apache, Ubuntu and PHP with all updates, you may want to stick with PHP5.6.19 hence 7.0.4 has a few bugs that need to be fixed.
Maybe you want to move to NGINX (Free) or LiteSpeed (Payware).
It turns out it was a false positive! Thanks to all of you who answered me (I got a free security course, ha).
Below the message from Avast support.
–
Hello again,
It was a false positive. It should be fixed in the new virus definitions update.
To update virus definition: open Avast and go to > Settings (gear icon) > Update > Virus Definitions - click “Update”
note: if it is still detected, please allow few hours (up to 24 hrs) and check again