While I was at a coffee shop, someone's phone wouldn't charge from the available outlets, so I offered to let her use my MacBook for power. Her phone connected over USB-C, and when macOS asked whether to allow the connected device, I selected "Don't Allow." She charged for roughly 5–10 minutes before unplugging. I didn't notice anything unusual about the interaction, but afterward I started worrying about malware, a malicious cable, or someone accessing data on my laptop. I restarted the MacBook and checked for new files, applications, accounts, devices, permissions, login items, browser extensions, and other changes, but everything appears normal. Is there any realistic risk in this situation, and are there warning signs I should watch for?
4 Answers
Theoretical attacks involving malicious cables or specialized hardware exist, but they generally require a targeted attacker, a vulnerable setup, or the user approving some kind of access. A brief, ordinary charging interaction with access denied is not a realistic concern for most people. Keep macOS updated and use your usual security practices, but there’s no indication that anything happened here.
For extra peace of mind in the future, carry a clearly marked charge-only cable or a USB data blocker. Those remove the data connections and allow power without device communication. That’s a precaution, not something you need because this incident shows signs of compromise.
In a normal USB connection, the computer is the host and controls whether the phone can exchange data. Since you denied access and only allowed a few minutes of charging, there’s no obvious path for the phone to browse your files or install something. Your checks are more than sufficient.
You’re almost certainly fine. By choosing “Don’t Allow,” you prevented the phone from being granted data access, so the connection should have been limited to charging. There’s no need to take further action if the Mac is behaving normally.

A charge-only cable is probably the easiest option, especially if you regularly help other people charge their phones.