Foundation's main contract used to mint collections contained a “self-destruct” function that posed a threat to its collections, 0xngmi said.