dark horse (n.)

"competitor for honors or office about whom nothing certain is known, or whose identity is at first concealed," especially, in U.S., politics, "one who is unexpectedly brought forward as a candidate in a convention," 1842, an image from horse racing, of horses whose performances or capabilities are not generally known, in which dark is used in its figurative sense of "unknown."

Moonraker is called a "dark horse"; that is neither his sire nor dam is known. ["Pierce Egan's Book of Sports," London, 1832]