If someone finds a security flaw on your website, can they tell you about it? Often they cannot. The standard that defines security.txt describes the problem: many security researchers cannot report vulnerabilities because there are no reporting channels to reach the owner of a site and no information about how that owner handles disclosure. As the standard puts it, when proper reporting channels are lacking, vulnerabilities may be left unreported.
Why a security researcher may not be able to reach you
You may think a security@ mailbox is enough. The same standard notes that the security@ convention gives only one email-based channel per domain and gives you no way to publish how you handle disclosure. A researcher who writes to that address still does not know what you allow, what you need from them, or whether you will answer.
OWASP's guidance for researchers confirms that finding the right contact can be hard, because many organizations have no published disclosure policy. Without one, a researcher falls back on generic addresses such as security@ or abuse@, your general Contact Us page, or social media. Those routes may land with a receptionist, a sales inbox or a public post rather than with the person who maintains your site.
This article explains what a business website can publish to fix that: a small machine-readable file called security.txt, and a plain-language vulnerability disclosure policy that the file can point to. It covers what each is for, what goes in them, what the sources say about scope and reporting, and why answering reports matters.
Sources: www.rfc-editor.org [1] · cheatsheetseries.owasp.org [2]
What security.txt is, and what it is not
security.txt is defined in RFC 9116. The RFC describes it as a machine-parsable format that helps organizations describe their vulnerability disclosure practices so researchers find it easier to report vulnerabilities. In practice it is a plain text file at a known address on your site that tells a researcher where to send a report.
It helps to know the document's status. RFC 9116 states that it is not an Internet Standards Track specification and is published for informational purposes. It is a published IETF convention, not a law or a certification.
The RFC also limits its purpose. It separates vulnerability response, meaning reports of flaws, from incident response, meaning reports of intrusions and compromised websites, and says the mechanism is intended for vulnerability response. So treat security.txt as the front door for flaw reports, not as your breach-response plan.
It does not replace anything else either. The RFC says the file is meant to complement, not substitute for, other public resources you keep about your disclosure practices. That is why a policy page, covered below, is still worth writing.
The format is simple. Each field has a name and a value, such as a Contact line holding a mailto address, and each field must sit on its own line. A file can hold an unlimited number of fields. Any line starting with # is a comment, so you can annotate the file for whoever maintains it later.
Sources: www.rfc-editor.org [1] · cheatsheetseries.owasp.org [2]
What to put in your security.txt file
OWASP's guidance names where researchers look: a security.txt file at /.well-known/security.txt, as described in RFC 9116. It advises including, at minimum, the required Contact and Expires fields. Contact tells the researcher where to send the report. Expires tells them when the file should no longer be trusted, which pushes you to revisit it rather than leave a stale address online.
OWASP lists optional fields that help route reports: Preferred-Languages, Canonical, Policy and Hiring. For a small business, Policy is the most useful of these, because it lets you link the short file to your fuller disclosure policy page.
The Canonical field states the canonical address of the file, which the RFC says is usually something like https://example.com/.well-known/security.txt.
Acknowledgments links to a page that recognizes researchers for their reports. If you publish one, the RFC cautions that organizations should limit the vulnerability information they publish there, to prevent future attacks. A name and a short label is enough; a step-by-step description of the flaw is not needed.
Finally, the RFC recommends that when you digitally sign the file, you also use the Canonical field so the signature can authenticate where the file lives. If you do not manage signing keys today, this is a later improvement rather than a reason to delay publishing a contact.
Sources: cheatsheetseries.owasp.org [2] · www.rfc-editor.org [1]
The policy page your file should point to
security.txt tells a researcher where to write. A vulnerability disclosure policy tells them what you allow and what happens next. CISA publishes a policy template written for US federal agencies under Binding Operational Directive 20-01. A small business is not bound by that directive, but the template's structure is a clear model of what a policy covers.
The template's introduction sums up the content: what systems and types of research the policy covers, how to send reports, and how long researchers are asked to wait before disclosing publicly. Those answers are what a researcher needs before testing or writing to you.
The template's authorization section is the part that builds trust. Its model wording says that if a researcher makes a good faith effort to follow the policy, the research is considered authorized, the organization will work with them to resolve the issue quickly, and it will not recommend or pursue legal action related to the research. CISA explains that the language is designed to be welcoming and to avoid legalese or intimidating wording.
The template also sets ground rules for researchers. It asks them to notify the organization as soon as possible; to make every effort to avoid privacy violations, degraded user experience, disruption to production systems and destruction or manipulation of data; and to use exploits only as far as needed to confirm a flaw. It forbids using an exploit to compromise or exfiltrate data, keep persistent command line access or pivot to other systems. It asks for reasonable time to fix before public disclosure, and asks researchers not to send a high volume of low-quality reports.
It adds a stop rule: once a researcher establishes that a vulnerability exists or meets sensitive data, they must stop, notify the organization immediately and not disclose that data. It also lists test methods that are not authorized: denial of service tests or other tests that impair access to or damage a system or data, physical testing, social engineering such as phishing, and other non-technical testing. For a business site, these rules protect your customers' data and keep your live site running while a researcher looks at it.
Sources: www.cisa.gov [3]
Scope: only invite testing of what you can authorize
Your website likely depends on a host, a shop platform, a form service or other software run by vendors. CISA's template warns that before adding a system to scope you must make sure you are allowed to authorize testing on it. If you use a managed service provider or software as a service, it says to confirm whether the vendor has explicitly authorized such testing, for example in your contract or the vendor's public policy.
If the vendor has not, the template says to work with the vendor to get authorization, and if that is not possible, you may not include those systems in your scope. In plain terms: do not invite researchers to test a platform you rent but do not control, unless its owner agrees.
You can describe scope in two ways. The template allows an allowlist that names the systems in scope, or a denylist that names what is out of scope. An allowlist is usually easier for a small site, because you can name your own domain and leave everything else out.
The template's example scope also shows how to handle vendors' systems: vulnerabilities found in systems from vendors fall outside the policy and should be reported directly to the vendor under its own disclosure policy. Saying the same on your page saves a researcher time and keeps them away from systems you cannot authorize.
Sources: www.cisa.gov [3]
The reporting channel and what to ask for
CISA's template says the reporting section must explain where reports go, such as a web form or email address, and ask for the information needed to analyze the flaw: a description, its location and potential impact, the technical details needed to reproduce it, and any proof of concept code. Asking for this up front saves several rounds of email.
The same section sets a limit on what you demand: the template says you must allow reporters to submit anonymously and must not require personally identifiable information, although you may ask them to share contact details voluntarily. So make name and email fields optional on any report form, and say so in your policy.
The template's example also models setting expectations: if the reporter shares contact information, the organization acknowledges receipt within 3 business days. You can choose your own timing, but stating one tells a researcher you are listening.
If you offer a web form, CISA says to make sure it has a strong HTTPS configuration. A researcher sending a sensitive report may check your HTTPS setup first and could be put off by weak or compromised protocols or ciphers.
OWASP notes that a report should ideally travel over an encrypted channel such as PGP, though many organizations do not support this. That is one more reason a well-configured HTTPS form is a practical option for a small business.
Write with your own team in mind too. OWASP observes that in smaller organizations, security reports may be handled by developers or IT staff without a security background. Name who reads the inbox, and make sure that person knows the policy exists and what it promises.
Sources: www.cisa.gov [3] · cheatsheetseries.owasp.org [2]
Why answering reports matters: how disclosure plays out
What happens after a report arrives matters as much as the contact. OWASP describes the risk of silence. In private disclosure, a flaw is reported privately; the main problem is that if the organization is unresponsive or decides not to fix it, the details may never be made public. OWASP notes that this history has pushed frustrated researchers towards full disclosure, where details are made public as soon as they are identified.
The middle ground is coordinated disclosure. OWASP explains that researchers often give a deadline to respond or fix, and if it is missed, the researcher may publish the full details. As a reference point, OWASP says Google's Project Zero generally gives vendors 90 days to make a patch available, then publishes technical details 30 days after the patch. Your policy's stated waiting period should reflect a timeline you can actually meet.
OWASP's list of what organizations should do makes a good checklist for the policy you publish: provide a clear method for researchers to securely report vulnerabilities; clearly establish the scope and terms of any bug bounty programs; respond to reports in a reasonable timeline; communicate openly with researchers; not threaten legal action against researchers; request CVEs where appropriate; publish clear security advisories and changelogs; and offer rewards and credit. A small business without a bounty budget can still offer credit, for example on an acknowledgments page.
Sources: cheatsheetseries.owasp.org [2] · www.rfc-editor.org [1]
Limits of this guidance
This article explains what a security.txt file and a disclosure policy are for and what the cited sources recommend they contain. It does not give the full file grammar, field date formats, or hosting-specific instructions for placing the file on your server; check the full RFC and your host's documentation for those details before publishing.
The policy template discussed here was written for US federal agencies, so its legal wording is a model, not legal advice for your business or country. If you plan to promise researchers that you will not take legal action, have that wording reviewed by someone qualified in your jurisdiction.
Finally, publishing a contact and a policy does not by itself fix a flaw. Its value depends on someone reading the inbox, answering within the time you promise, and fixing what is reported.
Sources: www.cisa.gov [3]
Questions and answers
How can a security researcher report a flaw on my business website, and what should I publish so they can reach me?
many security researchers cannot report vulnerabilities because there are no reporting channels to reach the owner of a site and no information about how that owner handles disclosure
What is security.txt?
a plain text file at a known address on your site that tells a researcher where to send a report
Which fields should a security.txt file include?
It advises including, at minimum, the required Contact and Expires fields.
Where should security.txt be placed?
a security.txt file at /.well-known/security.txt
What should a vulnerability disclosure policy cover?
what systems and types of research the policy covers, how to send reports, and how long researchers are asked to wait before disclosing publicly
Can I include my hosting or SaaS platform in my disclosure scope?
do not invite researchers to test a platform you rent but do not control, unless its owner agrees
Must researchers give their name to report a flaw?
the template says you must allow reporters to submit anonymously and must not require personally identifiable information
Take a few minutes this week to decide who will read security reports for your site, then draft your security.txt contact and a short disclosure policy for that person to own.

