Giter Club home page Giter Club logo

Comments (10)

binex-dsk avatar binex-dsk commented on June 10, 2024

PolyMC already defaults to our Client ID. It works even if compiled without specifying a client ID.

from polymc.

oldherl avatar oldherl commented on June 10, 2024

That leaves the default Client ID distributed, which may bring risks for PolyMC since malicious third-party clients may also use that Client ID.

from polymc.

binex-dsk avatar binex-dsk commented on June 10, 2024

understood, I'll work on this later if MultiMC doesn't implement it first.

from polymc.

d-513 avatar d-513 commented on June 10, 2024

I mean, what MultiMC is doing in their binaries is basically the same. You can extract the api key and use it maliciously from the binary.

from polymc.

binex-dsk avatar binex-dsk commented on June 10, 2024

that's what I was thinking, no reason to not include it now. We can always make a new one and if people consistently abuse then we can switch over to this.

from polymc.

Jan200101 avatar Jan200101 commented on June 10, 2024

MultiMC uses a secret system to store the Client ID and possibly obfuscates it at compile time.
Not once is it publicly exposed, and finding it requires a lot of digging and reversing data

from polymc.

d-513 avatar d-513 commented on June 10, 2024

MultiMC uses a secret system to store the Client ID and possibly obfuscates it at compile time. Not once is it publicly exposed, and finding it requires a lot of digging and reversing data

its still public and easy to extract, https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=multimc-git#n55

from polymc.

Jan200101 avatar Jan200101 commented on June 10, 2024

"public" is a questionable statement
its unobfuscated within the binary but nothing is stopping the devs to add a layer of encryption ontop that could make the effort of getting the ID harder.

from polymc.

d-513 avatar d-513 commented on June 10, 2024

That is still public. When its on the client machine, its just a matter of time to get it back.

from polymc.

Jan200101 avatar Jan200101 commented on June 10, 2024

At the end there is no good way to do this
Either you setup a proxy that stores the client ID, but then the user is essentially MITM'd
or you put the client ID in the program but then you suffer from people using it to impersonate the project.

The solution that the MultiMC project took was keeping the ClientID in the public, until that was abused
Then it was put into a dedicated secret subproject with the ID, which won't stop those that try hard enough yes but it will stop most of those trying.

I won't doubt that the MultiMC project might put more work into that in the future to ensure things like the AUR situation won't happen

from polymc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.