Facebook gaffe highlights risks of “leaky” platforms