News for hackers. Stuff that matters.
Re:Go typosquatting package relays info to tech firm by coder543 on Tuesday March 02, 2021 @11:24AM (#26316974)
There would also (by necessity) be a change in the centralized `go.mod` file (and `go.sum`) that corresponds to the addition of the new, almost-duplicate package being imported. Definitely spottable. Unless someone is using the deprecated GOPATH functionality, in which case things might be harder to spot. However, the author specifically pointed out how rare this attack seems to be in the Go ecosystem.

If the author identified malicious repos on user accounts that were created solely to make those malicious repos... it seems like something the author should have reported to GitHub. I wonder if GitHub would actually do anything, though.

Re:Go typosquatting package relays info to tech firm by jwalton on Wednesday March 03, 2021 @09:10AM (#26328471)
By the time it’s in your go.mod, the malicious software has already been downloaded and installed on your machine, though. Damage may already have been done at that point.
Re:Go typosquatting package relays info to tech firm by heavenlyblue on Thursday March 04, 2021 @04:39AM (#26340455)
Ah, thanks for clearing this up - I've thought I had no idea what I was speaking about.