
Codo Security.txt
v1.0.0Codo Digital Ltd · 2026年11月16日 上架
Publish a valid RFC 9116 security.txt so researchers know how to report a vulnerability. Checks every field, warns before it expires.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 100
- 最近更新
- 2026年11月16日
贡献者
A security.txt file is a small text file at /.well-known/security.txt that tells security researchers who to contact about a vulnerability on your site. It is standardised as RFC 9116. Without one, a report may never reach you.
Codo Security.txt serves the file from your WordPress settings. There is nothing to upload and no rewrite rules to flush.
What it does
- Serves
/.well-known/security.txt(and optionally the legacy/security.txt) astext/plain; charset=utf-8. - Checks every field strictly: Contact, Expires, Encryption, Acknowledgments, Preferred-Languages, Canonical, Policy, Hiring and CSAF. URLs must be https, and bad input is refused with a clear message instead of being saved.
- Keeps the file from going stale. It shows a notice on the Dashboard and Plugins screens, adds a Site Health test, emails the site admin 30 days and 7 days before it expires and when it has expired, and has a one-click “Extend by one year” button.
- Adds the Canonical line for you.
- Can publish a PGP clear-signed message exactly as you signed it.
- Warns when a physical
security.txtfile would override the plugin, when WordPress is in a subdirectory, and on subdirectory multisite subsites. - Checks that your web server really delivers the file, from the settings screen and Site Health.
- Works on Apache, NGINX and multisite, and does not interfere with other
/.well-known/handlers. - Loads no admin JavaScript, adds no tracking and has no Pro tier.
What it does not do
- It does not verify PGP signatures. It checks the structure of a signed message, its Contact line and its Expires date, but verifying a signature needs GnuPG.
- It cannot publish the file on a subdirectory multisite subsite. Those share a host with the main site, and only the main site can answer
/.well-known/security.txt.
Built and maintained by Codo Digital.
External services
The “Check delivery” button and the Site Health test make one request to your own site’s /.well-known/security.txt to confirm the web server delivers the file. The request goes to your own domain only. No data is sent to Codo Digital or any third party.