Lil Poopy, the young Brockton, Mass., rapper who has received criticism for starring in music videos with sexual themes at the tender age of 9, allegedly has a father who exposed him to heroin and cocaine.

Lil Poopy, real name Luie Rivera Jr., was 7 years old when the Brockton Police Department descended on the apartment he shared with his father and a sibling and discovered cocaine and heroin in the home in November 2010, police told the Boston Herald.

Critics of Poopy’s videos, including the raunchy “Pop That Remix” that has more than 375,000 YouTube views, complain that a young child should not be featured in music videos that include the rapper smacking a woman’s large derriere and repeating, “Coke ain’t a bad word.” The outcry over the video prompted Massachusetts authorities to launch a child abuse and neglect investigation, CNN reported.

Joseph Krowski Jr., the attorney for Lil Poopy’s father, acknowledged that the elder Rivera is facing drug charges but noted that the abuse accusations are just allegations at this point.

“There are many parents who are charged criminally in Massachusetts and don’t face 51A investigations,” Krowski told the Herald, referring to the mechanism used to launch the abuse and neglect probe. “This action has nothing to do with that. Those cases are long passed.”

Rivera stood by his son’s rap videos, which show Lil Poopy flaunting bundles of cash and partying with older rappers, telling the Herald that the young rhymer “did nothing wrong.”

But at least one Massachusetts officer said the videos are inappropriate.

“It’s a bit much for a 9-year-old. It warrants the attention of the Department of Children and Families,” Brockton Police Lt. David Dickinson told the Brockton Enterprise.

Lil Poopy is part of the “Coke Boys” rap group and makes about $7,500 for each performance, his father told the paper.

In the Enterprise interview, Rivera defended his son’s butt slapping and compared the act to how baseball players praise each other after a good play.

“When you hit a home run, when you go to the bleachers, they tap you on the butt,” Rivera said. “He’s not doing anything wrong.”

Brockton community activist Ollie Jay Spears, who said he has viewed the Lil Poopy videos, called the clips “disgusting” and said he couldn’t sit through the videos.

“A 9-year-old with stacks of money and rapping about glorifying the drug trade and demeaning women? A kid at the third- or fourth-grade level talking about coke? It’s not entertaining. That’s borderline child abuse,” he opined.