Cook was a high school All-American and three-time All-District selection at Lamar High School in Houston, Texas. He was a four-star cornerback recruit coming out, with offers from over two dozen teams across the SEC, Big 12 and Big 10. Ultimately, he chose to commit to the University of Texas after visiting the campus in Austin, along with trips to LSU and Ohio State.
He started his career at Texas playing special teams and cornerback before transitioning to a more versatile role in the secondary. He earned an honorable mention All-Big 12 selection in 2022 along with the Fred Jacoby Sportsmanship Award at the 2022 Alamo Bowl.