ai code generation security