News for hackers. Stuff that matters.
Re:Show HN: Make domain verification as easy as verifying an... by StuntPope on Friday May 05, 2023 @11:42AM (#35830718)
I've been thinking for some time about a mechanism that could be used to assert control over a domain that has a lot of third-party backlinks to it, as in widgets, ad networks, javascript etc.

Because when those domains become defunct or expire, anybody recognizing what they were could grab them and inject malicious code into all the websites with the broken widgets embedded (we've seen this happen with crypto miners, etc)

This kind of a mechanism (along with domainconnect) could work - but it would also need the browsers (perhaps with a plugin?) to verify a domain on embedded components before rendering them.

That would add a lot of DNS lookups though.

Overall a good effort. Would be good to see something along these lines gather some traction.

Re:Show HN: Make domain verification as easy as verifying an... by elliottinvent on Sunday May 07, 2023 @05:18AM (#35849492)
Interesting idea.

If I understand correctly, let’s say a popular CDN was no longer maintained and the domain expired, eg popularcdn.com - you’re looking for a way to use a dns record lookup to verify that the domain (and cdn) is still controlled by who you think it is?

I guess for scripts this can be dealt with using integrity hashes but that’s version specific. So this would be a security check at a domain level?

I guess the hard part would be that any CDN hijacker could copy the DNS TXT record when they hijack it.

Re:Show HN: Make domain verification as easy as verifying an... by quickthrower2 on Monday May 08, 2023 @04:32AM (#35859348)