According to the show's writer, the inspiration behind the secret invasion was from 2007's Annihilation storyline.