A mortgage-backed securities dealer at Bayview Financial nearly got the Coral Gables, Fla.-based mortgage firm in trouble with regulators for altering borrowers’ credit scores on securitized home loans.

The Securities and Exchange Commission investigated Bayview last year after an annual company audit uncovered the scheme.