The problem you mention is why we have references, which you’re asked for when you apply to any job or use a recruiter (at least, a good one). Those references should be coworkers who can testify to their productivity, ability, and team fit.
If at least two people who worked closely with someone like them enough to give a referral, they are probably worth hiring.
If at least two people who worked closely with someone like them enough to give a referral, they are probably worth hiring.