Fix · Express / Node
Fix “Responsible disclosure (security.txt)” on Express / Node
Publish /.well-known/security.txt with a Contact: line and an Expires: date (RFC 9116).
No server-level snippet for this control on Express / Node; apply the guidance below.
Verify the fix
Re-run the Responsible disclosure (security.txt) check after deploying. Test config changes in staging first and keep a rollback: a wrong header can break a site faster than a missing one.
Other stacks: nginx · Apache · Caddy · Cloudflare