Former White House communications director Anthony Scaramucci is demanding a paternity test to determine whether he is the father of his estranged wife's son, according to a report.

"He is actually contesting the paternity of the newborn, which is the same as dropping a hand grenade into any divorce action and possible amicable resolution, and Deidre strongly rejects his claim," an anonymous source told Page Six, referring to Scaramucci's wife Deidre Ball.

The test had not been conducted yet but it may be ordered as part of an upcoming hearing relating to their divorce, proceedings the source added.

Scaramucci's lawyer, Leonard Sperber, did not return Page Six's request for comment.

Ball filed for divorce at New York's Nassau County Supreme Court in July while nine months pregnant with baby James, after reportedly growing weary of the financier's political ambitions. The pair had married in 2014.

Scaramucci also reportedly missed the birth of the child to attend Trump's speech at the 2017 Boy Scouts Jamboree, instead sending Ball a text message saying, "Congratulations, I'll pray for our child."

Scaramucci headed the Trump administration's communications shop for about 10 days, during which he inadvertently gave an expletive-riddled interview to the New Yorker.

Scaramucci and Ball have one other child together, in addition to his two older children from his previous marriage to Lisa Miranda.