Re:Rust Malware Staged on Crates.io
by yencabulator on Friday August 25, 2023 @04:36PM
(#37266706)
1) Typosquatting DNS adds cost (it's harder to spam the namespace), and it forces the attacker to put down a credit card.
2) Go-style import URLs prevent you from typosquatting a large part of the path. On `example.com/hrd2spll` you can't typosquat the latter part (which would be easier to attack), only the hostname.
Re:Rust Malware Staged on Crates.io
by vladvasiliu on Saturday August 26, 2023 @02:40AM
(#37270392)
> 1) Typosquatting DNS adds cost (it's harder to spam the namespace), and it forces the attacker to put down a credit card.
It also raises the bar of who will publish things. I have a few random projects on github that some people seem to use. I wouldn't pay for a domain name to publish those.
Re:Rust Malware Staged on Crates.io
by yencabulator on Saturday August 26, 2023 @09:12AM
(#37272571)
github.com/vladvasiliu/foo works fine, if that's what you want.
I'm only talking about domain ownership here because I don't understand how this scheme could benefit from TLS certificates. Anybody can get a certificate if they control the domain anyway.