Google has patched an Android ADB bug in the May security patch set. If you have a Pixel phone you should already have the patches, and most other major manufacturers should be close behind.
This is not a sideloading ban. Google is preserving the ability to install apps from outside the Play Store, but wrapping that ability in identity checks, warning screens, and a waiting period. The ...