Researchers developed an auditing technique to test generative AI models for malicious capabilities, without prompting them for illegal outputs.