North Korea exists at the sufferance of China. At any time, the CCP could shut the Kim regime and it would collapse within a week. You can bet that any technology that the North Koreans have come from China or Russia.
And Iran. They do tech transfer with Iran too