For what it's worth, if I wasn't on the brink of an arrest, I wouldn't have left. I'm under firm belief that you have a bigger role to play when you're in a position to get information easily.
But with that being said, if you feel for your safety or if you feel like your morals and ethics are being compromised, then quitting may be an option to truly consider.