Question: is social security part of federal budget?
Answer: Medicare and Medicaid can, but not Social Security. Social Security is self-funded. And Congress did declare in 1990 that Social Security spending and its build-up with reserves are not a part of the federal budget (see this Wikipedia article for background).