What these attacks actually are
Why it matters if someone's monitoring you
How to protect your phone
Use only your own cables and chargers
The single best defence. Don’t use, borrow or accept charging cables, chargers or docks from someone you don’t fully trust — including a gift you didn’t ask for. A weaponised cable is identical to a real one from the outside, so where it came from is the only reliable signal.
Never tap 'Trust' on a prompt you didn't expect
When you plug in, your phone asks before sharing any data. If a Trust This Computer? (iPhone) or file-transfer (Android) prompt appears when you only meant to charge, choose Don’t Trust / charging only. That one tap is what most of these attacks are waiting for.
Lock the data pins down
iPhone: Settings → Face ID & Passcode → scroll to Accessories and turn it off, so a cable can’t talk to a locked phone (USB Restricted Mode). Android: set the default USB behaviour to Charging only / No data transfer.
Use a data blocker at public ports
A small USB data blocker passes power but physically disconnects the data pins, so a public port or unknown charger can only charge — never exchange data. Carrying your own power bank does the same job.
Turn on Lockdown Mode if you're high-risk
On iPhone, Lockdown Mode blocks wired data connections to accessories entirely while the phone is locked — the strongest option if you have genuine reason to be worried.
Keep your phone updated
Accessory and USB exploits rely on bugs that updates fix. Staying current quietly closes them.
Common questions
Can a cable hack my phone just by charging it?
Is juice jacking at public ports a real threat?
How can I tell if a cable is an O.MG cable or tampered with?
Is my phone really at risk, or is this mostly a computer problem?
Was this guide helpful?
Know someone who needs this? Send them the guide.
Written by
Jordan DicksonFounder, CyberSecurityGuides
Founder of CyberSecurityGuides, writing practical, jargon-free guides that help everyday people recover from and protect against online attacks.
Reviewed by CSG Security Engineers