security.txt present
Why it matters
Without a security.txt file, security researchers who discover a vulnerability in your system have no official channel to report it responsibly — so they either publish publicly or simply move on. NIST 800-53 rev5 SI-5 (Security Alerts, Advisories, and Directives) and IR-6 (Incident Reporting) require systems to have mechanisms for receiving security information; FedRAMP rev5 IR-6 extends this to cloud providers. RFC 9116 formalizes security.txt as the standard machine-readable disclosure policy. Government procurement increasingly requires a published vulnerability disclosure policy as a condition of contract. A missing file does not stop researchers from finding issues — it stops them from telling you.
Severity rationale
Info because an absent security.txt does not directly increase attack surface, but it removes the primary responsible-disclosure channel and signals to evaluators that a vulnerability disclosure policy may be absent entirely.
Remediation
Create public/.well-known/security.txt with at minimum a Contact field and a future Expires date. Generate a signed file using https://securitytxt.org for the canonical format.
# public/.well-known/security.txt
Contact: mailto:security@yourcompany.com
Expires: 2027-01-01T00:00:00.000Z
Preferred-Languages: en
Policy: https://yourcompany.com/security-policy
Acknowledgments: https://yourcompany.com/thanks
Verify it is publicly accessible at https://yourdomain.com/.well-known/security.txt after deployment. In Next.js App Router, the public/ directory serves static files at the root — no additional route configuration is needed. Rotate the Expires date annually and update it before it lapses, as an expired security.txt is treated as absent by automated scanners.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the FISMA/FedRAMP Readiness Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- nist:rev5 · SI-5 — Security Alerts, Advisories, and Directives
- nist:rev5 · IR-6 — Incident Reporting
- fedramp:rev5 · IR-6 — FedRAMP IR-6 — public vulnerability disclosure channel
- soc2:2017 · CC2 — Communication and Information
- soc2:2017 · CC7.4 — Incident response
Taxons
History
- 2026-04-18·v1.0.0·Initial import from gov-fisma-fedramp·automated
- 2026-07-06·v1.0.1·Add SOC 2 TSC mapping (CC2, CC7.4) from the verified compliance crosswalk register (docs/compliance/).·by soc2-mapping-enrichment-ship-2