It was a slur against collaborators with communism, not against social democrats: https://quoteinvestigator.com/2019/08/22/useful-idiot/
Re:Safe Superintelligence Inc.
by DiogenesKynikos on Sunday June 30, 2024 @11:48PM
(#40842373)
The slur was originally directed against social democrats by conservatives who accused them of helping communism.
Later, the term became a much more general slur used by conservatives against anyone who wasn't sufficiently "tough" against the USSR.
Lenin never used it. It didn't even exist during his lifetime.