Solutions · WordPress
WordPress: a new administrator (alguien)
With example names (mi-app, /ruta/al/proyecto). In GoTool, in 🛡 Security, this page shows your project's: your container, your compose file, your WordPress folder.
What's happening
«alguien» is an administrator and wasn't in the previous check.
Why it matters
Whoever gets in with a stolen password or through a flaw usually creates their own administrator to come back.
What to do
- If nobody on the team created it, take away its role:
wp user set-role alguien subscriber --path=/ruta/al/wordpress - Check which administrators remain, change their passwords and end their sessions (one by one):
wp user list --role=administrator --path=/ruta/al/wordpress wp user session destroy <usuario> --all --path=/ruta/al/wordpress - Find out how they got in: plugins with known flaws, the administrators' passwords, and the rest of this project's critical issues in 🛡.
- If WordPress runs in a container, run the wp commands inside it: docker compose exec <service> wp …
How to know it's fixed
- It must not show up:
wp user list --role=administrator --path=/ruta/al/wordpress - gotool checks the WordPress again on its next pass: once it's gone, it stops showing up.
If you can't do it that way
- If it's yours and it's like that on purpose, mark it as closed with its reason in the project's 🛡: it stops warning (and warns again if it changes).
More
In GoTool, the file with the issue (the Dockerfile, the compose file) is also shown with the solution next to it, and the question for Claude comes ready, with your project's details and without your keys, to paste into your claude.ai.