Do you want to hide magisk?
From this guide:
5)
Set up magisk props and magisk hide (check this guide:
https://xiaomi.eu/community/threads...ues-with-magisk-also-cts-profile-match.58555/) what it does is to change the device name of your phone to be undetected
a) Download and install
Termux(any terminal editor for android) from Google Play
b). Type "
su" hit enter,
c) Open up Termux and grant root/superuser access.
d) then the "
props" command and hit enter
e) After MagiskHide-Props loaded successfully, type "
2" to choose "
Force BASIC key attestation"
f) Type "
c" and hit enter for activating the option.
g)Select a device name for your phne (it ~just mustn't be the one your device has, just type your device name and add "Eu" in the end.
Type "
y" and hit enter for activating the option.
h) Type "
y" and hit enter to reboot your phone.
6)
Hide your Magisk (get Google Pay etc. working):
a) Enable your app installation over USB in your developer settings on your phone.
b) Go into your
Magisk Manager Settings and click "
Hide Magisk" under the "
Manager" category, there enter an alternative name for your Magisk. (A random, but goo looking one might be better)
c) After installing the hidden Magisk manager, go into its settings and enable "
MagiskHide" under the "
Magisk" category.
d)If you have any apps that shut down/don't want your phone to be rooted, go to superuser tab->magisk hide and add those apps (like CoD:Mobile etc.).
7)Reboot and the check if you pass safety net (if not try to delete cache of google services and google play and reboot).