undercover man
nounDefinition of undercover man
: one who undertakes to secure evidence of criminal or illegal actions by working with or among those who are under suspicion
also
: one who secures a position (as in a business or factory) for the purpose of illicitly obtaining confidential information