Wall Street’s technology trade came under renewed pressure Friday, capping a week in which investors confronted fresh doubts about the economics of artificial intelligence and new fears over the security of the digital economy as computing technology advances.

For months, Wall Street has been fretting over whether the AI boom will generate enough money to justify the vast sums being spent on it. Bitcoin’s 20% crash since Tuesday brought a different tech risk into focus. Long a barometer of speculative appetite, the cryptocurrency offered a possible early warning of the vulnerability of the systems that safeguard digital wealth.

The world’s largest cryptocurrency plunged below $50,000 to a more than two-year low in a bout of selling that evoked memories of the FTX era. Amid concerns over advances in quantum computing, US officials and technology giants, including OpenAI, urged an accelerated overhaul of the cryptographic systems that help secure everything from digital currencies to online banking.

Whatever investors make of crypto as an asset class, some of the same technology companies driving the bull market are helping advance research that could eventually force a costly overhaul of the digital infrastructure on which much of the global economy depends.

Paul Nolte found himself wondering this week about the security of bank and brokerage accounts.

“Do I buy Oracle, IBM or Microsoft? I’m equipped to do that. But this part is different because I can’t do anything about it,” said Nolte, market strategist and senior wealth manager at Murphy & Sylvest Wealth Management. “How secure is my stuff was never a question before.”

The S&P 500 dipped to an intraday low Friday after a report that hackers tied to China infiltrated several US agencies. Traders worrying over cyber attacks sought safety in Cloudflare Inc. and Palo Alto Networks Inc., driving their stocks up at least 27% this week to record highs. The largest cybersecurity-focused ETF (ticker CIBR) attracted money for a fourth straight week, raking in almost $1 billion over the stretch.

While the broader technology trade was spared anything like the carnage in crypto, the week offered little respite from the volatility that has accompanied the AI trade of late. The Nasdaq 100 entered the week with two straight days of more than 1% gains, only to lose steam and slide 2.6% Friday as fresh doubts over OpenAI’s commercial prospects rekindled concerns about the returns on all that spending.

The erosion of confidence in Nvidia Corp., once the market’s most reliable expression of AI optimism, has been particularly striking. The stock fell nearly 8% after a report that the chipmaker is likely to delay filing its quarterly financial statements. Chief Executive Officer Jensen Huang also faced bruising questioning in Congress over the company’s dealings in China.

Read more: Nasdaq plunges 550 pts, S&P falls 1% as AI stocks erase Wall St's gains for the week

Once a market darling, the stock has lost more than 40% of its value since its October peak.

The technology news competed for traders’ attention with a confounding set of economic data: US payrolls unexpectedly contracted in November even as unemployment fell, complicating the case for further Federal Reserve rate hikes. The central bank is expected to raise rates by 25 basis points next week, with at least two more hikes over the next four months.

Wall Street has spent decades honing its ability to parse economic data and corporate earnings for clues about the value of its investments. Increasingly, vast sums of money also ride on judgments for which investors have far less historical precedent: how fast the tech will advance, who will make money from it and what governments will allow.

For Max Gokhman, head of AI and digital asset solutions at Franklin Templeton, that has meant something of an education in quantum computing. He’s been teaching himself everything he can about the technology and PQC (post-quantum cryptography), with help from the AI research analyst his team built. This agentic analyst monitors scientific, company and prediction market developments to assess their implications for the group’s active positions.

Read more: Fed rate hike seen next week, with two on tap in 2027

“With AI swarms able to brute force incredibly complex computations — see: Navier-Stokes, GRH, etc. — bad actors will naturally be using them to crack encryption too,” he said. “So, futureproofing is a requirement and to prepare for the future you must understand what dangers it will surface.”

Global spending on cybersecurity equipment and services will grow at a 10% annualized rate over the next decade, reaching $170 billion by 2035, according to a July estimate by Bloomberg Intelligence analyst Erhan Gurses.

The Nasdaq 100 rose 0.6% over the week while the S&P 500 was flat. Ten-year Treasury yields increased for the first time in three weeks, hovering near 5%.

The AI trade itself has become more volatile toward the end of the year as investors weigh the technology’s potential against the risk of an investment bust. The uncertain pace of AI adoption makes revenue and earnings forecasts particularly fragile. Capital spending is surging, but the payoff remains unclear. The AI rollout could strain the economy’s capacity and add inflationary pressure well before any productivity gains help ease it.

Investors are already putting a lower price on the earnings that analysts are projecting for tech companies. At roughly 18 times estimated earnings, the Nasdaq 100 is trading near its lowest valuation since 2020.

“The market continues to adjust to the two-sided nature of the AI trade,” said Mark Hackett, chief market strategist for Nationwide. “This new reality likely takes the hyperbolic returns of the past several years off the table, resulting in a more choppy and sometimes frustrating move higher.”