Thorium based Nuclear Power does not produce much Plutonium-239, which is the preferred material used in nuclear bombs. The higher Plutonium isotopes and other TRansUraniums are about as nasty as they get, need expensive protection against terror attacks, and need to be stored for a very long time.
One anecdote from my youth. The time had come to apply to University, and to my delight I was accepted to Chalmers’ University in Sweden as a Technical Physics major. I felt, maybe I can do my part by becoming a Nuclear Engineer and help solve the energy needs of the future. The Swedes at that time championed the heavy water – natural Uranium program together with the Canadians. Sweden is a non-aligned country, so it was not privy to any atomic secrets, it had to go it alone. They settled on the heavy water moderated natural Uranium process because Sweden had an ambition to produce its own nuclear bomb. Officially this was never talked about, and I was not aware of it at that time. They could have gone with Thorium instead, but a Thorium based nuclear reactor produces very little Plutonium, and what it produces is nearly all Pplutonium-238, not fissile and as such not suitable for bomb making.
I was excited to learn about all the possibilities and signed up for a couple of nuclear classes. One lab was to design a safety circuit, then run the heavy water research reactor critical and hopefully watch the reactor shut down from the safety circuit before the system safety circuit shutdown. About that time the word came that U.S. will sell partially enriched uranium at bargain basement prices if Sweden agreed to abandon the heavy water project and sign the nuclear non-proliferation treaty, a treaty being formulated by U.N.
Sweden was in awe about U.N, all the problems of the world were to be solved through it, and it had such a capable General Secretary in Dag Hammarskjöld, a Swede. I looked at the light water, partially enriched Uranium nuclear power plants being developed and decided to have no part with it, not due to safety concerns but it was the design that produced the most nuclear waste of any of the available designs. At that time there was still optimism that fusion would be ready by about the year 2010 or so. The cost of maintaining spent fuel in perpetuity was never considered, so light water reactors became the low cost solution.
India on the other hand refused to join the nuclear non-proliferation treaty, kept their heavy water program going and had by 1974 produced enough plutonium for one nuclear bomb, which they promptly detonated. They still use heavy water moderated reactors, but since India is low on Uranium but rich in Thorium they have now converted one heavy water reactor to Thorium with a Plutonium glow plug. It went on-line in 2011.
They are also developing molten salt Thorium reactors, but full production is still a few years off.
There we have it. We could have gone with Thorium from the beginning, but the cold war was on, and the civilian peaceful use of nuclear energy was still all paid for by nuclear weapons research and development. Once all the bombs we could ever wish for were developed the greatest asset of nuclear power became its greatest liability.