From Longman Dictionary of Contemporary Englishthe joker in the packthe joker in the packFUTUREsomething or someone whose effect on future events cannot be known → joker
Examples from the Corpus
the joker in the pack• It was I, the unexpected tenant of the empty cottage, who was the joker in the pack.