359 points · by pseudotrash · 3y ago · 154 comments
We added such a file years ago. There's still some security researchers ("bug hunters") not aware of the standard and email other email addresses (info@, invoice@, data-protection@). Nobody has ever used the GPG key we list in the security.txt file. The email address we list (security@) hasn't received any significant spam.
If you are an average person and you notice that changing the ID in the URL to another number gives you access to data you should not see; you aren't some elite hacker as many of the news articles try to portray you. So expecting from them to use a GPG Key while they only have their ISP provided webmail will be near impossible for them to do under half a days work.
Especially as most GPG tools are very unfriendly to use.
>I have not used PGP for many years, because it does not run on my iPhone[.]
- Phil Zimmermann, author of PGP
This isn't for the average person.
Install FlowCrypt (or Mailvelope) and it will become the easiest thing in the world. At least, that was my experience!
these are probably the people more interested in getting someone to sign off on a bug bounty than they are in getting hold of someone technical who might point out that the fact you can right click and edit the HTML to say "HACKED!!" isn't a bug...
When I had an issue with LastPass, the ONLY contact method they listed for support required you to log in and use their help form...
Since I used federated login, only the browser extension was supported -- not website login... So.. I can't log into their website for support, but I have to log into their website for support...
I went through a series of help@ support@ helpdesk@ contact@ and got bounces / "use our web form" responses... I then escalated to the other technical addresses like webmaster@ hostmaster@ until I finally tried to reach out to sales@ for the support issue...
So sometimes people do intentionally write to 'the wrong address' because there's no 'right address' (that's publicly known/available).
Level of effort is roughly a one line openssl command for both encryption and decryption.
* I suppose though one thing I didn't consider is follow up messages or correspondence which using PGP would be easier, if everything is already working in your email client. Although it wouldn't be that difficult to include your public key in the initial message, which could be used for responding.
We maintain a set of open source tools to easily get you started[2]. If you would like help to have this for your country/government/organisation as well, feel free to contact us.
[0] https://basisbeveiliging.nl/#/metric-progress/NL/municipalit... [1] https://basisbeveiliging.nl/#/maps [2] https://gitlab.com/internet-cleanup-foundation/web-security-...
Also, citizens (or NGOs) can sue entities (including central government) for non-compliance. For example, in 2022, the NGO Urgenda won a case against the Dutch government for not doing enough about climate change (less than needed to comply with international treaties), and now the political landscape is in turmoil because there's no consensus which polluters should stop polluting quite as much.
In practice, the list of standards is just tacked onto procurement procedures. Since governments and contractors love to bicker, a missing security.txt can be something to hit the vendor over the head with (and withhold payment for a month, to make this year's budget).
I was looking into what exactly is need for this but the last link has this in the guide:
>For full installation with everything and anything, check: https://gitlab.com/internet-cleanup-foundation/server/
The link is broken.
edit: W're a small team and we can't allocate the time needed to make that repo decently public atm. For now it's best to drop an email at the adres found here [0] and I'll help you get along.
[1]: https://gist.github.com/captn3m0/4f3da8f07fe884e62bfab3ac856...
Much like how people publish email addresses online using human readable replacements (e.g. AT instead of @) to avoid spam, I'd rather put up a contact page that's easy for humans to find but nontrivial to automate.
That sounds like an excellent way to accidentally filter out serious vulnerabilities. I'm glad you don't work for the vendor that received my urgent, critical (in all caps) unauthenticated remote code execution vulnerability report.
They were very grateful that I reached out and resolved it under 72h.
If it wasn't something close to that, then no, it wouldn't be filtered. If it wasn't obvious, the patterns are trivial, but not "check those two words" level of trivial. You need to apply common sense and adjust for your environment.
I was very glad to have received the info and I think folks such as yourself are doing valuable work.
If you take comments like mine and try to implement them literally, that's stupid and it's on you.
Obviously. >.<
(and indeed many beg bounties are about SPF or DKIM, because whatever automated tools they use to find the low hanging fruit didn't find anything more substantial).
Historically, 512 bit RSA was somewhat common, and old selectors don't always get removed.
2.5.6. Hiring
The "Hiring" field is used for linking to the vendor's security-related job positions. If this field indicates a web URI, then it MUST begin with "https://" (as per Section 2.7.2 of [RFC7230]).
Hey, I just found a new way to job hunt!Bricklayers don't avoid un-built houses.
It does make sense.
"How could you possibly have standards" isn't a very interesting conversation yet here we are having it at scale.
You don't have a threat model, do you?
Btw, if you want to start with "http://" just declare it to be not-a-web URI. Eg say it's a git URI.
I'm not sure where "web URI" is defined, but I am pretty sure that a Git URI uses "git://" and Git-via-http is still a "web URI" method.
HTTPS is probably the only protocol which is guaranteed to show content from the claimed source.
Assuming someone who works at the company would have easier access to someone who has access to the server in question…
My hope is that one of these days, I will stumble upon a company that hides secret job openings in their .plan files - accessible through the finger protocol (https://en.wikipedia.org/wiki/Finger_(protocol)) :)
See: "finger @lsc.mit.edu" and "finger seattle@graph.no" for some examples.
I don't care if they receive spam, I just want them to tell me how to contact them. Give me a captcha form, a phone number, an AOL Instant Messenger handle, I don't care.
Somewhat ironically:
https://www.digitaltrustcenter.nl/security.txt
The website of the Digital Trust Center returns 404
So, the URL becomes: https://www.digitaltrustcenter.nl/.well-known/security.txt
This returns a 200 (via 302).
Notre langage est parfait
redirects to:
https://www.ncsc.nl/.well-known/security.txt
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
# Domeinen van de Rijksoverheid kunnen met een 302 redirect verwijzen naar
# het centrale bestand op https://www.ncsc.nl/.well-known/security.txt
# omdat het NCSC het centrale meldpunt is voor kwetsbaarheden en incidenten
# voor de Rijksoverheid.
#
# Dutch central government domains can redirect to the central file located
# at https://www.ncsc.nl/.well-known/security.txt with a 302 redirect,
# because NCSC-NL is the central point of contact for vulnerabilities and
# incidents for the Dutch central government.
Expires: 2024-01-31T22:59:00.000Z
Canonical: https://www.ncsc.nl/.well-known/security.txt
Policy: https://www.ncsc.nl/contact/kwetsbaarheid-melden
Policy: https://english.ncsc.nl/contact/reporting-a-vulnerability-cvd
Contact: https://www.ncsc.nl/contact/kwetsbaarheid-melden
Contact: https://english.ncsc.nl/contact/reporting-a-vulnerability-cvd
Contact: mailto:security@ncsc.nl
Encryption: https://www.ncsc.nl/contact/pgp-key
Preferred-Languages: nl, en
Acknowledgments: https://www.ncsc.nl/wall-of-fame
Hiring: https://www.werkenvoornederland.nl
-----BEGIN PGP SIGNATURE-----
Version: Encryption Desktop 10.4.2 (Build 1298)
Charset: utf-8
wsDVAwUBY+9c0P4Vd0fJc7lbAQpUmQwAwZ1vWyI1VKBChsciufRcvxy5zzMZMx6v
YjD5CXuDV4GL+tRl7wClnQO023e3ZChTH69y7O3veS+5/zNVUvpyqJfS8pNzG0pA
B4vea3fQ41t5UpCVYvPopIFiT1oeQJA9w4NqBD2+2jW5lS5L8k9xz192gWJvhxq8
mTukJXYDiJLzxKbUMHEG2GNaMeoRj5Pvgr8buzQELP0VZHfzF05Hr6NOoWvS6SRX
KGW6rgg6fEUPcMTjBqn6gL/w82FXwrh93AmYkP/sBWP4It3NpbiNuazc5iynhhih
+ZlfzsFV6agF4MZR0IQZ6X4jsCxKFrPIWW51/7W+PIDkqy6za/bDjDeiinid0HOC
2rro6N9FXSyxHz9nteMppd+YMTCt+Z67HONsssR+7ojxORGOs0rTcjUucaVikFJQ
wAls9p+vuIzFRViQaXe3Nndspr1cCIu4z3ZfdkcWREQP7acOjNgbmeQOlH4jnYWq
lNVMWzOncidAWM0nXcuYTjZagRAagthF
=yC4A
-----END PGP SIGNATURE-----
Version: Encryption Desktop 10.4.2 (Build 1298)
Charset: utf-8
wsDVAwUBY+9c0P4Vd0fJc7lbAQpUmQwAwZ1vWyI1VKBChsciufRcvxy5zzMZMx6v
YjD5CXuDV4GL+tRl7wClnQO023e3ZChTH69y7O3veS+5/zNVUvpyqJfS8pNzG0pA
B4vea3fQ41t5UpCVYvPopIFiT1oeQJA9w4NqBD2+2jW5lS5L8k9xz192gWJvhxq8
mTukJXYDiJLzxKbUMHEG2GNaMeoRj5Pvgr8buzQELP0VZHfzF05Hr6NOoWvS6SRX
KGW6rgg6fEUPcMTjBqn6gL/w82FXwrh93AmYkP/sBWP4It3NpbiNuazc5iynhhih
+ZlfzsFV6agF4MZR0IQZ6X4jsCxKFrPIWW51/7W+PIDkqy6za/bDjDeiinid0HOC
2rro6N9FXSyxHz9nteMppd+YMTCt+Z67HONsssR+7ojxORGOs0rTcjUucaVikFJQ
wAls9p+vuIzFRViQaXe3Nndspr1cCIu4z3ZfdkcWREQP7acOjNgbmeQOlH4jnYWq
lNVMWzOncidAWM0nXcuYTjZagRAagthF
=yC4A
-----END PGP SIGNATURE-----I’ve already included everything a user would want for a complete website, including a robots.txt, sitemaps, perfect Lighthouse seo score, rich snippets, and a ton of other stuff.
Should I consider adding an auto generated security.txt file along side the robots.txt file for users?
Do you’all think a security.txt file is something users would want in 2023? Or would it look stupid and confusing?
I suspect most users who use a site generator would be happy with more "automagic"—especially if it were 1. easy to config or turn off and 2. addressing important things like security-related contact info, or how a web-scraping bot should respect your domain.
Also: "simple" generators often veer into "complicated" territory by adding crap features. Elegant appears to lack crap features; IMO, adding *.txt would not complicate or confuse.
We have started with a basic clean foundation, and are now in the process of building up all the essential features an app owner would want, and none of the crap they wouldn't lol.
I appreciate your feedback!
I have opened an RFC and will be pushing this idea through the feature pipeline ASAP: https://github.com/orgs/elegantframework/discussions/55
I may put out a few feelers, and put this topic up for a RFC and discussion on GitHub.
It seems like an interesting new little web thing, and is super easy to implement.
I just share the same concerns as others have mentioned with bots and spammers misusing this file.
Regulations are a hit or miss (e.g the cookie notification rules have some good parts but I wonder if there isn't any room for improvement in the current "visiting a website for 10 seconds and clicking whatever the big button is so that I see the content in interested in" status quo.
This one is not obtrusive, easy to implement (though only developers care about this part) and solves the problem.
The linked article explicitly mentions that they _hope_ private companies will adopt this standard; but there's no mention of any regulatory requirement on them.
Websites choose to display that banner, they don’t have to.
Then I remembered the armistice between yaml and toml and how I’m still confused about why the python community was torn asunder.
(lol. One looked like python to devs on mac/linux, and one looked like python to windows users who used INI a lot. Only a true scotsman uses plaintext, HTTP-style)
Most used webpages: https://www.similarweb.com/top-websites/germany/
Perhaps the sites have something on there.
Both Facebook and Apple also use [URL]/.well-known/security.txt
The contact on Facebook don't work: https://www.facebook.com/whitehat/report/
2017: https://news.ycombinator.com/item?id=15416198 (145 comments)
2019: https://news.ycombinator.com/item?id=19151213 (55 comments)
2021: https://news.ycombinator.com/item?id=26455493 (167 comments)
They have more information at https://gds-way.cloudapps.digital/standards/vulnerability-di... where they strengthen the advice by saving:
As per the current policy, we only accept reports from services that have a security.txt file pointing to the security policy.So if their security.txt doesn't point to a service someone finds an issue with they won't respond?
I take it as a way to say "don't even think of touching the services that don't have the security.txt file".
Without forgetting that a UK 'should', is considerably different to a US 'should'.
.nl? - I'll let you guys decide.
Note that you can test if a website has valid security.txt with the Internet.nl test tool: https://en.internet.nl/article/securitytxt-test-toegevoegd/
---
Contact: https://www.amsterdam.nl/privacy/informatiebeveiliging-gemee...
Expires: 2024-02-01T10:00:00.000Z
Acknowledgments: https://www.informatiebeveiligingsdienst.nl/?s=hall+of+fame
Preferred-Languages: en,nl
---
rfc9116
2.5.1. Acknowledgments
The "Acknowledgments" field indicates a link to a page where security researchers are recognized for their reports. The page being referenced should list security researchers that reported security vulnerabilities and collaborated to remediate them. Organizations should be careful to limit the vulnerability information being published in order to prevent future attacks.
If this field indicates a web URI, then it MUST begin with "https://" (as per Section 2.7.2 of [RFC7230]).
404
but this one does exist https://www.ncsc.nl/.well-known/security.txt
https://mijn.overheid.nl/.well-known/security.txt
which redirects to the second one.
* well-run organizations won't benefit from doing this, since their security teams were already easy to reach
and
* poorly-run organizations won't become any better by doing this, because one text file doesn't fix a broken org
2. Contact the website maintainer to report it
3. Get swatted, harrassed by cops, sued, and jailed over it.
No thank.