{"id":21054714,"url":"https://github.com/cubxity/obfchat-poc","last_synced_at":"2025-05-15T22:34:21.420Z","repository":{"id":44829125,"uuid":"512892466","full_name":"Cubxity/obfchat-poc","owner":"Cubxity","description":"A PoC to obfuscate signed Minecraft chat in 1.19.1-pre4","archived":false,"fork":false,"pushed_at":"2022-07-12T07:48:45.000Z","size":78,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T16:13:14.539Z","etag":null,"topics":["fabric","minecraft"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cubxity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-11T20:00:00.000Z","updated_at":"2023-08-09T11:29:56.000Z","dependencies_parsed_at":"2022-07-15T15:17:14.650Z","dependency_job_id":null,"html_url":"https://github.com/Cubxity/obfchat-poc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cubxity%2Fobfchat-poc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cubxity%2Fobfchat-poc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cubxity%2Fobfchat-poc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cubxity%2Fobfchat-poc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cubxity","download_url":"https://codeload.github.com/Cubxity/obfchat-poc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254433566,"owners_count":22070493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fabric","minecraft"],"created_at":"2024-11-19T16:16:58.122Z","updated_at":"2025-05-15T22:34:17.674Z","avatar_url":"https://github.com/Cubxity.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# obfchat-poc\n\nThis PoC demonstrates how the chat can be obfuscated on the server, while remaining signed.\nThis targets the Minecraft version 1.19.1-pre4.\n\nhttps://user-images.githubusercontent.com/27609129/178434755-2ff5efbe-9427-4a76-ba8a-13eb02ad29af.mp4\n\n*Do note that there will be a warning screen and a resource pack prompt, which were not shown in this video.*\n\nThe idea was brought up to me by [Machine-Maker](https://github.com/Machine-Maker).\n\n## Setting Up\n\n1. Run [ObfchatGenerator](src/test/java/dev/cubxity/mods/obfchat/gen/ObfchatGenerator.java)\n2. Set up a server with `previews-chat` set to true in serrver.properties and the mod installed\n3. Ensure that `glyphs.json` is in the server's root directory (default: `run`)\n4. Archive the resource pack in `run/resourcepacks/glyph`\n5. Force the resource pack by setting `require-resource-pack` to true and by setting `resource-pack` to a URL with the\n   resource pack.\n6. Start the server and join the server\n\n## Why?\n\nThis shows how the server can obfuscate the chat using the decoration/preview feature.\nWith help of a custom resource pack, the chat is shown normally to the users.\n\nHowever, in reality, the actual message (which is signed) is gibberish.\nMeaning, it will be nearly impossible to report those.\n\nFurthermore, a malicious server can potentially use this to make it look like a player is typing a legitimate message.\nFor example, turning \"love\" into \"hate\" by using character mapping and resource pack.\n\n## Potential Pitfalls\n\n* Any client that tries to get around the required resource pack will have unreadable chat\n* The server log is obfuscated, however this can be mitigated with a mod/plugin\n* This can potentially be mitigated by Mojang by figuring out the character mapping. A workaround for this would be to\n  rotate the mapping periodically. Furthermore, the server can also assign each player to a specific unicode range.\n* The server can potentially be banned from the session server by Mojang","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcubxity%2Fobfchat-poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcubxity%2Fobfchat-poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcubxity%2Fobfchat-poc/lists"}