Bruce Webb asked “Does Social Security contribute to the Debt? To the Deficit?” in "Deficits, Debt, Social Security: Building your Conceptual Toolkit" (here). My response to this question was a resounding “NO”. The reason I feel strongly this is the case is that Social Security is not government spending.
You can find out why after the squiggle.