Introducing Socket Zero: Automated Vulnerability Remediation at Scale

Socket Zero automates vulnerability remediation with upgrades and targeted patches, including fixes for 100% of known, patchable RubyGems CVEs.

  • Mikola Lysenko
7 min read
Introducing Socket Zero: Automated Vulnerability Remediation at Scale

Today we're introducing Socket Zero, our automated vulnerability remediation platform, and announcing that we've developed security patches covering 100% of known, patchable RubyGems CVEs reviewed before December 1, 2026, across all severity levels.

These patches are targeted security fixes that eliminate vulnerabilities without upgrading dependencies or changing package versions.

RubyGems is the first open source ecosystem where we've achieved this level of coverage. We intend to extend it across every major open source ecosystem.

We've spent years building technology to detect malicious packages and other security threats across open source at scale. Now we're applying that same ambition to remediation, building the infrastructure to develop and validate security fixes across entire ecosystems.

AI has fundamentally changed how quickly vulnerabilities can be discovered. We believe it can also help solve the much harder engineering problem of fixing them safely at that scale.

AI Is Accelerating Vulnerability Discovery

#

AI is now finding vulnerabilities that could have stayed buried in software for years and figuring out how to exploit them. Anthropic demonstrated how Claude Mythos Preview could chain multiple vulnerabilities into working exploits, including attacks that achieved root access. Vulnerabilities that appear limited individually can become far more dangerous when combined.

Meanwhile, security teams are scrambling to keep up. Recent reporting in The Wall Street Journal examined how the pressure to deploy security updates quickly is contributing to a difficult trade-off: leave vulnerable software exposed or risk breaking production systems with an update. And AI-generated patches introduce their own challenges. Research from 1Password found that only 26% of model-generated patches in its evaluation of six complex vulnerabilities fixed the issue without introducing security regressions or unintended changes to application behavior.

We're going to need much better remediation technology to keep pace with the vulnpocalypse.

That's what we've been building.

We've Reached 100% Patch Coverage for RubyGems CVEs

#

Last week, we announced free security patches for every patchable critical-severity CVE in RubyGems. We've now extended that coverage to high-, medium-, and low-severity vulnerabilities as well.

The milestone covers known, patchable CVEs associated with RubyGems advisories published before December 1, 2026. Combined patches for gem versions affected by multiple CVEs are being published on a rolling basis.

Here's an example of Socket Zero identifying and validating fixes for three vulnerable RubyGems packages.

Some vulnerabilities cannot be safely patched. For example, a fix might require breaking a package's public interface, or the advisory might concern a malicious package that should be removed rather than repaired. We distinguish those cases from vulnerabilities where a targeted security fix can be developed and validated.

Getting to this level of coverage required considerably more than generating patches for the latest releases of vulnerable packages.

A single CVE can affect dozens or hundreds of historical package versions. The upstream fix might depend on APIs or functionality that didn't exist in those older releases. Some vulnerabilities require developing an entirely new fix. Others require identifying the actual vulnerable component when the advisory points to a different package.

We built an AI-assisted engineering system to investigate vulnerabilities, develop or adapt fixes, and validate them across affected package versions.

Rigorous Validation for Every Security Patch

#

There's a big difference between getting an AI model to produce code that looks like a security fix and having enough confidence to ship that fix to developers.

We aren't just slapping AI-generated patches onto packages and hoping for the best here.

Our system tests whether the vulnerable behavior is present before patching and eliminated afterward. We run the package's original tests, exercise downstream dependencies that rely on it, and check for unintended changes in behavior, performance, and memory usage.

We've also developed patented technology for automatically testing patches against existing software behavior.

These patches are rigorously tested beyond the affected package itself. We run downstream dependency test suites because a patch that works in isolation can still break software that relies on it.

Every patch undergoes human review before publication.

This validation is essential when working with older dependency versions. A patch might eliminate the reported vulnerability while introducing a different problem somewhere else. We need to understand how a change affects the existing software, not simply whether the generated code looks correct.

Developers can inspect the patches and their verification results, including source-code changes and testing information. We also need a paper trail and an audit that the fix was applied so we know the system as built was not vulnerable.

We've invested extensively in the automation, testing infrastructure, and human review needed to make this process repeatable across large numbers of vulnerabilities and package versions.

Fix Vulnerabilities Without Changing Dependency Versions

#

