ideas
ideas copied to clipboard
wp sec checks : some no nonsense security checks combined together and reported in one go
I would love to have a wp-cli command to do security check automation.
multiple existing stuff could be added
- wp core checksum-verify and #6 with it to cover themes and plugins also.
- wp core/plugin/theme check-update to spot any new updated that are pending.
and additional wrappers could be added
- use wpvulndb to check for vulnerabilities in existing plugins/ theme / core
- Spot which plugin or theme is from wordpress.org and if its missing from listing. (listing 404 could mean discontinue / sec issue take down or more but effectively a red flag needs to be raised)
- Look inside uploads folder for files which could cause problems including .php .aspx etc
I have a partial implementation some of these via my own badly written python and bash wrappers around wp-cli. refer: https://github.com/anantshri/wpvulndb_commandline/blob/master/wpscancli.py and https://github.com/anantshri/server_admin_scripts/blob/master/wp_integrity_watch/daily_check.sh