Idiom
sniff out someonesniff out (someone/something)
to discover someone or something, usually only after a special effort.Part of their job is to sniff out talented new writers.The FBI knew they had a double agent in their midst, but it took years to sniff him out.