While shooting stills and video of an event, using my iPhone 15 Pro Max, a fellow asked if I would share my shots with him via AirDrop. I stopped and did that. Then I asked if he would send me what he had shot. I switched my AirDrop to Everyone and accepted his AirDrop transfer. Is that alone enough to facilitate transferring a keystroke logger or other bugging software?
It was noisy and I was distracted but I’m pretty sure my phone remained in the Photos app the entire time, including after he sent his photos (meaning, the Files app did not open on my iPhone, which would happen if he had AirDropped a file using the Files app).