For much of 2025, a nagging worry hung over cybersecurity stocks: what if artificial intelligence made security software obsolete? The logic was simple — if AI could automate threat detection, why would companies keep paying for expensive security suites? That fear helped drive a sell-off in the sector earlier this year.
But a growing body of evidence suggests the opposite is happening. AI is not shrinking the cybersecurity market; it is expanding it. The latest proof comes from Palo Alto Networks, one of the largest pure-play cybersecurity firms, which reported strong revenue growth for its most recent quarter. The company's results are the latest in a string of upbeat reports from the sector, and they support the thesis that AI is a tailwind, not a headwind, for security spending.
Why AI is a double-edged sword for security
The initial market fear was understandable. AI can indeed automate certain security tasks — scanning logs, flagging anomalies, and even responding to low-level threats. That could reduce the need for some manual security work and potentially lower the price of basic protection.
But the reality is more complex. AI also creates a much larger attack surface. Every new AI application, every automated workflow, and every piece of software generated with AI assistance adds more code, more connections, and more potential vulnerabilities. Companies now have to protect not just their existing systems, but a rapidly growing pile of new digital assets.
As one industry observer put it, “More AI means more to protect, and more opportunity.” That is the core of the bull case for cybersecurity stocks.
Palo Alto Networks' revenue growth is a concrete sign that this dynamic is playing out. The company, which sells firewalls, cloud security, and AI-powered threat detection, is benefiting as enterprises scramble to secure their expanding digital estates.
What this means for investors
For everyday investors, the takeaway is that cybersecurity remains a structurally growing market, even as AI disrupts parts of the tech landscape. The sector has been volatile, with stocks like Palo Alto Networks swinging on fears of AI-driven disruption. But the latest earnings suggest those fears may be overblown.
Investors should also note that cybersecurity is not a monolith. Some subsegments — like AI-specific security tools — are growing faster than others. But the overall trend is clear: as companies adopt more AI, they need more security, not less.
That said, cybersecurity stocks are not without risk. They trade at premium valuations, and any slowdown in enterprise IT spending could hit the sector hard. Also, competition is intense, with both established players and startups vying for market share.
Broader market context
The cybersecurity rally comes amid a mixed backdrop for stocks. AI stocks have been lifting US futures even as Treasury yields hit multi-decade highs. Higher yields can pressure growth stocks, including cybersecurity names, by making future earnings less valuable today. But the fundamental demand story appears strong enough to offset some of that pressure.
Investors are also watching the upcoming jobs report, which could influence the Federal Reserve's next move on interest rates. A strong labor market might keep rates higher for longer, which could weigh on tech valuations. But for cybersecurity, the secular growth trend may be more important than the macro cycle.
The bottom line
The fear that AI would kill cybersecurity was always too simplistic. AI is not replacing security; it is making it more essential. Palo Alto Networks' latest results are just the latest evidence that companies are spending more, not less, on protecting their digital assets.
For investors, the message is clear: cybersecurity is a sector where AI is creating opportunity, not destroying it. But as with any growth stock, it pays to be selective and to keep an eye on valuations and the broader economic environment.

