candidate: While at a party thrown by Nate , Dan discovers that she is Gossip Girl and he blackmails her with this information as she is trying to get Blair to default on her marriage to Louis , thereby effectively ruining her family 's financial security .