Is it safe to replace files in the User\AppData\roaming folder?

I have seen that “unofficial” versions of Citra are considered not safe and because of that you don’t give support for them, but I am not sure if I download the official version of Citra and then replace those files how safe is it? I’m concerned about possible viruses and I would like to know how dangerous those files can be. Thanks