On the edge of fraud for sure.
Switch lenders if you can and make it legit do it. Sounds like he's going to be doing a rework anyway.
One day banks will pick up on when they look at the transfer and they figure out if the SD paid is for O/Occ or inv.
Depending on the lender you might get...