Android 15 may prevent malicious apps from reading your OTP and 2FA codes
Google is reportedly working on a security feature for Android 15 that will prevent hackers from accessing your 2FA codes and OTPs by preventing them from being read by untrusted apps.
Source: indianexpress.com