It happened to someone in my area and so I had to look this up because it’s the first I heard of it. So curious if having used an e-sim , compromised the victim, or other compromising factors can lead to it. I’ve thought of using e-sim. Below is the explanation of the attack.
A SIM swap attack is a type of fraud where scammers take control of a victim’s phone number by tricking the mobile carrier into transferring the number to a SIM card they own. This allows the fraudsters to intercept calls and messages, including two-factor authentication codes, potentially gaining access to the victim’s online accounts.
EDIT: I found out that my IPhone has an easily guessed default SIM pin. I changed it, but not before running the risk of locking myself out. I used T-Mobile telephone tech support to bail myself out.