detecting vulnerabilities in AI code