They just couldn’t resist.

Two North Korean spies were caught on camera stealing what they thought were top-secret missile designs — giddily snapping pictures of the plans — which in reality, were completely fake.

The gullible government agents were tricked by authorities in Ukraine during a 2011 sting operation, according to CNN.

Officials released footage from the bust on Thursday, saying they convicted the pair of espionage and have denied them extradition.

Ukrainian officials told CNN that the two men had been in the country seeking “ballistic missiles, missile systems, missile construction, spacecraft engines, solar batteries, fast-emptying fuel tanks, mobile launch containers, powder accumulators and military government standards.”

The former Soviet republic was once home to countless nuclear ICBMs and reportedly still produces the weapons today as it deals with Russian-backed insurgents in countries to the east.

The documents that the spies thought they were photographing ultimately showed designs for a SS-24 Scalpel intercontinental ballistic missile, which was manufactured by the Soviet Union. The ICBM has the ability to carry up to 10 warheads and would be a drastic improvement for the North.

The two men who were caught on tape were filmed in a garage with a hidden camera, CNN reports.

Authorities said they had been mingling with Ukrainian missile experts before the sting operation — in the attempt to gain top secret information — but were eventually ratted on.

Pyongyang has been trying to advance its nuclear weapons program for years as a way to deter the US from overthrowing its communist regime.

Experts say the Ukraine security footage provides a rare glimpse into what the North Koreans have been doing over the past two decades to try and keep up.

The spies who were captured are reportedly serving an eight-year prison sentence in Ukraine.

“They have asked Ukrainian authorities to be extradited to North Korea to continue their sentence,” said Denys Chernyshov, Ukraine’s deputy minister for justice. “But because they are held for spying for North Korea, we obviously declined their request.”

The pair may want to remain in Eastern Europe, though, seeing how they failed their mission.

“That their task was unsuccessful, they cannot expect much of a hero’s welcome on their return,” Chernyshov said.