Check for and parse /.well-known/security.txt (RFC 9116) to record disclosure policy, contacts and expiry — recon, not a vuln. Tier 1. Use during recon and before reporting to find the right disclosure channel.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Security Txt?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-security-txt)
---
name: security-txt
description: Check for and parse /.well-known/security.txt (RFC 9116) to record disclosure policy, contacts and expiry — recon, not a vuln. Tier 1. Use during recon and before reporting to find the right disclosure channel.
---
# security.txt (RFC 9116)
`security.txt` publishes how to report vulnerabilities. Its presence/absence and contents are useful recon and tell you the authorized disclosure channel.
## Trigger phrases
`security.txt, well-known security, disclosure policy, vulnerability contact, rfc 9116, responsible disclosure`
## Method
1. Fetch both canonical locations: `/.well-known/security.txt` (preferred) and legacy `/security.txt`. Try apex and each in-scope subdomain.
2. Parse fields: `Contact:` (email/URL/phone), `Expires:` (RFC 9116 required; flag if past), `Encryption:` (PGP key URL), `Policy:`, `Acknowledgments:`, `Preferred-Languages:`, `Canonical:`, `Hiring:`, `CSAF:`.
3. Validate: is it signed (`.sig` + PGP)? Is `Expires` in the future? Does `Canonical` match the URL served? Are contacts live/owned by the org (cross-check `email-disclosure`/`osint`)?
4. Note absence — no `security.txt` is a (minor) maturity gap worth recording, not a vulnerability.
## Modern / rare techniques
- **Stale/expired `Expires`** or dangling `Contact`/`Encryption` URL → could itself be a `broken-link-hijack` target (claim the expired contact domain).
- **Leaked internal URLs** in `Policy`/`Acknowledgments` links → `server-leaks`.
- **Canonical mismatch** can hint at vhost/host confusion.
## Escalation / chaining
Mostly informational: feeds `reporting` (correct channel) and `email-disclosure` (contacts). Dangling referenced resources → `broken-link-hijack`.
## Backend & tooling
Kali/HexStrike (curl/httpx). Trivial — a single fetch + parse per host.
## Verification (background, before reporting)
Re-fetch to confirm presence/contents and that referenced links resolve; verify PGP signature if present.
## Evidence
The file contents (or confirmed absence), parsed fields, any issues (expired/dangling/mismatch), and a note recommending a compliant `security.txt` where missing.