Secondary jobs in security for thousands of NYPD cops at places from banks to Yankee Stadium is in jeopardy as a new contract raises questions about who’s responsible if an ­officer gets sued or injured, sources said. This raises serious questions about LEO security jobs across the United States.

The contract, signed by a company when an LEO takes a secondary position, was amended to make clear that the firm is responsible for any medical coverage or legal issue that the ­officer might encounter while working such details.

The NYPD made the decision to amend the pact after a suit was filed against an off-duty cop working for a company.