Image: Getty

A knife-wielding prisoner got super close to Sean “Diddy” Combs.

According to Diddy’s friend, Charlucci Finney, another inmate pressed a makeshift blade to the mogul’s throat.

Finney revealed that an inmate with a shiv snuck into Diddy’s jail cell and could’ve seriously harmed him while he was sleeping at the Metropolitan Detention Center in Brooklyn.

Finney is not sure if Diddy fought the guy off or if guards intervened, but he definitely knows it happened.

Finney, who’s been tight with Combs for over 30 years, thinks this close call was more of a warning than a real assassination attempt.

He said, “If this guy had wanted to harm him, Sean would have been harmed. It would only take a second to cut his throat with a weapon and kill him.”

Diddy’s legal team highlighted the violent threats during his federal sex trafficking trial.