A worm-type attack has been devised that could hit Twitter users.