Add RFC9116 security.txt check#730
Conversation
e020bd9 to
2c37e96
Compare
d6886e1 to
35aa70e
Compare
|
Small bug, the security.txt test is invisible when the IPv6 address is unreachable. See screenshot. |
|
@mxsasha another perhaps unwanted outcome: Several governmental domain names only act as redirect. They ignore the path when requested, and just always redirect. This leads to a long list of errors since the front page is now parsed as security.txt E.g. https://dev.internet.nl/site/minaz.nl/28443/ Perhaps check the Content-Type first, and if this fails stop testing? |
Seems reasonable to me.
Will look into it. |
5e0b02a to
80f74e7
Compare
@WKobes both should be fixed in dev.internet.nl now :) |
aa97f7e to
be34799
Compare
3fdb213 to
9faceed
Compare
|
@mxsasha Thanks! Did some testing: This test now no longer prints a long list of errors. However, it still lists "Located security.txt on www.rijksoverheid.nl", while it probably still attempted to parse the front page? Maybe we could say in these cases 1that we were not able to determine whether a security.txt was present? |
|
Security.txt test dissappears here still. Not sure why, security.txt appears to be valid. |
Fixed.
Yes, that message is meant to say where we ended up redirecting to, i.e. which domain we retrieved the final evaluated file from. It's a bit hard to determine for us or not a file was meant to be a security.txt - we just take that if someone redirects .well-known/security.txt to a URL, they intended for that to land on a security.txt.
Will check. |
I think this one is fixed now too - let me know if you still see it. Seems to have been intermittent, hence it seeming fixed before when it was not. |

Currently fails as STATUS_FAIL, maybe this should be a lighter one like notice or info?Explore using INFO for recommendations, WARN for others.Look into making tech table translatable?We currently do not have a consistency check between different hosts (including v4/v6)-> out of scope for now, new issueCheck the canonical field, by passing both first and last URL in redirects to the parser