mitigating AI security vulnerabilities