Most of what we know about Socrates comes from what was written about him by Plato. Socrates is a speaker in most of Plato's dialogues. However, it is widely believed that only some of Plato's dialogues are authentic in the sense that they are actual transcripts of dialogues between Socrates and others. Plato used Socrates as a speaker in his later dialogues, which are believed to be entirely Platonic and were written long after Socrates's death (see also the Trial of Socrates).
The problem of which (if any) of Plato's dialogues are truly Socratic and which are Platonic is called the Socratic problem.
Usually, the early dialogues, especially the Apology, are believed to be Socratic, while in the later dialogues Socrates's ideas gradually give way to Plato's own.
Popper
As for political ideas, Karl Popper treats the Socratic problem in his first book of The Open Society and Its Enemies (1945).