I run a Discord Bot that runs games on instances of DumbFrotz. However, when saving a game, one can specify an arbitrary filepath for the save, potentially overwriting other files in the entire filesystem.
Examples of dangerous filepaths one can specify:
/home/pi/Desktop/save
../save
Replacing save with any filename will simply overwrite them.
Suggestions:
A flag when initializing DFrotz to output the raw savedata to STDOUT to be read externally by the program managing it.