跳到内容

DROVNE Rocca

v0.3.0

DROVNE · 2026年11月18日 上架

Light security suite: login limits, two-factor, firewall, antispam, activity log, file checks and hardening. Nothing contacts an outside server.

正在使用
10 以下
评分
暂无
累计下载
171
最近更新
2026年11月24日
需要 WordPress 7.0+已测试到 7.1.5PHP 8.1+

贡献者

截图

The overview: what each module does now, and the figures of the last 24 hours.
The overview: what each module does now, and the figures of the last 24 hours.
Login protection: the attempt limit, the allowlist and the addresses locked out now.
Login protection: the attempt limit, the allowlist and the addresses locked out now.
Two-factor setup: scan the QR code, drawn by the plugin itself, or type the key.
Two-factor setup: scan the QR code, drawn by the plugin itself, or type the key.
The firewall: rules, log-only mode and the latest matches with their reference.
The firewall: rules, log-only mode and the latest matches with their reference.
The activity log, filtered by kind of action, with the values before and after.
The activity log, filtered by kind of action, with the values before and after.
File checks: code in uploads and changed files, to accept or look at.
File checks: code in uploads and changed files, to accept or look at.
Antispam: the submissions judged spam, the protected form addresses and the settings.
Antispam: the submissions judged spam, the protected form addresses and the settings.

DROVNE Rocca protects a WordPress site with a few focused tools. Each one has its own switch, and the plugin never contacts an outside server.

Login protection

  • Locks out an IP address after too many failed logins on the login form, XML-RPC and application passwords. Repeated lockouts within a day last hours instead of minutes.
  • An allowlist of IPv4 and IPv6 addresses and ranges, with a button to add your own address, and the addresses locked out now, with an Unlock button.
  • The same error for a wrong username and a wrong password.
  • An optional logout after a time without activity. An open dashboard tab does not keep the login alive.

Two-factor authentication

  • A TOTP code (RFC 6238) from an authenticator app such as Google Authenticator, Microsoft Authenticator, Aegis or 2FAS.
  • Each user sets it up under Users > Two-factor with a QR code drawn by the plugin itself, so the key never reaches an outside service.
  • Ten single-use backup codes, stored as hashes; the app key is stored encrypted.
  • Required for chosen roles: those users set up their app at their next login.
  • The password alone never starts a session, and wrong codes count toward the lockout. XML-RPC programs use an application password.
  • Trusted browsers skip the code for the days you choose (30 by default, 0 to always ask); each user can forget them all.
  • Administrators can turn it off for a user who lost phone and backup codes.

Firewall

  • Checks every request before other plugins load, from a small must-use plugin that Rocca writes and removes with the switch.
  • Rules, each with its own switch: SQL injection, script injection, path traversal and file inclusion; probes for .env, .git, backups and database dumps; known vulnerability scanners; methods WordPress does not use.
  • Only the address, method, address bar and user agent are checked, never form data.
  • Block mode, or log-only mode to try the rules first. Blocked addresses and ranges, and an optional limit of requests per minute.
  • Repeat offenders, and visitors who ask for many missing pages as scanners do, are blocked for a while, with an Unblock button. Each log line has a Block button.
  • A log of the latest matches; a blocked visitor sees a reference you can find there.
  • An emergency switch in wp-config.php. The rules ship with the plugin: no outside rule feed.

Antispam

  • Checks every form of the site, whatever plugin draws it, before form plugins read it: comments, registration and any contact form. No CAPTCHA and no outside service.
  • A small script adds a hidden field and a signed token to each form: programs give themselves away, people notice nothing. Works with page caches.
  • The WordPress forms are protected at once; other form addresses once real visitors used them, so payment notices, webhooks and the checkout keep working.
  • A link limit, the disallowed words of Settings > Discussion, and a filter that learns from your marks.
  • Log-only mode to start. Spam comments wait in Comments > Spam; other stopped messages stay readable in a log. Without JavaScript a protected form cannot be sent.

Activity log

  • Logins, logouts, lockouts, password resets, two-factor and application password changes.
  • Users created, deleted, given another role, or with a new email address or password. Passwords are never stored.
  • Plugins, themes and WordPress installed, updated, activated, deactivated, switched or deleted.
  • Important settings, such as the site address and the admin email, with the value before and after.
  • Filters, pages and CSV download. Written with one query per request, deleted after 90 days by default.

File checks

  • Every day, a background check fingerprints the PHP, JavaScript, .htaccess and .user.ini files of WordPress, plugins, themes, must-use plugins and uploads.
  • The first check becomes the baseline. Later checks list changed, new and missing files to accept; PHP in uploads is always listed.
  • Updates made from the dashboard refresh the baseline, so a normal update raises no alarm.
  • An email to the site administrator when a check finds something new. Rocca never changes or deletes a file.

Hardening

  • Turns off the file editors, limits or turns off XML-RPC, hides usernames from visitors and removes the WordPress version.
  • Sends X-Content-Type-Options, X-Frame-Options and Referrer-Policy on public pages, unless already set.
  • Stops PHP files in the uploads folder from running: a marked .htaccess rule on Apache and LiteSpeed, and the rule to copy for nginx.

Reports and tools

  • A weekly summary email to the site administrator, on by default.
  • Checks in Tools > Site Health: firewall, two-factor for administrators, files, PHP in uploads, visitor address.
  • WP-CLI: wp rocca status, unlock, firewall, spam, scan, 2fa reset and report.

Behind a proxy

Rocca reads the address of the direct connection. Behind Cloudflare or another proxy, choose its header on the Settings page, which shows each header’s value for your own request.

Privacy

Rocca stores what it needs in your own database, and each kind of record is deleted after a period you choose:

  • A failed login: the IP address, the name typed and the time. 30 days by default.
  • A request stopped or logged by the firewall: the IP address, method, address requested, user agent and time. 30 days by default.
  • A form judged spam: what was typed, the IP address, browser and time. 30 days by default.
  • The activity log: the username, IP address and time of each action. 90 days by default. An erasure request removes the person’s username and address from their entries and keeps the events.
  • Two-factor: an encrypted app key, hashes of the backup codes and of trusted browser tokens, stored with the user’s account until two-factor is turned off.

Rocca adds a suggested paragraph to the privacy policy guide and supports the WordPress personal data export and erase tools.

DROVNE Rocca is an independent plugin. It is not affiliated with or endorsed by WordPress or Automattic.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums