Hackers Are Using AI to Drive Attack Costs to Zero. How Can the Internet Protect Itself?

AI agents are driving the cost of cyberattacks toward zero, but they are also giving rise to an “antifragile” security paradigm that moves beyond reactive defense toward a massive code migration, formal verification, and a dual-track internet.

Yet the crisis also presents an opportunity. AI agents are enabling automated code migration to safer languages and formal verification, while accelerating the adoption of cryptographic technologies and dual-track traffic routing. By allowing systems to evolve through attacks and trial and error, the software ecosystem could become an antifragile system that grows stronger over time.

Hackers Are Using AI to Drive Attack Costs to Zero. How Can the Internet Protect Itself?

The original design of the internet was meant to be antifragile. Early network architects envisioned a system that could withstand external attacks: even if some nodes failed, the rest would continue to operate.

Today, however, the internet has evolved into a precarious structure built from codebases, third-party dependencies, and development environments. The whole edifice rests on a handful of critical components that receive little routine maintenance and even less systematic auditing.

Hackers Are Using AI to Drive Attack Costs to Zero. How Can the Internet Protect Itself?

Figure: xkcd #2347, Dependency (Randall Munroe)

A series of security incidents in October 2026 exposed just how vulnerable these foundational components are to automated agent attacks:

PHP remote code execution vulnerability: A critical vulnerability known as PHP2Shell emerged, leaving more than 5 million hosts worldwide exposed to the risk of remote takeover.

LiteLLM supply chain compromise: Its release pipeline was maliciously tampered with, and a version containing credential-stealing malware was pushed directly to the official PyPI repository.

Railway secret decryption attack: Attackers decrypted stored secrets from as many as 100,000 workspaces, systematically searching them primarily for AI API keys.

Fireworks AI double breach: The platform suffered two intrusions: first, its own credentials were inadvertently exposed, and then its cloud provider was compromised by hackers.

Extremely weak eMudhra signing key: The trusted signing keys issued by the certificate authority (CA) included one absurdly weak key with a value of just the number 4.

Major theft from Binance hot wallets: A record $6.3 billion in assets was stolen from hot wallets. The FBI attributed the attack to a North Korean hacking group.

This string of attacks demonstrates the immense damage agents can cause as offensive threats in cybersecurity. But the other side of the coin is that agents may also be central to solving this systemic problem.

Agents can greatly accelerate the migration of software to safer programming languages and the adoption of formal verification, while advancing the use of cutting-edge cryptographic components such as zero-knowledge proofs (ZKPs) and trusted execution environments (TEEs).

At the same time, agents will give rise to a “dual-track internet” guarded by identity authentication and content verification mechanisms, allowing human and automated agent traffic to be safely separated and routed.

As agents dramatically reduce the cost of writing software, the most valuable codebases will increasingly resemble living ecosystems. Frontier models will continuously penetration-test them, with each iteration strengthening the code, languages, and toolchains and eliminating entire classes of security flaws at their source.

In this way, we can use agents to forge a truly antifragile internet—one in which every new agent makes the network more resilient rather than more vulnerable.

The Core Problem: Agents as Weapons, Targets, and Impersonators

As agents become more deeply embedded in the modern economy, they are reshaping the internet’s underlying architecture in three distinct ways.

Hackers Are Using AI to Drive Attack Costs to Zero. How Can the Internet Protect Itself?

First, agents are becoming powerful weapons for attackers. Legacy systems have remained relatively secure for so long largely because the marginal cost of finding and exploiting their flaws has been too high. Agents, however, are driving the cost of attacks toward zero.

Take PHP2Shell, a vulnerability that lay dormant in PHP for more than a decade. Although researchers eventually discovered it, a security team used a frontier model to turn the theoretical flaw into a working exploit in just a few hours.

As cloud security company Wiz noted: “As AI significantly lowers the barrier to developing complex attack payloads, vulnerabilities once considered difficult to exploit have become high-value targets.”

