Related to this, I really dislike how Google Play acts like it owns your device. Installing an apk? Hey, I'm Google Play, I exist, how about turning Play Protect on?
With root access, it should be possible to disable just that component without breaking other functionality by running:
pm disable com.android.vending/com.google.android.finsky.verifier.impl.PackageVerificationReceiver
To reenable: pm default-state com.android.vending/com.google.android.finsky.verifier.impl.PackageVerificationReceiver
Without root access, disabling the Play Store completely (if you don't need it) via the normal Android settings should also do the trick.[1] https://android.googlesource.com/platform/frameworks/base/+/...
Glad I have it off though: KDEConnect is great, I use it all the time to transfer files and send text messages from my computer.