webzod
account

Fix the Contact value in security.txt

hygiene.security_txt.contact_invalid · effort: minutes

Why it matters

RFC 9116 allows a Contact only as a mailto:, tel: or https:// address, so a bare email address or an http link is not valid. Tools that read the file may skip such a line.

The fix

  1. Rewrite each Contact line as a URI. An email address becomes mailto:address, a phone number becomes tel:+countrycode..., and a web form must use https://.
  2. Check the file again at https://example.com/.well-known/security.txt.
text
Contact: mailto:[email protected]
Contact: tel:+1-201-555-0123
Contact: https://example.com/security-report

The examples use example.com. Replace it with your own domain.

Read the documentation (opens in a new tab)

Scan your domain to see whether this applies to you.