We know they are cops because a uniformed officer stopped them and they presented fed credentials. The interaction is on the uniformed cop's bodycam video. We only know because the DOJ screwed up and didn't designate this video "protected".

There were probably many, many more undercovers we won't know about for years, if ever.