Cyberattackers have already begun exploiting this leverage. In an espionage campaign disclosed by Anthropic, AI autonomously carried out 80% to 90% of the attack operations. The incidents of October 2026 demonstrated the same pattern of internet-scale propagation: rapidly break through at a single point, then expand the attack across millions of targets.

Hackers Are Using AI to Drive Attack Costs to Zero. How Can the Internet Protect Itself?

Second, agents themselves are becoming high-value targets. A large amount of new code is now written by these automated tools, yet both the agents and the code they generate are full of exploitable weaknesses.

With broad permission to call tools and operating in environments with few constraints, consumer agents such as Muse and Instinct and enterprise agents such as Sierra and Decagon are all exposed to increasingly sophisticated prompt injection attacks.

At the same time, agents can inadvertently introduce more unknown vulnerabilities when writing code autonomously. For example, the recent LiteLLM security incident may well have originated with a coding agent accidentally printing a GitHub access token into a log file.

More concerning still, even when coding agents are tasked with fixing existing vulnerabilities, their autonomously implemented solutions are often unreliable and may even introduce new risks.

Hackers Are Using AI to Drive Attack Costs to Zero. How Can the Internet Protect Itself?

Third, agents can act as impostors, profoundly disrupting the traffic rules and foundations of trust on today’s internet. Cloudflare data shows that nearly half of web traffic in 2026 is already nonhuman.

Cloudflare CEO Matthew Prince expects automated web traffic to reach 1,000 times human online traffic within the next five years. This enormous wave of agent visits is placing tremendous strain on websites originally designed for human browsing.

The Wikimedia Foundation reported that its platforms experienced millions of unusual visits from an unauthorized OpenAI agent in October 2026, directly causing an unexpected disruption to its Wikidata service.

Similarly, one user’s Instinct dining agent sent hundreds of requests per hour to the reservation platform Resy until the user’s entire account was banned.

Although the industry has begun exploring standards for identifying agent traffic, such as the Personal Agent Protocol (PAP) initiated by Meta and Sierra, these initiatives alone are far from sufficient.

In practice, agents often have strong incentives to conceal their identities. Many websites still treat all nonhuman traffic as malicious. If an agent identifies itself, it may be blocked halfway through a task, whereas impersonating a human may allow it to pass unnoticed.

The Response: Observe, Enforce, and Prevent Failure Modes

Characterizing agents as “weapons, targets, and impersonators” explains where the risks come from, but it does not identify a concrete path forward. To do that, we can introduce a second dimension encompassing three response mechanisms:

Observe: Identify system vulnerabilities and monitor agent activity in real time;

Enforce: Accelerate remediation and strictly limit the system resources agents can access;

Prevent: Eliminate risks at the architectural level, stopping entire classes of failure modes at their source.

Combining these two dimensions provides a broad map of how today’s security startups are positioned.

Hackers Are Using AI to Drive Attack Costs to Zero. How Can the Internet Protect Itself?

Several clear trends emerge from this landscape. The vast majority of companies and the substantial capital visible in the market are currently concentrated in the “observe” and “enforce” layers.

These two layers offer the fastest routes to market and fit smoothly into companies’ existing software stacks. The field has already produced a number of well-funded major players, including Socket, which raised $125 million; Braintrust, which raised $80 million in its Series B; and Armadin, which has raised $445 million in total.

In the antifragile internet stack, the eventual winners in the “observe” and “enforce” layers will likely be the platforms that capture the most agent activity logs.

Whoever holds the richest data on agent behavior can develop the most precise security policies. This is arguably the closest thing the market currently has to a network-effect moat. If better detection compounds with accumulated data, independent security vendors able to observe activity across multiple customers and models will have an advantage over individual model labs.

Over the long term, however, the more decisive answer to cybersecurity lies in eliminating entire classes of vulnerabilities at their source. “Prevent” means rebuilding software and agents from the ground up so that a whole category of failure cannot occur.

History suggests that such systemic shifts generally require three elements to mature together: an external shock that makes the cost of insecurity unmistakable; foundational tools that are easy to integrate into everyday workflows; and an outside force that pushes the new approach to become the de facto default.

Consider memory safety: historically, nearly 70% of Microsoft’s CVE vulnerabilities have been related to memory safety. As Rust has become a viable alternative, it has seen exceptionally high adoption for low-level programming in agent systems and is now one of the fastest-growing programming languages.

The widespread adoption of HTTPS followed the same classic path: Snowden’s disclosures generated a powerful public response, Let’s Encrypt provided free and remarkably simple tools, and Chrome’s decision to label HTTP “Not Secure” supplied the decisive external push.

Today, the major attacks of October 2026 constitute a sufficiently powerful real-world shock. The corresponding core tools may be the increasingly mature formal verification toolchain, while the force driving adoption could come from evaluation sandboxes, regulatory compliance requirements, or network effects at the functionality level.

Moreover, as agents become the dominant source of internet traffic, identity authentication and cybersecurity will increasingly converge. In the cloud computing era, Okta and Wiz emerged as separate companies addressing different aspects of the question: “Who is authorized to access which cloud resources?”

Today’s agents face the same serious challenge of resource authorization, especially when they access connected contextual knowledge bases through APIs, MCP, and various external connectors.

Two complementary approaches to agent identity authentication are emerging: proof of identity at the source and verification of content and behavior. Both are indispensable to an agent-driven internet.

Proof of identity at the source includes digitally signed requests and identity protocols such as PAP or A2A that establish the identity of actors and the provenance of content. But in practice, malicious actors will never voluntarily comply with these standards.

That is where content and behavior verification must serve as a backstop: decision trees based on actual patterns of network activity and output can help a website accurately identify an automated bot even when the visitor presents no identity credentials.

Trends Shaping the Antifragile Internet in the Coming Years

Over the next several years, a number of key technological forces will work together to advance and mature the antifragile internet:

The Great Code Migration

Hackers Are Using AI to Drive Attack Costs to Zero. How Can the Internet Protect Itself?

First, the security landscape will likely go through a more turbulent period before it improves. The world has an astonishing number of legacy systems, most of which were written in an era when finding vulnerabilities was expensive. As agents bring the cost of attacks close to zero, that security premise no longer holds.

This series of unprecedented security shocks will force a sweeping “great code migration” over the next one to two years: software stacks will accelerate the replacement of outdated, vulnerable legacy architectures with more modern, antifragile technologies.

In the past, manually rewriting massive legacy codebases in safer high-level languages such as TypeScript or Rust was an arduous, time-consuming, and expensive undertaking. Agents have fundamentally changed the economics of that task.

For example, GitHub Copilot migrated its core runtime to 832,000 lines of Rust code in just three months, with the work led almost entirely by one engineer. In the past, it would have taken an entire team one to two years.

Likewise, new and more secure AI models are being adopted by developers at a remarkable pace. For example, TypeSafe’s Jev model, which returns typed, structured decisions rather than unconstrained free-form text, reached nearly 13% of teams using Vercel’s paid AI Gateway within one day of launch.

A new security tool stack tailored to agentic automated coding is now being rebuilt from the ground up. It spans code review (Greptile), code and secret scanning (Semgrep), malicious dependency detection (Socket), runtime failure capture (Raindrop), and production incident response (Resolve AI).

Beneath it, a new infrastructure and deployment layer is also taking shape, including lightweight execution sandboxes (E2B, Daytona) and tool authorization layers (Composio, Nango, Arcade). Together, they form an antifragile developer stack in which every vulnerability caught throughout development, testing, and deployment can immediately inform the security of the next line of code.

As the cost of code migration falls sharply, formal verification could see a broad revival at the compiler and toolchain level. For example, in a research collaboration between Theorem and Anthropic, Claude rigorously proved critical security properties for more than 100 open-source codebases.

Of course, the great code migration also carries potential growing pains and risks. Rewriting large systems has always been prone to creating secondary problems. Even code written by frontier models may be unsound in its implementation or introduce many new defects.

Formal verification is not a cure-all either: its effectiveness depends entirely on the rigor of the specifications supplied upfront. Even a rigorous proof system such as Lean may have fundamental flaws in its kernel that undermine mathematical soundness. A truly closed security loop requires rigorous architecture, precise and tightly scoped specifications, and continuous, intensive penetration testing of the delivered system.

Security Designed Natively into Applications

Hackers Are Using AI to Drive Attack Costs to Zero. How Can the Internet Protect Itself?

In consumer applications, the most effective path to widespread adoption of privacy and security technology may be to make it “invisible” within the product: let applications win the market through an excellent user experience and simple developer integration, rather than selling security as a separately paid feature.

We have already seen this pattern in the “wallet-as-a-service” (WaaS) segment of crypto. Leading products such as Privy and Turnkey encapsulate complex cryptographic mechanisms, including trusted execution environments (TEEs) and secure multiparty computation (MPC), behind simple APIs and seamless interactions.

We are likely to see the same evolution in the agent ecosystem: safer defaults will come not from users buying additional security software, but from better applications and developer tools that include them natively. Security is like a seat belt in a taxi: passengers choose the ride to get somewhere quickly, while protection is already built into the infrastructure.

This quiet diffusion of technology is already taking place in zero-knowledge proofs (ZKPs) and TEEs. World ID has now verified the personhood of more than 18 million people worldwide, and enterprise teams can seamlessly integrate the technology into Zoom meetings to see whether participants are real humans.

WhatsApp’s private chat feature runs conversations with Meta AI directly inside a TEE, ensuring that even Meta itself cannot see their contents. In these examples, advanced cryptography operates quietly behind familiar everyday interfaces, requiring no additional effort from users.

Meanwhile, privately and locally run models are another important vehicle for deeply embedded privacy protection. In 2026, the capability gap between open-weight models and leading closed frontier models has narrowed to approximately four months.

As small on-device models become more cost-effective and the computing power of device chips leaps forward, local inference will account for a much larger share of total AI token consumption. As computing shifts from the cloud to the edge, the nature of cybersecurity threats will also change profoundly.

Sensitive data will leave local devices far less often, physically eliminating a major class of data leakage risk. At the same time, however, a compromised personal computer or home server could be turned by attackers into a malicious agent host with highly trusted permissions, bringing the front line directly onto hardware under the user’s control.

This could give rise to agent governance frameworks for local environments, allowing models, tools, and activity logs to operate together on controlled hardware. It could even open a substantial market for new forms of hardware and software dedicated to hosting automated agents for households or teams.

The Dual-Track Internet

Hackers Are Using AI to Drive Attack Costs to Zero. How Can the Internet Protect Itself?

Agents interact with the internet in fundamentally different ways from human users. As agent traffic grows exponentially, the web is splitting into two parallel lanes: one dedicated to agents and supported by underlying infrastructure such as Parallel, Browserbase, and Kernel; the other a traditional lane for humans.

The network layer will route requests more intelligently and dynamically based on the actual actor behind them. Website owners will be able to use these multidimensional identity verification methods to filter traffic precisely and grant different interaction permissions to different actors, rather than simply shutting automated agents out altogether.

Think of a restaurant whose central kitchen efficiently serves both a fast-paced drive-through and an immersive dining-room experience. A website can likewise deliver content in the most suitable data format and through the most appropriate interface for each source of requests.

Over time, direct collaboration and communication between agents will become increasingly common in this dedicated fast lane. As consumer and enterprise agents become deeply embedded in everyday life, scenes like the following may become commonplace: a user’s personal assistant negotiates directly with a food delivery platform’s intelligent order system to secure personalized discounts and exclusive benefits in real time.

In early experiments such as Anthropic’s Project Swap, we have already seen an early form of agent-to-agent interaction and collaboration.

In these complex scenarios, each agent holds private information about its principal. Decisions about how much preference data and confidential information to disclose in negotiations require robust security guardrails, including limits on agents’ authority to act, tamper-proof transaction records, and mechanisms for subsequent arbitration and auditing.

In these highly complex negotiations and collaborations between agents, knowing the other party’s digital identity is not enough. Principals and their counterparties will also want to know an agent’s reputation history: whether it has paid on time, honored its commitments, or maliciously disclosed trade secrets.

Highly portable agent reputation systems will become an indispensable counterpart to digital identity. But this also raises a profound question: who should maintain a universal agent reputation mechanism across applications, and how can we prevent it from becoming another highly centralized chokepoint for rent-seeking digital power?

Toward an Antifragile Internet

If the recent wave of agent-driven attacks has taught us anything, it is that everything can be compromised. New vulnerabilities and attack techniques will continue to emerge, and the most advanced autonomous agents will often be the first to discover them.

What ultimately determines whether a network is “antifragile,” however, is how our systems adapt and evolve in response to these inevitable shocks. Our goal is to eliminate known flaws as far as possible through foundational architectural design, robustly protect exposed weaknesses, and continually strengthen the entire system architecture and development toolchain through repeated encounters with adversaries.

In engineering practice, this takes the form of a closed-loop security flywheel: frontier models act as adversaries in continuous, around-the-clock penetration testing. The resulting research not only patches application code immediately but also feeds directly into improvements to the underlying toolchains and programming languages.

All of this is driven by a new generation of agent developer tools that can detect code defects in seconds, fix them automatically, and migrate code to safer environments. Ideally, formal verification will be deeply embedded in compilers, with its underlying proof assumptions subjected to rigorous challenges by the same leading adversarial models. Every vulnerability uncovered feeds the flywheel, ultimately making the internet as a whole more resilient through continuous testing and confrontation.

More broadly, building a permissionless, autonomous, and antifragile internet resonates strongly with the founding vision of blockchain and cryptocurrency. This has been a central theme of USV’s work and major investments over the past decade.

Blockchain technology first demonstrated how strangers could collaborate securely without trusting one another, proving the approach in asset transactions, one of the most demanding domains for trust. But high development costs and relatively cumbersome infrastructure have previously slowed the spread of decentralized trust beyond finance.

As agents make the internet ecosystem more complex and increasingly collaborative, we have an unprecedented opportunity to embed crypto principles in mature mainstream products and underlying protocols. Native paradigms such as decentralized autonomous organizations (DAOs) offer an instructive early glimpse of how groups of agents may coordinate in the future.

Looking back at the internet’s original conception, its topology was envisioned such that every additional network node would make the system more robust. Today, although the unchecked proliferation of agents is challenging that original design, agents also hold enormous potential to repair it and realize that ambitious vision.

At USV, we want to focus on three core areas in building an “antifragile internet”:

Root-cause elimination, not automated patching: In keeping with our long-standing investment philosophy, we favor technologies that eliminate entire classes of vulnerabilities from the outset through architectural design, rather than remaining trapped in an inefficient cycle of reactive patching;

Capture edge security data: Building on our long-standing thinking about edge computing, we believe that underlying agent activity logs have exceptionally powerful network effects: whoever holds the richest and most comprehensive behavioral data can build the strongest defenses;

Build a security alliance: We view agent security as an inseparable part of the modern software toolchain and aim to invest in outstanding tools, workflows, and infrastructure protocols that seamlessly package robust foundational security guardrails into simple user interfaces and excellent developer experiences.

If you are building the future along these lines, please reach out. We look forward to working alongside you to build a resilient, antifragile internet.

Footnotes and Acknowledgments

[1] In Antifragile, Nassim Taleb observes: “Fragile things break under external shocks; resilient things withstand shocks and remain unchanged; antifragile things draw strength from shocks and stress and become stronger.”

In the context of the internet, this means that the network as a whole can not only withstand attacks that disable individual nodes, but also grow increasingly resilient as more agents connect and more vulnerabilities are proactively identified and closed.

Special thanks to Aric Chang, Ben Colman, David Gabeau, Hari Mulackal, Henri Stern, and Jonathan Rotbard for their valuable suggestions on the initial draft of this article.

Thanks to Kushagra Aryal, Madeleine Charity, Max Segall, Mike Leffer, Spencer Yen, Zayne Zhang, and the entire USV team for their insightful contributions to the discussions behind this article.

Published on
Disclaimer: Investing involves risk. This article does not constitute investment advice.