They also had an extensive industrial espionage program. In particular, most of the integrated circuits made in the Soviet Union were not original designs. They were verbatim copies of Western op-amps, logic gates, and CPUs. They had pin- and instruction-compatible knock-offs of 8086, Z80, etc. Rest assured, that wasn't because they loved the instruction set and recreated it from scratch.
Soviet scientists were on the forefront of certain disciplines, but tales of technological ingenuity are mostly just an attempt to invent some romantic lore around stolen designs.