SAN FRANCISCO — Four years ago, Edward J. Snowden’s disclosures that the federal government was hacking America’s leading technology companies threw the industry into turmoil.

Now WikiLeaks has shaken the tech world again by releasing documents Tuesday that appear to show that the Central Intelligence Agency had acquired an array of cyberweapons that could be used to break into Apple and Android smartphones, Windows computers, automotive computer systems, and even smart televisions to conduct surveillance on unwitting users.

Major technology companies, including Apple, Google and Microsoft, were trying to assess how badly their core products had been compromised. But one thing clearly had been ruptured yet again: trust between intelligence agencies and Silicon Valley.

“After the Snowden disclosures, the Obama administration worked hard to re-establish relationships and government-industry partnerships,” said David Gutelius, chief executive of the marketing technology company Motiva, who has worked with the federal government on national security projects. “This leak will challenge those ties to some extent. But I don’t see companies simply walking away from the table as a result of this. Government and industry still need one another.”