Are we safe to use a Trainer for single-player ? / "third party software"

Are we safe to use a Trainer for single-player ? / “third party software”

Hi, a friend of me did find a “third party software” that can in single-player change game speed and add set infinite population. I do use mods on steam a lot, but I am not sure how it’s handled with MS-Store games.