It's bad enough worrying about hackers in your social media or bank accounts. Now consumers aren't even safe charging their phone.

The latest cyber-theft tactic is called "juice jacking." Computer Data Cable

What is juice jacking? Warning from Michigan AG explains how it works

Hackers are hiding skimming devices inside public USB ports and charging cables, according to the Michigan Department of Attorney General. The installed malware gains access to your device as soon as you plug it in and can lock you out or export personal data and passwords.

Public charging stations are usually found in airports or hotel lobbies. So when your phone is low on battery again, keep the following information in mind before charging it at a public kiosk.

More: Tick season is here in Michigan: What to know

"Juice jacking can happen in two ways: by plugging a device into a public USB port with your own charging cable, or by using an infected cable provided by someone else," Michigan's AG office warned consumers in a Monday news release. "The Federal Communications Commission "has even reported incidents of infected cables being given away as promotional gifts."

More: U.P. paper mill employee dies from fungal infection 

Attorney General Dana Nessel provided consumers with the following tips to avoid getting hacked via charging stations, according to the release:

What is juice jacking? Warning from Michigan AG explains how it works

Universal Charger Adapter Contact Nour Rahal: