back to article Poisoned Go programming language package lay undetected for 3 years

A security researcher says a backdoor masquerading as a legitimate Go programming language package used by thousands of organizations was left undetected for years. Kirill Boychenko, threat intelligence analyst at Socket Security, blogged today about what seems to be a supply chain attack on the BoltDB database module, which …

  1. cyberdemon Silver badge
    Facepalm

    And no doubt now, with the news coverage mentioning the typosquatted URL, LLMs will be parroting it as the real URL

    I am amazed that Go have not removed it yet, but then again, there are not many humans left at Google

  2. Gene Cash Silver badge

    Go doesn't track the metric

    Wait. You're a download site, and you don't track the number of downloads?

    Clowns.

    1. that one in the corner Silver badge

      Re: Go doesn't track the metric

      Ok, I'll bite (and let you point out my gross ignorance of serving up files):

      It may appear as though counting the number of downloads might[1] be of interest in judging the impact of this problem[2], but aside from that possibility, you seem to be very certain that they should be tracking all the individual downloads even when/if everything is all hunky-dory.

      Can you please explain why? What would they - Google or all the devs using Go - get from doing that?

      They aren't (AFAIK) using this mirror to, say, build a list of most popular downloads this week, they very explicitly aren't looking to only mirror the 1000 favourite packages (and saving space by deleting the rest). It isn't something humans are supposed to be excited about reading and starring their favourites.

      For what purpose - and at what level of detail - would they need to be tracking to avoid being "clowns" when it comes to running an immutable cache server?

      [1] it is a cache - does 100 downloads indicate 100 separate projects hitting it, 100 people/build machines all on the same project or 1 person who isn't bothering to keep a local copy? What is the cost of trying to track and separate those cases - and what would be the use of that data to warrant the cost of gathering and keeping it?

      [2] back to cost and likelihood of that spend actually helping (other than making for an exciting headline).

    2. CowHorseFrog Silver badge

      Re: Go doesn't track the metric

      You would think that tracking downloads would. be stamped into every googler, given Go is from Google.

  3. TeeCee Gold badge
    Facepalm

    ...a single cryptocurrency project with just seven followers.

    Looks like someone's get rich quick scheme failed to take off.

    1. cyberdemon Silver badge
      Holmes

      You mean the one to steal crypto keys from er, at least 7 people?

      Although yeah, not really taking off, which is fortunate.

      What I mean is, said crypto scheme ought to be investigated as a possible source of the fake package. If they are the sole project on GitHub using it, then it is more than a little suspicious that they might not be innocent victims.

    2. stiine Silver badge
      Facepalm

      Or really, really well.

  4. Sceptic Tank Silver badge
    Trollface

    We all have our (programming language) problems

    At least it's a memory safe language. Don't want to comment on the malware being there from this point on.

  5. Rory Campbell-Lange

    how does go deal with typosquatting?

    Since I'm spending more time fiddling with go, I was interested in how go would deal with a malicious package once reported.

    The answer is https://pkg.go.dev/vuln/ -- this issue is the third one down.

    GO-2025-3451

    Affects: github.com/boltdb-go/bolt

    Published: Feb 05, 2025

    The issues are reported by the govulncheck tool which I guess should be part of most go-related CI pipelines.

    The source repo (github.com/boltdb-go/bolt) has also been disabled so it doesn't work for "go get" module retrieval.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like