You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mind that it is highly unlikely that it only has to do with Avast. I'm guessing that many more antiviruses see that code as a threat. It's just that I only tried on Avast.
Hi, no. But please try to use latest beta: 0.10.0-beta.8.
I removed all evals from obfuscated code, so maybe it won't detect your script as the virus threat.
Hello,
Thank you for reporting this false positive.
Our virus specialists have now cleared its reputation in our database.
With URLs this change should be instant, but it might take up to 24 hours with files.
For future reference you might also find the following article to be useful: Avast Clean Guidelines.
Looks like new version is redundant. So, we should wait until tomorrow.
Hi, for some reason the detection occurs when either mangled or hexadecimal options selected and a prefix is used , if you will use only hexadecimal no detection will occur.
This is still a problem in ES3 where var is being used.
If replaced by const/let it is not flagged as a false positive but then it doesn't work in ie. windows JScript engine that requires ES3.
Activity
sanex3339 commentedon May 8, 2017
It's bad. In a few days i'll try to contact with Avast and describe this problem.
Can you attach working sample with obfuscated code that trigger Avast antivirus?
I'll attach this code to this page
https://www.avast.ru/false-positive-file-form.php
ibmua commentedon May 8, 2017
http://fsymbols.com/tell/main.fda15551.js
ibmua commentedon May 8, 2017
Mind that it is highly unlikely that it only has to do with Avast. I'm guessing that many more antiviruses see that code as a threat. It's just that I only tried on Avast.
sanex3339 commentedon May 11, 2017
How i can reproduce this on Mac? It's Avast extension for browser?
Can you try to run Uglify.js over obfuscated code and check with Avast again? Still detecting as virus threat?
sanex3339 commentedon May 11, 2017
Got it on your file with https://www.virustotal.com/ru/
Currently only one or two antiviruses detecting this code as threat.
sanex3339 commentedon May 11, 2017
Please try to run Uglify.js over obfuscated code or try latest beta with
mangle: trueoptionibmua commentedon May 15, 2017
Of course, the result isn't any different than it would be if you ran Uglify over that script. Ran it uglified on VirusTotal and got a
NANO-Antivirus Trojan.Script.Agent.enqonsdetection https://www.virustotal.com/ru/file/f31dfbb30d1536fff0b6f6701c705ea4b2111bfc7e79cb6bd587b93681f7f8bf/analysis/1494891276/
NeXTs commentedon Jun 12, 2017
same here 😞
sanex3339 commentedon Jun 12, 2017
I should do research. if anyone have information - why some antiviruses mark obfuscated code as threat - i will very happy.
NeXTs commentedon Jul 17, 2017
@sanex3339
Hey Timofey, have you contacted Avast?
Actually this issue is critical blocker for production use :/
sanex3339 commentedon Jul 17, 2017
Hi, no. But please try to use latest beta: 0.10.0-beta.8.
I removed all
evals from obfuscated code, so maybe it won't detect your script as the virus threat.26 remaining items
sanex3339 commentedon Mar 5, 2018
Interesting. Avast and AVG is triggering on this lines:
https://github.com/javascript-obfuscator/javascript-obfuscator/blob/master/src/templates/string-array-nodes/string-array-rotate-function-node/StringArrayRotateFunctionTemplate.ts#L8-L10
When i removed this lines, all checks are passed.
So, i'll think how to fix this.
sanex3339 commentedon Mar 5, 2018
When i changed this lines on this
All checks are passed, so today or tomorrow i'll release 0.14.4 with this fix.
sanex3339 commentedon Mar 5, 2018
@Tech1e
Looks like new version is redundant. So, we should wait until tomorrow.
sanex3339 commentedon Mar 6, 2018
@Tech1e Please, check again. Looks like
avastfixed false-positive alert.sanex3339 commentedon Jun 6, 2018
Looks like no more problems with it. Reopen issue if you will have problems with avast.
sanex3339 commentedon Jul 18, 2018
Anyone runs into this issue this week?
davidroze commentedon Jul 19, 2018
@sanex3339 Yes for some reason Avast and Bitdefender detects the obfuscated code as malicious again.
sanex3339 commentedon Jul 19, 2018
Can you test with 0.16.0 version please?
dani3lL commentedon Jul 27, 2018
Hi, for some reason the detection occurs when either mangled or hexadecimal options selected and a prefix is used , if you will use only hexadecimal no detection will occur.
voxsoftware commentedon May 9, 2019
Is this false positive alert ocurred if output file looks like this?:
eval(atob("xxxx"))cliqer commentedon Sep 5, 2021
This is still a problem in ES3 where var is being used.
If replaced by const/let it is not flagged as a false positive but then it doesn't work in ie. windows JScript engine that requires ES3.
ItzmeJan commentedon Apr 9, 2023
@cliqer is right , i've made a program based on mshta and i'm fasing the same problem