Security Research

From WAF rules to runtime patching and exploit blocking

Tomer Filiba

CTO

December 3, 2026

Share

In our last post we looked at Shirudo, OpenAI and Cisco's new runtime patching tool. It's a step in the right direction, but only part of the solution. This post tells the whole story: the three ways to contain an exploit before the code is fixed, how fast each one works, and why you need more than one.

Automated WAF rules: the easiest, and the bluntest

WAF rules are where most teams start, and for good reason. A WAF is already in front of your applications, and vendors ship new rules soon after a CVE is published.

The problem is that a WAF sees requests, not your application. It doesn't know your application logic, so it can't tell whether a payload actually reaches vulnerable code. Every rule is a guess, and it misses in one of two directions:

  • Too broad, and it disrupts production. The rule blocks legitimate requests that happen to look like the attack.
  • Too narrow, and malicious traffic gets in. The attacker changes the encoding or the payload shape, and the request sails through. We see this all the time in our customers' environments: attacks caught at runtime that had already passed the WAF.

To avoid the first problem, teams test new rules in audit mode. Making sure a rule won't hurt production normally takes days of watching before it's switched to blocking. Those are exactly the days when a new CVE is being exploited in the wild. Too slow.

Runtime patching: the answer for known CVEs

Runtime patching, also called virtual patching, is what Shirudo does. Instead of guessing at traffic from the outside, it targets the vulnerable code itself, inside the running workload, and removes the path the exploit needs. There's no rebuild, no redeploy and no waiting for a release.

Because it's aimed at the actual vulnerable code path, it doesn't need a long audit period to be safe. Runtime patching is effective within hours of a CVE's publication.

Compare that with fixing the code. First the vendor or maintainer has to release a patch, which takes days. Then the fix has to make its way through your build, test and release pipeline to every workload in production, which takes weeks. The median time to patch reached 43 days in Verizon's 2026 DBIR. Fixing the code is still the permanent fix, but runtime patching gets you protected weeks sooner.

Exploit blocking: because hours is no longer fast enough

Hours sounds fast, until you look at how quickly AI now turns a vulnerability into an attack. Google and Mandiant recently found attackers using autonomous AI agents to diff patches, write exploits and run them, getting from disclosure to attack in minutes. In Anthropic's own testing, a frontier model produced a first working proof of concept for a Firefox vulnerability in 8 minutes.

Any defense that starts with "first, know the CVE" is already behind. That's why we built exploit blocking.

Exploit blocking doesn't target vulnerabilities. It targets the techniques attackers use to exploit them, per language and runtime, and blocks entire classes of attacks:

  • RCE in Node.js: taint analysis follows untrusted data from the network buffer to the point where the process tries to execute it, and blocks it there, whatever the vulnerable library is.
  • SSRF in Python: outbound requests steered by untrusted input toward internal services or cloud metadata endpoints are blocked, whatever the bug that let the attacker shape them.

It needs no CVE, no signature and no rule. It's always on from day zero, including for vulnerabilities nobody has disclosed yet. It blocks the malicious request or call itself, so the application keeps serving everyone else.

The summary: remove the attack surface, and guard it

Approach Automated WAF rules Runtime patching Exploit blocking
What it acts onTraffic at the perimeterThe vulnerable code pathAttack techniques, inside the runtime
Needs a known CVEYesYesNo
Understands your applicationNoYesYes
Time to containDays, after audit modeHours after publicationImmediately: always on
  • Runtime patching removes the attack surface. Once a CVE is known, it takes the exploitable path out of your running workloads, weeks before the code fix lands.
  • Exploit blocking works on the attack surface itself. It identifies a breach as it happens and contains it, before any CVE exists and before any patch is written.

Together, they close the exploit window from both ends. Sweet does both, on the infrastructure you already run. See how Sweet contains exploits in real time

Share the Sweetness