commandline wordfence (wf-cli)
There is a commandline version of the wordfence plugin. You can use this to automate or script scanning your websites for malware. The output is just files which seem to be malware. You can then pass that list to the RM (remove) command. This is what I did.
mkdir /scripts
cd /scripts
apt install python3.10
git clone https://github.com/wordfence/wordfence-cli
sudo python /scripts/wordfence-cli/main.py scan /var/www/html/
I then took that list of files and gave them to the "rm" command.
When it runs for the first time it will ask you to provide a "key" to it. You get that from wordfence's website. https://www.wordfence.com/help/api-key/