https://github.com/kdrag0n/safetynet-fix/releases
It should work. Flashed this on more than 10 devices stock/custom and it not working only on shitsung Galaxy a13.
My current setup is lineageos with magisk (magisk delta fork) and microg also installed as module and i pass safetynet without a problem.
edit: fuck g00gle