Skip to content
NINJA
← All plugins
WordPressSecurity
NINJA XML-RPC & REST Guard icon

NINJA XML-RPC & REST Guard

Lock down attack surface: disable XML-RPC, block REST user enumeration and require authentication for the REST API — without breaking the editor.

// features
  • Lock down attack surface: disable XML-RPC, block REST user enumeration and require authentication for the REST API — without breaking the editor.
// overview

What it does

NINJA XML-RPC & REST Guard closes the two endpoints attackers probe most. Disable XML-RPC (or just its pingback/multicall amplifiers), stop the REST API and author archives from leaking your usernames, and optionally require a logged-in user for REST requests — all while keeping the block editor and legitimate integrations working.

Self-contained and free — built in the ninja.si plugin workshop. Need a tailored variant? Open a brief via /request.

// adapt or extend
Need NINJA XML-RPC & REST Guard customized?

Open a ticket and we'll scope the change. We add features, swap providers, or branch the plugin entirely if you need something close-but-not-quite.