The whole town knows of Tarik. He’d been active as a thief and fraud for years until someone managed to prove his crimes. Since his quite peculiar trial, he’s been working for the judge. At the same time, he still has excellent contacts with the guild. So he’s definitely a double agent. I leave it to his superiors to decide which side he’s on for real.