Create a workflow for detecting and preventing AI-generated hallucinated package names in software development. Include steps for reproducible testing, establishing detection metrics, and implementing enterprise defense practices. Provide examples of how to validate package names and integrate this process into existing CI/CD pipelines.