Josh Waring, the son of former The Real Housewives of Orange County star Lauri Peterson, can’t seem to stay out of trouble in jail — where he has been waiting for the past two years to face attempted murder charges.

According to court documents obtained exclusively by RadarOnline.com, Waring is under fire for numerous dangerous and serious behavioral problems, including slashing one inmate with a modified razor in August and another inmate in December.

In his declaration, Orange County Sheriff’s investigator Donald Lee also said Waring, 28, has been caught with porn, prescription drugs and “pruno,” or jail wine.

As Radar readers know, ex-RHOC cast member Peterson has long been in agony over her troubled son Waring’s jail drama.

PHOTOS: Sorry, Not Sorry? ‘RHOC’ Reunion Ignites Massive Cast War

Waring, who appeared on the Bravo show years ago, was charged with attempted murder after allegedly opening fire on two people in Costa Mesa and then leading cops on a wild car chase on June 20, 2016, as RadarOnline.com has reported.

Prosecutors charge that Waring allegedly shot and wounded Daniel Lopez, 35, outside a sober living home.

Waring reportedly got into a confrontation earlier that day with one of the residents.

He then returned to the home and allegedly shot Lopez, who miraculously survived his serious injuries.

PHOTOS: ‘RHOC’ Star Meghan King Edmonds Gives Birth Two Weeks Ahead Of Due Date

Now Radar can reveal that new court papers about Waring state that in addition to allegedly slashing another inmate, in May, he supposedly tampered with a jail security device to create a disturbance.

For his part, Waring claims he has been the victim of “outrageous government conduct” and said his phone calls with his family were unlawfully monitored and recorded by Orange County Sheriff’s when he was first arrested in 2016.

As part of the affidavit, Sheriff’s investigators stated their concerns involving Waring and drugs.

In his declaration, Lee said Waring’s girlfriend, Hayley Pintek, was caught trying to smuggle heroin into the jail for Waring.

PHOTOS: ‘RHOC’ Drug Scandal! Kelly Dodd Accuses Tamra Judge Of Steroid Abuse In Wild Claim

Pintek was arrested on May 8 and pleaded guilty to felony sale or transport of a controlled substance.

Sheriffs also arrested attorney Fergus Ginther on November 8, 2017 for allegedly attempting to give Waring meth while in jail.

Waring is now representing himself, according to his latest filing.

In his declaration, Lee said Waring has been disciplined at least 20 times for misconduct inside the Orange County jail and has been punished in various ways, including losing television privileges to a month in solitary confinement.

PHOTOS: Vicki’s Revenge! Gunvalson Plots With Bravo To Bring Gretchen Rossi Back To ‘RHOC’

In a June 5 affidavit, Waring subpoenaed Orange County Sheriff’s officials to provide him with a list of phone numbers on his “do not record” phone call list.

However, attorneys representing the Orange County Sheriff’s said Waring’s request has nothing to do with his motion to dismiss his case and also would violate the rights of the individuals whose private phone numbers are included on the list.

The list that Waring is trying to get his hands on reportedly includes law enforcement, attorneys with the public defender’s office, members of the Orange County Bar Association, religious advisors and physicians.

While the phone numbers on the “do not call list” are not recorded, others, including Waring’s conversations in jail with his family, are recorded. Orange County Sheriff’s officials argue in the court docs that those calls do not fall under the attorney-client privilege and are recorded under jail policy.

PHOTOS: Show Shakeup! ‘RHOC’ Casting Drama Explodes After Meghan’s Shocking Exit

“Producing a list of telephone numbers that are not recorded by law enforcement to any inmate in the jail, but specifically the Defendant (Waring), is dangerous…,” wrote Annie J. Loo, deputy county council for the Orange County Sheriffs Department in the affidavit.

“If the Defendant released the List to other inmates to it was stolen by other inmates, then the opportunities for abuse multiplies. … Moreover, the individuals privacy rights must be balanced against Defendant’s need for the information in defending himself against the charges in this case. As discussed above, the Defendant has not shown how the List is relevant to his case.”

Waring is scheduled to appear in court on June 26 to discuss his motion to dismiss the case, his subpoena for the phone records list, and the county council’s response to stop that subpoena.

As Radar previously reported, Waring was hit with divorce papers from his wife Hannah while he was in jail after allegedly threatening to stab her. She said in legal docs that they split up in March 2015.

We pay for juicy info! Do you have a story for RadarOnline.com? Email us at tips@radaronline.com, or call us at (866) ON-RADAR (667-2327) any time, day or night.