Skip to content

Instantly share code, notes, and snippets.

@Huskydog9988
Last active October 18, 2022 22:46
Show Gist options
  • Save Huskydog9988/4b77e8adaf33a75a57cc1bf7c2273d1d to your computer and use it in GitHub Desktop.
Save Huskydog9988/4b77e8adaf33a75a57cc1bf7c2273d1d to your computer and use it in GitHub Desktop.
PolyMc Takeover

(Rough) Timeline of Events

More of statements of facts, idk when they happened:

Security Issues

  • Didn't know if Lenny was hacked
    • Maintainers couldn't contact Lenny outside of discord
      • They couldn't confirm he was hacked and work with his to ensure nothing else was compromised
    • Lesson: they had no real lines of communication outside of discord
  • Lenny controlled everything
    • things he owns
      • website
        • where most people download/update poly
        • metadata server, even if people don't update poly, could still attack people via this
        • None of the maintainers were admins
      • GitHub
        • only Lenny had owned
      • Discord
        • main way the maintainers communicated with the public
      • Matrix
        • (probably owned by Lenny?)
      • packages
        • aur
          • (only some packages controlled by Lenny)
        • Centos / RHEL
        • Fedora (isn't this just RHEL?)
        • Nix
        • openSUSE
        • Void
      • Open Collective
        • He now controls this fully, he was successfully able to remove Scrumplex
    • basically controlled due to GitHub releases
      • winget
      • choco
      • Debian / Ubuntu
      • flatpack (later prevented updates)
        • steam deck
      • scoop
  • Releases potentially compromised
    • He may have embed malicious code in previous versions
      • He said he had been planning this out
      • thankfully doesn't look like he did
    • Metadata server
      • could be used to compromise users
        • (need clarification on how)
      • (need clarification on what exactly the server does)
    • MacOS has auto-updates
      • if a new release is published, mac users could be compromised

Are you sure its actually Lenny?

Yes, mostly. The ex-maintainers are as sure as they can be, and so am I. Lenny has posted a number of things to prove that he is who he claims to be. He publicly stated that he has mfa, though this could be a lie. Additionally he posted a pastebin which supposedly contains a signed pgp message by Lenny. Though there is some contention as to whether that is Lenny's pgp key, the consensus seems to be that it is. In any event, to quote Scrumplex, "I can't know for sure [if he was hacked]. But either way it isn't very intelligent either doing this, or having such bad OpSec as a 'lead' maintainer of a large project."

@Avenred
Copy link

Avenred commented Oct 18, 2022

thanks for taking the time to make an overview! imo, it's a bit odd that both Lenny's Discord AND GitHub both got compromised... maybe he used the same password for both?
also, the commit on polymc was posted at around 20:00 Lenny's local time (tz guessed from his other commits).

@Huskydog9988
Copy link
Author

Sorry, forgot the clarify that lenny was not compromised, he just did this out of the blue. (Will be updating this soontm.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment