Capital is flowing out of traditional software companies and into cybersecurity firms as investors recalibrate their exposure to the artificial intelligence boom.

While the broader software sector faces mounting pressure from valuation concerns and a retreat in venture capital funding, cybersecurity names are emerging as a distinct beneficiary of the AI revolution.

Market participants are increasingly viewing robust cyber defenses not just as a cost center, but as a critical infrastructure requirement in an era where AI-generated threats are becoming more sophisticated and frequent.

The divergence in performance highlights a shift in how markets are pricing technology risk.

The so-called "SaaSpocalypse" — a term used to describe the prolonged downturn in software-as-a-service valuations — has intensified, with many pure-play software stocks struggling to justify premium multiples.

In contrast, cybersecurity companies are seeing renewed interest as enterprises accelerate spending on security to protect against AI-enabled attacks.