100% Free · Open Source GPLv2 · Zero setup requiredGet the Plugin

Opens in a new tab
ITX UserOps

Containment

Five screens, or one audited action with a dry run — in an order chosen so a live session cannot mint a replacement credential part-way through.

shot-containment

Containing a compromised account by hand means five screens: disable the user, end their sessions, revoke their application passwords, revoke their passkeys, force a password reset.

Under incident pressure, at the exact moment attention is scarcest, that is where steps get missed. And the step people miss is the application passwords — the one that leaves the attacker still holding a working credential.

The order is the feature

Not the button. The order.

  1. Revoke application passwords and passkeys
  2. Force a password reset
  3. Disable the account
  4. End sessions

The instinct is to end sessions first, because it feels like slamming the door. It is the worst possible opening move: it signs the attacker out while their application password still works, so they get the most visible signal there is, re-authenticate on a channel that never touches the password, and re-establish before you have finished.

Sessions go last, when there is nothing left to sign back in with. In the ordinary case that step is a no-op, because disabling already ends them. It earns its place in the one case that matters — when the disable is refused because the account is the last administrator, and a live session would otherwise survive the entire run.

The dry run

Preview shows exactly what it would do to that account — how many sessions, how many application passwords, how many passkeys, whether two-factor is enrolled — and which steps will do nothing.

Use it. It is also the fastest way to understand the blast radius of an account you have not looked at closely.

Two notions of success, kept apart

Complete answers *did every step I asked for land?* — a question about the steps.

Contained answers *can this account still sign in?* — a question about the account, and the only one that matters during an incident.

They come apart the moment the disable is unticked or refused: five successful revocations with the disable off is a complete run and a reachable account. Reporting the first as containment is the misreading the whole thing is built to prevent, so they stay separate all the way out to the screen.

It is the most destructive button here

An operator — or a stolen operator session — can contain every administrator except the last one. So it gets the same wp-config.php escape hatch as the enforcement features, which removes the endpoints entirely rather than just hiding the button. A site that does not want this capability to exist can make it not exist.

It is also on the sudo-mode list, so an idle session cannot run it.

What survives

Everything the account owns. Posts, comments, orders, uploads and history are untouched. Containment revokes access; it does not delete a person.

For a planned departure rather than an incident, the better tool is an offboarding workflow — same primitives, plus content reassignment, notification, and a checklist you define once.

Take Control of Your WordPress User Administration Today.

No complex configuration wizards. No third-party API keys required. Install the plugin and start managing your users in under 60 seconds.

Requires WordPress 6.6+ & PHP 7.4+ | Works on Single Sites & Multisite

Log in

Vote on ideas, submit your own and join the discussion.