She'd have to have cover to blow, first...whoever revealed her role was blowing Wilson's "I'm a truthteller" cover, not some super-secret double naught spy's cover.
She was undercover at one point. No question about that. That is not an ambiguous point.