GithubHelp home page GithubHelp logo

safesave's Introduction

SafeSave

SafeSave is a mod for ULTRAKILL that changes how the game stores player save data to be more secure.

Why and How

Ultrakill uses the BinaryFormatter class for storing save data, which is very insecure as it can allow anyone to hide malware in a save file and distribute it to others. More information on this vulnerability can be found here. SafeSave solves this problem by using JSON to save data, which does not have this exploit.

Where saves are stored

SafeSave files are stored in a different folder than regular saves. It is different depending on your OS, but on Windows they can be found in C:/Users/<your username>/AppData/LocalLow/Hakita/ULTRAKILL/SafeSave. You may need to enable hidden items (File Explorer->View->"Hidden Items") in File Explorer to find the folder.

Have the developers been notified of this issue? Will any action be taken?

A discord screenshot showing a developer of Ultrakill confirming that the BinaryFormatter vulnerability will not be fixed.

According to one of the developers (who's identity will be redacted for privacy reasons), this vulnerability will not be patched anytime in the future. This desicion does not come from a place of malice. Do not harass/witch-hunt any developers about this desicion.

Will this mod break my existing save files?

Although save files generated by the base game will not work with SafeSave, the mod changes the directory that save files are stored to prevent overriding your pre-SafeSave files. So, by using this mod, you are effectively forced into using 5 new save slots.

Will save files generated by this mod be stored in the Steam Cloud?

For previously mentioned reasons, no they will not. If you want cloud backups of your saves you will have to use something like Google Drive.

What can I do about this issue?

First of all, Do NOT harass anybody on the Ultrakill development team. Hostility is not going to convince them to do anything other than close their DMs. Instead, spread awareness to other players about this problem, but make sure you tell people not to send hate to the devs.

How it works

How the exploit works is, since the game accepts any objects as save file input, you can make your save file represent an object that executes code when instantiated. The way SafeSave loads save files does not allow them to represent any type they want, rather it forces them to represent level progress, weapon data, etc. Save files are structured in the exact save way and with the exact save types, but use JSON.NET instead of BinaryFromatter. A byproduct of this is that save files are much easier to edit and play around with.

safesave's People

Contributors

teamdoodz avatar

Watchers

 avatar

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.