• Resolved 7thcircle

    (@7thcircle)


    With the change to “mark as read” for files added to the root making the file “allowed” you introduce the ability for problematic files to be ignored in the future. For example, someone uploads a crypto miner to public_html and even though the file gets removed, the plugin only allows us to leave it in the list, exclude from scans, or allow.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author robertabela

    (@robert681)

    Thank you for your message @7thcircle

    In this case, the plugin will still alert you if an allowed file is recreated because allowed files are not excluded or ignored files. Let’s assume there was a hack, and you delete the file, this is what happens:

    1) Hacker uploads the file hacked.php to your website’s root.

    2) Our plugin raises two notifications:
    – it alerts you of a new file (via the scanning engine that compares file changes in between scans)
    – it alerts you that there is a non-WordPress core file in your site’s core (via the file comparison engine which compares your site’s WordPress core to that on the official repo)

    3) Once you delete the file and mark the notifications as read, the plugin adds that file to the list of allowed files in WordPress core automatically. Therefore during subsequent “comparisons of WordPress core file with WordPress repo”, if the plugin notices this file again it won’t alert you that there is a non-WordPress core file on your website.

    4) However, the normal scanning engine that compares the file changes in between scans will alert you that there is a new file.

    To recap, allowed files are not ignored. They just won’t be included in the process when the plugin compares your site’s WordPress core files to those in the official WordPress repository. However, they will always be scanned by the engine which compares files changes in between scans.

    I understand this is a bit complicated. Hence why I’d recommend you to read these two documents:

    How does the plugin detect file changes on my WordPress
    What are allowed files in WordPress core

    I hope the above answers your question. Should you have any further questions, please do not hesitate to ask.

    Thread Starter 7thcircle

    (@7thcircle)

    The concern is the design. Certain files that are added to the root (google, or pinterest verification) being marked as allowed makes perfect sense. There should be an option to mark as read before or after deleting the file that just clears the notice and does not include it in any extra sections (allowed or excluded).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Allowed files and mark as read’ is closed to new replies.