Can a Stranger Find Your Disclosure Policy?
lookup.disclose.io now searches the web for disclosure policies published where no tool would guess. Check whether a stranger with a bug could find yours, and what to do if not.
Last week we looked up a fintech company on lookup.disclose.io and the answer did not include the company's own disclosure program. It has one. It lives on a subdomain of its own, which is a perfectly reasonable place to put one, and which no tool checking the standard locations would ever find.
That happens more than you would hope. An organization does the work, writes the policy, publishes it, and then a stranger with a bug in hand cannot find it. The report gets delayed, abandoned, or sent to whoever looked closest.
lookup now uses a web search to go looking for those pages. Whether it can find yours is something you can check yourself, so we will start there.
Check yours
- Go to lookup.disclose.io and look up your organization's main domain, for example
example.com. - If your policy is not in the answer, wait a couple of minutes and look it up again. The search runs after the first lookup, and only when that lookup found no reporting route your organization clearly stands behind, so the second answer is the one to read.
What you will see is one of these:
- Your policy is listed as a reporting route. Nothing to do. A stranger and a tool can both find it.
- Your policy shows as a lead, labelled as found by search and not confirmed. A search can find the page, and something connects it to you, but nothing settles it. The fix below settles it.
- Your policy shows under "Possibly related pages". A search can find the page and nothing connects it to you. To a tool, and to a careful researcher, it could be anybody's.
- Nothing shows, and you do have a policy. A search did not surface it either. Same fix.
- Nothing shows, and you have no policy. policymaker.disclose.io helps you draft one. Someone still has to review it, sign it off, and be ready to answer the reports.
The fix
Publish a security.txt file at /.well-known/security.txt on your main domain. It is the first place most tools and researchers look, and lookup reads it directly, with no search involved.
Contact: mailto:security@example.com
Expires: 2027-11-01T00:00:00Z
Policy: https://example.com/your-disclosure-policy
Swap in your own addresses, use a mailbox somebody reads, set Expires less than a year out, and renew it before that date, because an expired file is treated as stale. There is also a DNS version, described at dnssecuritytxt.org, which puts the same information in a DNS record.
A smaller change that also helps: link the policy from your own site, in the footer or on a security page. A link from your own site is one of the signals lookup uses to show a page as a lead and not hold it back.
lookup keeps an answer for up to six hours, so check again later in the day and not straight away.
If you are not the person who can make that change, here is a note to send to the person who is:
I looked up [our domain] on lookup.disclose.io and our disclosure policy [did not show up / showed up as unconfirmed]. It is published at [URL]. Could we add a security.txt file and link the policy from the site, so somebody who finds a bug can find where to report it?
What search got wrong
The engineering half of this is shorter than we expected and more embarrassing.
Finding the pages was easy. Our first test, on a development copy that nobody outside could see, ran 30 lookups and search added 19 contacts across ten of them. Ten of the 19 were right.
Nine were wrong, and wrong in the same way. That test build searched for every site we looked up, including ones that already had a perfectly good answer. Look up a big code-hosting site and search handed back a security vendor's repository and an open source working group's. Look up a blogging platform and it handed back articles by its members. Every one of those pages was on the site we asked about, and none of them was written by it.
That is the whole problem with search for this job: it can find a page, and it cannot tell you whose page it is. In a tool that tells people where to send an unpatched vulnerability, a wrong answer sends the report to the wrong party.
Our first fix was a list of sites where anyone can publish. It cleared the nine and it was a patch, because a list like that is never finished.
The second fix is the one that shipped. A page found by search is shown as a lead only when something connects it to the organization:
- the organization's own site links to it, or
- it sits on a subdomain the organization set up for itself (on sites that hand a subdomain to every member or customer, a subdomain tells you nothing, so those do not count), or
- it names a security mailbox at exactly the organization's own domain, in which case we show the mailbox and not the page.
These are signals, not proof, which is why the label says unconfirmed and why a page found this way never marks a lookup as complete. A page that reads like a policy and has none of the three goes under "Possibly related pages", which is explicitly not a way to report.
The numbers, such as they are
We ran the same 30 lookups against production on November 30, plus six more sites where anyone can publish that are on no list of ours.
- Search contacts shown: four, on four lookups. All four belong to the organization that was looked up, by our own reading of each page.
- Pages held under "Possibly related pages": two. Both are the organization's real policy, and lookup could not connect them to it.
- Wrong contacts: none.
The stricter rule cost something. Of the ten right answers in the first test, four are still shown as leads, four were really two policy pages (one listed three times under different country paths) that are now held back, and two are gone.
36 lookups that we chose and labelled ourselves is a regression test, not an error rate. It will be wrong somewhere we have not looked yet.
What it does not do
- The first lookup of a domain does not benefit. Search runs afterwards and helps the next one.
- A search that finds nothing is not repeated for about three weeks, so a brand new policy page can take a while to be noticed. A
security.txtfile does not have that problem. - When lookup searches, it sends the domain name and a fixed set of search terms to a search provider. It does not send the full address you typed, or anything about what you found.
When it gets one wrong, the feedback buttons on a result come to us, and so does hello@disclose.io. The wrong answers people reported in August are the reason the tool marks its own guesses at all, so please keep sending them.
Free, no login, no signup, same as before.