FREE FOSS
Shamiko is a module which helps you hide the fact your phone is rooted to other apps. Shamiko works in two modes (blacklist/whitelist) in which you must use the Magisk DenyList to specify which apps you would like to blacklist/whitelist from hiding.