Is php date formatter dependency safe?

Hi,

Every scan with Anti-malware plugin of my HivePress site I get warning of these component:
… /var/www/partition1/10028/htdocs/wp-content/plugins/hivepress/node_modules/php-date-formatter/examples/index.html

that is marked as potential threat. Is this a false positive? can you fix this?

Thank you,
Fabio

Hi,

Yes, it’s a false positive because it’s just a script for converting dates: GitHub - kartik-v/php-date-formatter: A Javascript datetime formatting and manipulation library using PHP date-time formats..
For our part, we recommend using best practices to ensure that the permissions files are correct, because if they try to hack into the admin panel, they can edit any file. It is also possible that if you have edited this file, your antivirus may affect it in this way.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.