Security issue reporting

The security.txt file contains contact information and security-related links that can be used by security researchers to report security concerns about your site. If your security information changes over time, ensure that the information in the security.txt file is up to date.

To configure security.txt:

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel under Security, click Security.txt.

  3. In the General section, set Enable to Yes.

    General security configuration {width="600" modal="regular"}

  4. Under Contact Information, enter the following:

    • The email address and phone number of the person who manages security issues for your store.

    • The URL of your store‚Äôs Contact Page. This page could either be a list of store security contacts or your Contact Us page.

    Contact Information configuration {width="600" modal="regular"}

  5. Under Other Information, enter the following:

    • The URL of your public Encryption key. For example:

    • The URL of an Acknowledgments page where security researchers are recognized for their efforts on behalf of your store.

    • Your Preferred Languages for security-related communications. Enter the standard two-character language code for each supported language, separated by a comma. For example, to specify English, Spanish, and French, enter en, es, fr. All specified languages have the same priority, regardless of their order of appearance.

    • The URL of a Hiring page that lists security-related employment opportunities with your store.

    • The URL of your security Policy page.

    • The URL of a digital Signature file that is saved on your server. For example:

    The digital signature must be set up from the CLI (command-line interface) of the server. To learn more, see Security.txt on GitHub.

    Other Information {width="600" modal="regular"}

  6. When complete, click Save Config.