What is "f.txt.js" file downloading from Safari?
Safari on my MBP 13" (mid-2019, running updated Mojave & Safari 12.12) has suddenly (last 24 hrs) started spontaneously downloading 1 or 2 files named "f.txt.js" to my download folder. I have NOT opened any of these, but scanning them with ClamXAV reveals "no infection." I have deleted them and emptied the Trash each time. It has happened maybe a dozen times. It occurs on seemingly any website at random while I'm browsing. It has even happened from the Google search page while I was entering a search term.
Shortly prior to this starting, while browsing a very familiar Irish new site (Irish Central, which has a lot of ads that I never look at including some trashy celebrity gossip ones), when I clicked on a news article, I got a spontaneous download and my ClamXAV went nuts! I got a warning that I an "infection" had been identified and quarantined. Examining the ClamXAV report, it had quarantined "Trojan.OSX.Shlayer-3". Using ClamXAV, I deleted the quarantined trojan and emptied the trash. Several subsequent scans of my entire drive with ClamXAV (AND a free copy of Bit Defender) have failed to detect any viruses or malware. So I thought I was in the clear.
But now that these spontaneous downloads have started, I am wondering. I have completely emptied my Safari history and restarted several times. I tried unchecking JavaScript, but my browser could barely operate w/o it!!
Reading up what little I can find on Trojan.OSX.Shlayer, it appears to be a relatively innocuous trojan that installs a lot of adware. It came as a .dmg, which I never opened. But I'm wondering if I have some kind of aborted ad-ware device planted somewhere that is causing my browser to suddenly send these apparently harmless files (appear to be plain text) which just sit in my downloads folder.
Does anyone out there have any suggestions? Can I rely on ClamXAV and free BitDefender when they say I'm "infection free?" Could I have some kind of adware that they are missing and that is launching these downloads which appear to not be doing what any furtive advertiser would want them to do?
Comments or suggestions eagerly solicited!!
[Re-Titled by Moderator]