AnonymFlow
securite-reseauINFO

What Is Juice Jacking? The Public USB Charging Risk, Explained (2026)

Juice jacking is an attack where a public USB charging port steals data or installs malware through the same cable that charges your phone. How it works, how real the risk is, and how to charge safely.

By Eric Gerard · Editor · AnonymFlow4 min readPhoto: Pexels

You're at an airport with a dying phone battery, and there's a free USB charging station right there. Should you plug in? That question is the heart of juice jacking - a security risk that government agencies have warned travellers about, and that is widely misunderstood. This guide explains what juice jacking is, how it works, how real the threat actually is, and the simple habits that remove almost all of the danger.

What juice jacking is

Juice jacking is an attack where a public USB charging port - or a tampered cable - is used to steal data from, or push malware onto, a device that plugs in to charge. The name combines juice (power) with jacking (hijacking).

It works because of one detail most people never think about: a USB connector carries both power and data on the same plug. A plain charger only delivers electricity. But a port or cable can also try to open a data connection - and that's the opening an attacker uses.

A hand holding a small black multi-port charger showing four USB-A ports and one USB-C port.
A hand holding a small black multi-port charger showing four USB-A ports and one USB-C port.

How the attack works

When you connect your phone to a USB port, the port can request a data link, not just hand over power. In a juice-jacking setup, the charging station or cable is modified so that, the moment your device connects, it tries to:

  • Copy data off the phone (photos, contacts, files), or
  • Push malware onto it that runs later.

Some attacks hide a tiny computer inside a fake charging kiosk. Others hide the hardware inside a cable that looks completely ordinary. If the phone grants the data connection automatically, the transfer can happen with no obvious sign on screen.

How real is the threat?

Here honesty matters, because juice jacking is often over-hyped.

  • It is a demonstrated technique: security researchers have shown working juice-jacking rigs at conferences for years.
  • Public agencies have issued advisories - the U.S. FBI and the FCC have both warned travellers against using public USB ports in places like airports, hotels and shopping centres.
  • But there are very few confirmed victims documented in the wild, and modern phones add real protections.

So the accurate summary is: the risk is real and worth defending against with simple habits - not a reason to panic.

Why modern phones already help

Today's iPhones and Android devices don't silently hand over data the moment they connect. They typically show a prompt - "Trust this computer?" or "Allow access to device data?" - and stay in charge-only mode unless you approve. That single design choice blocks the most basic juice-jacking attempts. Keeping your OS updated keeps those protections current.

How to charge safely

The good news: the defences are cheap and easy. The principle is simple - let power through, keep data out.

  1. Carry your own power bank. The cleanest fix: never connect to a port you don't control.
  2. Use a wall (AC) socket with your own charger instead of a USB port. AC sockets carry no data.
  3. Use a USB data blocker. This small adapter (sometimes called a "USB condom") passes the power pins but physically disconnects the data pins, so no data link is possible.
  4. Choose "Charge only." If your phone asks whether to trust the device or transfer files, decline - pick charge-only.
  5. Keep your phone updated so its built-in protections are current.

Bring your own cable too: a tampered cable can carry the attack hardware even when the port is fine.

Where a VPN fits - and where it doesn't

It's worth being precise, because the two get confused. Juice jacking travels over the physical USB cable. A VPN protects data moving over a network connection. They defend against different things - a VPN won't stop a malicious USB port.

That said, the same trip that exposes you to dodgy charging stations usually means using untrusted public Wi-Fi - and that is exactly what a VPN is for. On open networks, others can try to intercept your traffic; a VPN encrypts it so they can't read it. If you want to dig into that side, see our guide to public Wi-Fi risks and why a mobile hotspot is often safer than public Wi-Fi.

The bottom line

Juice jacking is a genuine technique that exploits the fact that USB carries data and power together. It is not a common, documented epidemic - but the defences are so cheap and simple that there's no reason to take the chance. Carry a power bank or a data blocker, use AC sockets, pick charge-only, and keep your phone updated. Do that, and the free airport USB port stops being a question at all.

For the network side of travelling safely, a trustworthy VPN handles the public-Wi-Fi half of the problem.

Editorial pick
4.6 / 5

Secure your connection with NordVPN

Threat Protection blocks trackers & malware · kill switch · 30-day money-back

Deloitte audit 202430-day guarantee14M+ users
See the offer
Everything you need to know.

Frequently asked questions

What is juice jacking?

Juice jacking is a type of attack in which a public USB charging port or a planted cable is used to steal data from, or install malware on, a device that plugs into it. The danger comes from one fact about USB: the same connector carries both power and data. A normal charger only sends power, but a tampered port or cable can also try to open a data connection - copying files, reading information, or pushing software onto your phone while it appears to simply be charging. The name comes from 'juice' (power) plus 'jacking' (hijacking).

Is juice jacking a real threat?

It is a demonstrated technique rather than a common everyday attack. Security researchers have shown working juice-jacking setups at conferences, and public agencies including the U.S. FBI and FCC have issued advisories warning travellers against using public USB ports in airports, hotels and malls. At the same time, there are very few confirmed, documented victims in the wild, and modern phones add protections that make it harder. So the honest summary is: the risk is real and worth defending against with simple habits, but it is not a reason to panic.

How does juice jacking work?

USB connections carry data and power on the same plug. When you connect your phone to a charging port, the port can request a data link, not just deliver electricity. In a juice-jacking setup the charging station or cable is modified so that, the moment a device connects, it tries to exchange data - pulling files off the phone or pushing malware onto it. Some attacks use a hidden tiny computer inside a fake charging kiosk; others hide the hardware inside a cable that looks ordinary. If the phone grants the data connection automatically, the transfer can happen without any obvious sign.

How do I prevent juice jacking?

Avoid plugging directly into unknown public USB ports. The simplest defences: carry your own power bank and charge from that; use a wall (AC) socket with your own charger instead of a USB port; or use a 'USB data blocker' - a small adapter that physically passes power but cuts the data pins. On the phone itself, choose 'Charge only' (and never 'Trust' or 'Transfer files') if a prompt appears, and keep your operating system updated. These habits remove almost all of the risk.

Does a VPN protect against juice jacking?

Not directly. Juice jacking happens over the physical USB cable, while a VPN protects data travelling over a network connection - they defend against different things. A VPN will not stop a malicious USB port from trying to reach your device. The right defences for juice jacking are physical: your own charger or power bank, a data-blocker adapter, and 'charge only' mode. A VPN remains valuable for the related problem of using untrusted public Wi-Fi while you travel, which is a separate risk.