MinecraftFreecam / Freecam

A highly customizable freecam mod for Minecraft. [Maintiners: @hashalite @MattSturgeon]
https://curseforge.com/minecraft/mc-mods/free-cam
MIT License
75 stars 29 forks source link

The mod is detectable by servers. #196

Closed zisis912 closed 6 months ago

zisis912 commented 7 months ago

Description of the issue

When joining a server like play.ccnetmc.com it is possible for the server to detect the freecam mod and instantly ban the user for it.

The fabric loader by default does not expose a mod list to the server, so I am guessing this is a freecam feature.

Expected behavior

I expect the mod to function like any other mod, and not send any information to the server.

Steps to reproduce

  1. go to play.ccnetmc.com with freecam mod on.
  2. get banned for it 5 seconds after you join

Log output

No response

Crash report

No response

How prevalent is the issue?

unsure, i have not done extensive testing

Freecam version

1.2.3 - 1.20.4

Are you using "Modrinth Edition"?

No

Minecraft version

1.20.4

Modding platform

MattSturgeon commented 6 months ago

Thanks for reporting this. It is a particularly interesting issue!

I've updated the title as this has nothing to do with telemetry. We don't have any telemetry. AFAIK neither does Fabric.

The fabric loader by default does not expose a mod list to the server

Correct

I am guessing this is a freecam feature

I'm afraid not.

It turns out, that server is using this exploit to detect mods based on translation keys being installed on the client.
The exploit uses this Minecraft bug: MC-265322.


Since that server doesn't permit the use of Freecam anyway and the only issue on our end is that we provide translatable text, I'm going to close this.

I do find it frustrating that servers will ban players for having tools installed even without them being used. That said, I appreciate the use of Freecam would be difficult to detect, so I understand why they take that approach.

zisis912 commented 6 months ago

Wow, thank you so much for the explanation! How did you come across this mod and exploit? I searched but couldnt find anything regarding this!

zisis912 commented 6 months ago

image @MattSturgeon the mod seems to not fix it, im now getting another similar message