The endorsement is the responsibility of the bank that accepts it for deposit. They guarantee the endorsement. It is your resposibility to verify the signers on the check one or in this case there must be two. You have to follow the midnight rule and either pay or return within 24 hours. The next day after receiving the check. You do not say anything about the drawee of the check having any connection with the payee of the check and that is beside the point anyway, unless if it is the same person ie company and they are kiting.
_________________________
Opinions stated are not necessarily that of my employer.