You may get a SafetyNet ctsProfile false after running a check in Magisk. To fix this first try enabling Magisk Hide from the Magisk settings. Magisk Hide however does not work properly on all devices.
To fix this problem download and install Universal SafetyNet Fix. The installation is done through TWRP. Click the button below to go to the Universal SafetyNet Fix download page.
bayan installing, it hides root and the SafetyNet to almost all apps. You also should now pass the SafetyNet Check in Magisk.