Shades of Blue episode 2
Jennifer Lopez's character Harlee struggles with being an FBI informant and staying loyal to her boss Wozniak (Ray Liotta) on NBC's "Shades of Blue." NBC

NBC's new cop drama "Shades of Blue" kicked off last week with an action-packed premiere. During episode 1, Jennifer Lopez's character Harlee Santos faked a crime scene after her partner accidentally shot an unarmed drug dealer and then was caught by the FBI trying to accept a bribe. Instead of Harlee going to jail, FBI detective Robert Stahl (Warren Kole) made her his informant and wants information on her boss Matt Wozniak (Ray Liotta). Wozniak and his team of cops run an illegal underground operation where they accept gifts and money in exchange for protecting criminals.

The premiere episode ended with Wozniak realizing that someone on his team is working with the FBI. He asked Lopez's character to help him find the informant, not realizing that she's the one who's working undercover.

So, will Harlee be able to work as an FBI informant and not get caught by her police family? In a sneak peek for episode 2 Harlee seems very worried that her new undercover gig could get her killed.

At one point she tells Stahl that he doesn't know what he's doing and then smashes the necklace – which has a camera on it – he gave her. In another scene, Harlee is handcuffed as Stahl tells her she has about "85 yards to decide how [she's] going to spend the next 10 years." It's clear Harlee doesn't want to be an informant, but she also doesn't want to go to prison and lose her daughter.

According to an official synopsis (via TV Guide), viewers will also see Wozniak start to zero in on people he believes could be the informant.

"Wozniak sees informants everywhere," the synopsis reads. "So Harlee suggests that he polygraph the entire crew."

The synopsis also teases that "an appeals case causes Wozniak to watch tapes from his first encounter with Harlee and Espada (Vincent Laresca) helps Tess (Drea De Matteo) deal with her husband’s infidelity."

"Shades of Blue" airs Thursdays at 10 p.m. on NBC.