A federal judge reprimanded Social Security's acting commissioner on Friday after he told the media that a recent ruling may force him to shut down the agency.