AI systems threat analysis mechanisms and tools