This is a little bit of a laundry list of questions about the PHP File Scanner, and it's low priority - nothing is wrong, I think. I'm just trying to understand things and be careful.
I've read the manual and installed and configured Admin Tools 4.0.1. I apologize if the questions are tedious and perhaps, in some cases, downright foolish.
1. When I ran my first scan the PHP File Scanner reported 5,141 total files, but only 5,140 new files. Per the documentation, I was expecting the same number of total and new files on the first scan. Is this any cause for concern?
2. This first scan spotted 27 potential threats, none with a threat score over 15. This is a largely fresh install of Joomla! (it has Akeeba Backup Pro, Akeeba Ticket System Core, and the OS Solutions subscription component "Membership Pro" installed). It's in a subdirectory where it's never been exposed to the public.
Is it highly probable that it's OK to mark these files as safe without checking individual files against a completely fresh Joomla! install, as described in the documentation?
3. It seems pretty clear, but just to be sure ... when reviewing individual suspicious files, it looks like the items causing nonzero threat scores are highlighted in yellow - is that correct?
4. It looks like many of the flagged files (including some Akeeba files) are flagged on account of the presence of 'REMOTE_ADDR'. What is REMOTE_ADDR, and is there a rule-of-thumb way to know when it's a problem and when it's not?
I have a similar question regarding "curl_exec" and "base64_decode."
5. After the first scan, I marked one file safe and ran another scan. After that second scan, there are only 26 suspicious files, as expected, but they all still say they are "modified". I didn't modify them since the first scan - do they retain the "modified" status through subsequent scans until marked as safe? Or is this a cause for concern?
6. The biggest threat score (15), and a couple of other nonzero threat scores, were associated with files in /libraries/omnipay/vendor/symfony - Is that a common false positive?
7. I saw in the documentation that the directories tmp, cache, administrator/cache, and log are not included in the scan, and the note that these "neither of those directories is supposed to be directly accessible over the web – and that's why Joomla! allows you to relocate them to off-site locations." Does that mean that the permissions of these directories and their files should be tighter than 755 / 644, or that they should be outside the site root?
8. I set up an email address for emails from PHP File Scan after a scan runs, but I'm not getting any such emails, either for manual scans or when run by chron job. "Diff" is disabled. Do you only get these emails when doing DIFF? (fyi ... a similar email feature in Akeeba Backup that emails when you run a backup is working fine).
9. What does "purge file cache" do in the context of the PHP File Scanner, and is that something I should just do periodically? I didn't see this in the documentation.
Thanks again for your help.