He said it is the international community 's duty to prevent any nuclear tests on the Korean peninsula .