It looks like fans aren’t the only ones watching Rob Kardashian and Blac Chyna battle it out on social media over their daughter, Dream Kardashian.

Apparently officials have been keeping an eye on the high profile back-and-forth between the reality stars as well. Now, they are both at risk of losing custody of the child after the two exposed one another on social media.

The L.A. county Department of Children and Family Services has already taken action against Kardashian and Chyna (whose real name is Angela Reneé White), in an effort to keep Dream safe from all of the messy drama, TMZ reported Monday. Insiders told the publication that the department started an investigation about Chyna’s reported issues with drug abuse that sparked before she and Rob called it quits for good. She has already taken out a restraining order against her now ex-fiance following her claims that he physically abused her.

Meanwhile, the custody battle continues for the two, who once planned to spend the rest of their lives together. Rob and Chyna’s legal team have been working for months to get to a joint custody agreement. It’s not clear how the restraining order could impact that.

Despite blasting each other in public, Rob has been said to be confident in Chyna’s ability to be a responsible and reliable parent to Dream. But his famous sisters and mother reportedly sing a different tune because of the drug allegations.

On top of that is the disagreement of child support. Word is Rob doesn’t think Chyna should get as much as she has requested but they’re working toward reaching a consistent and stable agreement for their daughter.

Rob and Chyna sparked controversy when it came out they were dating one another in January of 2016. Things quickly got ugly with the Kardashians and Chyna because the sisters were already feuding with Chyna for multiple reasons – including the notion that she has a son with rapper Tyga, who Kylie Jenner was dating at the time. Chyna and Jenner had been going back-and-forth on social media in a major feud. Still, they were able to come together only for Chyna and Rob to call it quits and end their relationship in a super ugly battle on social media. In between time, they announced their engagement, their breakup, and the birth of baby Dream.

Be sure to keep up with Enstars for the latest.