Once the malicious content has been identified, it needs to be removed. According to the requirements, simply deleting the upload in MW sense is not enough, since users with elevated rights will be able to view/restore the deleted content.
In addition to deleting the MW file, we need to remove the actual media from the media store. Example of a maintenance script that is doing that is eraseArchivedFile.php.
However, on the other hand, letting automatic software irreversibly delete the content seems dangerous. Should we at least have a special page where admins can track what is being removed? What level of visibility into the deleted content is acceptable? Would we initially want to only flag potentially malicious content for human review and manual removal? Can we expose some of the file metadata to the administrators for review of the tool operation?
In case we don't want a special page, what metadata about child protection media removal could be logged?