Self-replicating AI worms could become a threat in 2027, but there are ways to spot them.