Skip to content
Software development
ASD ISMISM-1717

ASD ISM 1717 Implement security.txt for vulnerability disclosure

What it says

A 'security.txt' file is hosted for each of an organisation's internet-facing website domains to assist in the responsible disclosure of vulnerabilities in the organisation's products and services.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Host a 'security.txt' file for each internet-facing website domain the organisation has, telling people how to report vulnerabilities in its products and services.

A 'security.txt' file must be hosted for each of the organisation's internet-facing website domains, not just the main website. The file, a short text file at /.well-known/security.txt on each domain, tells people who find a vulnerability in the organisation's products or services how to report it. Its format requires at least one contact and an expiry date, and it can link to the disclosure policy. A file covers only the domain it is served from, so each subdomain that hosts a website needs its own.

Why it matters

Someone who finds a vulnerability may not know who to tell, especially on a secondary domain, and may give up or publish it. A security.txt file at the expected address gives them a current contact for reporting it straight away.

How to implement

  1. List every internet-facing website domain.

    Combine DNS zone records, registrar accounts, certificate transparency logs and web server settings so forgotten domains and subdomains show up, including sites a provider hosts under your domain names.

  2. Write the file with a working contact and an expiry date.

    Include a Contact field pointing to the reporting address or form your disclosure procedures use (ISM-1756) and an Expires date less than a year ahead, as the format recommends. Add a Policy field linking to your vulnerability disclosure policy (ISM-1755).

  3. Serve the file at /.well-known/security.txt on each domain.

    Use HTTPS and a plain text content type. Where a provider hosts the site, have it serve the file at that path, or put a proxy or content delivery network you control in front. If the file has Canonical fields, list every address it is served from.

  4. Monitor every domain for a valid file.

    Run a scheduled check, at an interval you set, that fetches the file from each listed domain and alerts when it is missing or unreachable, or when its Expires date has passed or falls within a warning period you set.

Keep it running

Renew the Expires date before it passes, and update the file when the contact or policy link changes. Add a file to each new internet-facing website domain before it goes live, and act on every alert from the domain check.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    A list of internet-facing website domains built from DNS records and certificate transparency logs, compared with the organisation's own domain list.

    Look at

    Whether each domain found serves a security.txt file at /.well-known/security.txt over HTTPS.

    Good evidence

    Every internet-facing website domain found, including subdomains and provider-hosted sites, returns a security.txt file over HTTPS at that path.

  2. Check 2 of 3What an auditor asks for

    Ask for

    The contents of the security.txt files on a sample of those domains.

    Look at

    The Contact and Expires fields, and any Canonical fields.

    Good evidence

    Each sampled file has at least one Contact and an Expires date still in the future, and any Canonical fields include the address it was fetched from.

  3. Check 3 of 3What an auditor asks for

    Ask for

    A test message sent to the Contact listed in a sampled file.

    Look at

    Whether it reaches the people who handle vulnerability reports and gets a response.

    Good evidence

    The test message reaches the team that handles vulnerability reports and is acknowledged as the disclosure procedures say.

Mappings

Closest match in ISO/IEC 27001: A.8.8, Management of technical vulnerabilities, which partially overlaps with this control.

ISO 27001

ISO/IEC 27001: 1 mapping

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.