JavaScript Trojan Problem - using 9.4.3 PHP 8.3.30

Good afternoon. My attempts to do a bit of content creation have been rather frustrated over the last couple of days by Avast Anti Virus (Avast One). It persistently locks things up with a message stating that it has found a file with JS:Agent-ENC[Trj] and then highlights one of the .js files in the JS sub-directory in Updates.

As a work around I have gone into CPanel, deleted the ‘offending’ file and tried to proceed. This sometimes works but more often than not Avast will throw up the same message with a different .js file from that folder. Whilst in CPanel I have run the manual virus check and it has always come up clear with no issues found.

I have thought about deleting the JS folder, but that seems daft as it must be there for a reason although once an update has been installed it presumably would be redundant.

Whilst using my PC (Win 10 Home) things have been slightly worse. If I select Edit to work on a block, I can get as far as selecting the block but at that point when the Editor menu should pop up nothing useful happens. However the main menu at the top simply greys out. One can type, but there is no way of saving it. I have tried this in four different browsers and have done a number of re-boots of Win 10 with no improvement

I am totally puzzled and wonder if I should/could re-install the latest update. Unless you have a better idea.

Regards

Pete

Just a brief update. I have a second website also using V 9.4.3 and PHP 8.3.30 and have logged in and happily done some updates. That leads me to feel that the issue with the other site is not browser related as the same machines and browsers are used to service both sites.

I am wondering if it is possible to re-download the latest update and then re-install it in case I have accidentally screwed up something when using CPanel on the faulty site. Is that sensible and possible?

Hi, I thought I had better make a post as I have now managed to fix the problem. I have learned elsewhere that some anti virus products, and Avast One is on that list, regularly confuse Java script files for Trojan files and thus start blocking them. Happily, I have discovered that Avast One has an option to ‘exempt’ sites from its checks. Having exempted my two sites things have improved somewhat.

The loss of the editor that I reported is actually down to Avast blocking .JS files during an update so that the finished update ends up missing key files. That is why the editor would not work. With my sites ‘exempted’ both have had the latest update downloaded and installed and now everything appears to work as it should.

Hope this is of use to somebody.