A second Boeing whistleblower has died unexpectedly as the company faces scrutiny over safety failures on its passenger jets.

Joshua Dean, a quality inspector for the Boeing supplier Spirit AeroSystems, died this week after a surprise infection left him in critical condition for days, according to his family.

The cause was Methicillin-resistant Staphylococcus aureus, an antibiotic-resistant staph infection commonly known as MRSA, his aunt Carol Parsons told the Seattle Times, which first reported the death.

BOEING WHISTLEBLOWER'S MOM LAYS BLAME FOR SON'S DEATH DEEMED APPARENT SUICIDE IN NEW INTERVIEW

Joshua Dean with a buzzed head smiles wearing a gray hoodie in a family photo

Boeing whistleblower Joshua Dean pictured in an undated family photo. The 44-year-old succumbed to an antibiotic-resistant staph infection. (Jenny Dean/Facebook)

The 44-year-old lost his job in 2023 and filed a retaliation complaint with federal labor officials, alleging that he was only fired for speaking out.

Dean had been deposed in connection with a shareholder lawsuit and had reported dangerous faults in components of Boeing’s 737 MAX plane — a model linked to a number of catastrophes in recent years.

The family shared in a Facebook post Monday that doctors warned them Dean had a "50/50 chance of living."

Boeing 737 MAX jet lands over a Spirit AeroSystems logo in Paris

A Boeing 737 MAX-10 lands over the Spirit AeroSystems logo during a flying display at the 54th International Paris Air Show at Le Bourget Airport near Paris on June 22, 2023. (Reuters/Benoit Tessier/File Photo)

BOEING WHISTLEBLOWER JOHN BARNETT WAS SPIED ON, HARASSED BY MANAGERS, LAWSUIT CLAIMS 

In describing the agonizing condition, they revealed the infection had "totally" taken over his lungs and asked for prayers. Days before his death, doctors were considering amputating his hands and feet, but he was too weak for surgery.

"Our thoughts and prayers are with Josh and his family," Dean's attorneys, Brian Knowles and Rob Turkewitz, told Fox News Digital on Thursday. "Josh's passing is a loss to the aviation community and the flying public. He possessed tremendous courage to stand up for what he felt was true and right and raised quality and safety issues."  

Boeing building

Signage outside the Boeing Co. manufacturing facility in Renton, Washington, on Feb. 5. Boeing Co. found more mistakes with holes drilled in the fuselage of its 737 Max jet, a setback that could further slow deliveries on a critical program already restricted by regulators over quality lapses. (David Ryder/Bloomberg via Getty Images)

He was being represented by the same law firm that was working for John Barnett, another Boeing whistleblower who police in Charleston, South Carolina, found dead from an apparent self-inflicted gunshot wound on March 9.

"Aviation companies should encourage and incentivize those that do raise these concerns," the lawyers said. "Otherwise, safety and quality are truly not these companies' top priorities."

Barnett, 62, was found dead of a gunshot wound outside his hotel the day after he gave a deposition in connection with his own retaliation lawsuit.

Barnett had sued Boeing, claiming that he had been retaliated against, harassed and spied on by the company. He never showed up for his second day of depositions. His lawyers started making calls, and hotel workers found him dead in the parking lot.

BOEING WHISTLEBLOWER'S LAWYERS DEMAND FULL INVESTIGATION INTO MYSTERIOUS DEATH MID-DEPOSITION

John Barnett in a remote interview with TMZ

Boeing whistleblower John Barnett spoke out about the company's practices in January. (TMZ)

In January, Barnett told TMZ that he was concerned that Boeing was returning its 737 Max 9 jets to the sky too quickly, after the incident in which an Alaska Airlines jet's door panel blew off mid-flight.

Boeing has struggled with safety concerns about its 737 Max airplanes.

CLICK HERE TO GET THE FOX NEWS APP

CEO Dave Calhoun announced that he would step down at the end of the year. Other executives, including the head of the 737 Max program, and board members are also leaving the company amid the fallout.

Barnett said he had learned of the issue while working at Boeing's North Charleston plant in 2010 and claimed to have raised the issue with management, but to no avail. Instead of tackling the issue, his lawyers allege, the company retaliated against him and subjected him to a hostile work environment, leading to the lawsuit for which he was being deposed.

The Federal Aviation Administration reviewed Boeing in 2017, corroborated some of Barnett's allegations and ordered the company to take action.