Just speculating, without knowing how we could get to such a predicament.
2. How would you identify that what you've created is an AI?
3. Under what circumstances would you decide to trust the AI that you've created?
4. Under what circumstances would you be confident to feed a potentially malicious potential AI to your trusted AI?
But more to the point, who knows what it can convince the astronaut to do? Can it convince the astronaut to transmit a hostile message back to Earth, suborning the receiving computer, and thereby letting the AI out of the box?
In the AI alignment field, this is called the "value drift" problem.
I may have been unclear: the astronaut is never intended to leave the box, he burns with the box. The astronaut is paralyzed save for his tapping finger, and on a doomed one way trip.
[0] http://yudkowsky.net/singularity/aibox/