what malware exactly are you accusing him of including?
first flash twrp via odin, format data, reboot. flash rmm then opt encrypt then magisk (for no bootloop). after these steps boot your phone, put orange fox to the sd card and flash from twrp. i did like this and working perfectly. i have j717ltem too.OrangeFox does not work on j7y17ltem. Is it possible to install it in another way?
*** Disclaimer I am not responsible for any damage you made to your device You have been warned