Anyone who has maintained an older application knows this problem.

A security scanner flags a serious CVE buried in a dependency. The package might no longer be maintained, or the upstream fix might require upgrading to a major version with breaking API changes. The application is still doing its job, but suddenly fixing one vulnerability means dealing with a pile of breaking changes, refactoring, and testing that nobody planned for.

For applications that have been running for ten years or longer, that can be a major undertaking.

Socket Zero gives developers another option.

The platform brings two remediation approaches under one product:

Automated dependency upgrades. When upgrading is practical, socket fix identifies secure dependency versions and computes an upgrade path through the dependency tree, minimizing unnecessary changes.

Targeted security patches. When upgrading would be disruptive or isn't possible, we can make a targeted change that deletes only the vulnerability and leaves the rest of the code intact, in the dependency version the application already uses.

The dependency version number stays the same.

You can think of it as a firewall for your vulnerabilities. Instead of replacing working software, we remove the vulnerable code while preserving the functionality the application depends on.

Developers can address a vulnerability without immediately adopting a major upstream release, changing dependency constraints, or rewriting application code to accommodate breaking API changes.

For example, we released a free security patch for GHSA-f3w6-w445-fwh9, a critical Rails Active Storage vulnerability that could allow attackers to write arbitrary files through malicious uploads. Some affected Rails releases are ancient in internet time, and Socket's patch gives applications using affected versions a way to address the vulnerability without immediately upgrading Rails.

The patches modify the affected code, and applications should still be tested before deployment. But the security fix can be applied independently of a larger dependency migration.

Install Patched Packages Through Your Existing Package Manager

#

Socket Zero supports several ways to apply security patches.

Hosted delivery: The CLI updates the appropriate lockfile entries so your existing package manager can install remediated packages from Socket's patch registry.

Vendored delivery: Patched packages are stored directly in your repository. They become part of your project and don't require access to Socket's infrastructure during subsequent installations.

In-place patching: Apply security fixes directly to installed dependencies using the original patching workflow.

These options give developers control over how patched dependencies enter their applications and build environments. Hosted and vendored delivery don't require a separate patching step after every installation.

Get Started With Socket Zero

#

All critical-severity security patches are free. No Socket account or subscription is required.

The socket-patch CLI supports multiple open source ecosystems. To get started, install the standalone CLI:

curl -fsSL https://install.socket.dev/patch | sh

From the root of a project with a supported lockfile, preview available patches without changing any files:

socket-patch scan --dry-run

To apply available patches using the default hosted mode:

socket-patch scan

You can then install dependencies through your usual package manager.

To store patched packages directly in your repository instead:

socket-patch scan --mode vendored

Socket identifies applicable patches for the dependency versions in your project and reports the vulnerabilities they address.

Patches for high-, medium-, and low-severity vulnerabilities are available through Socket Zero's paid offering.

If you're already using Socket Certified Patches, nothing changes about your current pricing, access, or CLI commands. Socket Zero is the new product identity for our vulnerability remediation platform.

See the Socket patching documentation for installation options, supported package managers, and additional CLI commands.

Building Remediation Infrastructure for All of Open Source

#

RubyGems is our first demonstration of what ecosystem-wide vulnerability remediation can look like.

We're already developing and validating security patches for other package ecosystems, and we plan to extend comprehensive coverage across open source. Each ecosystem presents different challenges, including package formats, build systems, dependency structures, and historical versions.

AI coding tools are making it possible for people who have never written a line of code to build and ship applications. Those applications still have dependencies, and those dependencies still have vulnerabilities. It doesn't make sense to expect everyone building software to understand dependency resolution, manually backport security fixes, or spend their time tracking CVE advisories. Frankly, experienced developers shouldn't have to spend so much time doing that work either.

The long-term goal is for vulnerability remediation to become part of the normal process of building and deploying software. Fixes should be applied automatically, with minimal intervention, and with a verifiable record of exactly what changed. Developers should be able to focus on building software instead of constantly repairing the dependencies underneath it.

We're trying to reduce the number of vulnerabilities in the world as much as possible. That means deleting CVEs from the packages people are actually running, including older versions that may never receive another upstream release.

We've now demonstrated that this can work across an entire ecosystem.

RubyGems is the first. We have a lot more CVEs to delete.

Explore Socket Zero

Stay ahead of threats

Subscribe to our newsletter

Get notified when we publish new security blog posts!