Socket Zero Introduces Automated Remediation PRs

Put vulnerability remediation on autopilot with automated security patches and intelligent dependency upgrades across your GitHub repositories.

  • Martin Torp
6 min read
Socket Zero Introduces Automated Remediation PRs

Today, we're introducing automated remediation PRs in Socket Zero, enabling organizations to continuously remediate vulnerabilities across their GitHub repositories, with or without dependency upgrades.

Security teams can configure remediation policies in just a few clicks, and Socket takes care of preparing security fixes and delivering them as pull requests. As new vulnerabilities are discovered and new patches become available, these automations continue running in the background.

Automated remediation PRs are a core component of Socket Zero, bringing together our security patching, intelligent dependency upgrades, vulnerability intelligence, and application reachability analysis.

Our goal is to make vulnerability remediation a continuous background process, much like the security updates we've come to expect from modern browsers. Developers retain control over what gets merged into their applications without having to manually initiate remediation for every vulnerability.

Decoupling Security Remediation From Dependency Upgrades

#

For years, automated vulnerability remediation has largely meant automated dependency upgrades. Even when an upgrade is motivated by a single CVE, it can introduce unrelated code changes, compatibility issues, and significant engineering work.

Socket Zero decouples security remediation from dependency upgrades.

An organization shouldn't have to accelerate a planned dependency migration simply because a CVE is disclosed. It should be able to eliminate the vulnerability as soon as a certified patch is available and undertake the upgrade on its own schedule.

This becomes increasingly important as AI accelerates vulnerability discovery. Engineering teams cannot necessarily accelerate every dependency migration at the same rate.

By applying rigorously tested security patches to existing package versions, Socket Zero enables organizations to address vulnerabilities independently of their dependency upgrade schedules.

Our new remediation automations support three strategies:

  • Patch or upgrade: Prioritize security patches that preserve existing dependency versions, with intelligent dependency upgrades as a fallback when a usable patch is unavailable.
  • Patch only: Remediate vulnerabilities without changing dependency versions.
  • Upgrade only: Automatically open PRs that upgrade vulnerable dependencies to non-vulnerable versions.

For organizations looking to accelerate vulnerability remediation while minimizing dependency churn, we recommend prioritizing security patches where available.

Socket's automations also adapt as our patch coverage expands. If a newly available security patch addresses a vulnerability covered by an open upgrade PR, Socket can incorporate that fix into a patch PR and automatically close the superseded upgrade PR.

One Rolling Patch PR Per Repository

#

Automated dependency remediation can generate a considerable volume of pull requests, particularly for organizations with hundreds of repositories and existing vulnerability backlogs. Each PR introduces another change for developers to review, test, and merge.

We designed patch PRs to consolidate that work.

Rather than opening an individual pull request for every vulnerability, Socket maintains a single rolling patch PR for each repository's default branch. As new security patches become available and match your automation criteria, Socket updates the existing PR.

Each patch PR includes:

  • The packages being patched, along with their associated security advisories and vulnerability severity.
  • The files changed to apply the patches.
  • Any package manager configuration changes required to install the patched packages.

Developers can review multiple security fixes together, run their existing CI checks, and merge the PR through their normal development workflow.

Socket respects developers' decisions throughout this process. If you push your own commits to a patch PR, Socket stops automatically updating it. If you close a patch PR without merging it, Socket won't open another PR containing the same set of patches.

Once a patch PR is merged and Socket scans the default branch again, the corresponding vulnerabilities are marked as patched. When additional patches become available, Socket can open a new PR.

Remediation Automations Based on Application Risk

#

Security teams managing large application portfolios need to be able to establish remediation policies centrally, with the flexibility to account for the different risk profiles of individual applications.

Socket's remediation automations allow teams to define conditions based on:

  • Repositories: All connected GitHub repositories or a selected subset.
  • Ecosystems: The package ecosystems covered by the automation.
  • Priority: Socket's composite vulnerability priority.
  • Severity: The severity of the vulnerability.
  • Reachability: Whether vulnerable code is reachable from the application.
  • EPSS: The predicted probability of vulnerability exploitation.
  • Known exploitation: Whether the vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

For example, a security team could configure a patch-first automation for critical and high-priority vulnerabilities across its entire organization, while establishing a separate automation for reachable vulnerabilities in production applications.

Teams can also choose whether patch automations address their existing vulnerability backlog or focus on newly identified vulnerabilities. A preview shows which repositories and findings would be affected before an automation is applied to existing findings.

These controls connect Socket's vulnerability prioritization capabilities directly to remediation. Security teams can establish their policies centrally, and developers receive actionable security fixes directly in their repositories.

Intelligent Dependency Upgrade PRs

#

When a security patch isn't available, upgrading a vulnerable dependency remains an important path to remediation.

Socket Zero's intelligent dependency upgrade technology analyzes dependency relationships to identify an upgrade path, prepares the changes, regenerates the relevant lockfiles, and opens a pull request linked to the corresponding vulnerability alert.

Unlike rolling patch PRs, upgrade PRs are scoped to individual security advisories.

When an upgrade cannot eliminate every vulnerable version of a dependency, Socket documents which vulnerable versions remain and explains why they could not be upgraded. If Socket cannot regenerate every lockfile, such as when a dependency comes from a private registry, it opens a draft PR with instructions for completing the upgrade locally.

Developers can also initiate an upgrade PR directly from a vulnerability alert in the Socket dashboard, independently of their configured automations.

Combining both remediation methods allows organizations to benefit from Socket's expanding security patch coverage while retaining the ability to address vulnerabilities through dependency upgrades.

Centralized Remediation Visibility

#

A new Remediation page in the Socket dashboard gives security teams visibility into automated remediation activity across their organization's repositories.

Dedicated views for patch PRs and upgrade PRs show the status of remediation attempts, associated repositories, open and merged pull requests, and the automations responsible for initiating them.

Security teams can inspect the history of patch runs, see what triggered each run, investigate unsuccessful remediation attempts, and initiate a new patch check for an individual repository.

For upgrade PRs, Socket provides visibility into the progress and outcome of each remediation attempt, including whether a pull request was opened, whether additional developer intervention is required, or why an upgrade could not be completed.

This gives security teams a central view of remediation activity without having to track pull requests across hundreds of individual GitHub repositories.

Automated Remediation Across Open Source Ecosystems

#

Automated remediation PRs are available for repositories connected through the Socket GitHub App, with support across seven open source ecosystems:

Patch PRs: npm, PyPI, RubyGems, and Go.

Upgrade PRs: npm, PyPI, RubyGems, Go, Maven, NuGet, and Cargo.

Free Socket users can automate the delivery of free critical vulnerability patches. Team, Business, and Enterprise customers also have access to automated dependency upgrade PRs, with expanded patch coverage available through the Socket Patches add-on.

Enterprise customers should contact their Socket representative to enable private code access if needed.

To get started, ensure the Socket GitHub App has the required permissions, enable Remediation PRs in your Socket dashboard, and configure your first automation.

Putting Vulnerability Remediation on Autopilot

#

With Socket Zero, we're investing in the infrastructure to eliminate vulnerabilities at ecosystem scale and deliver those security fixes continuously to the applications that need them.

We recently achieved 100% coverage of known, patchable RubyGems CVEs across all severities. As we extend that coverage across more open source ecosystems, organizations using automated remediation PRs can benefit from newly available security patches without having to change their remediation workflows.

Security teams can establish their remediation policies once and let Socket continuously prepare security fixes as vulnerabilities are identified. Developers can spend less time investigating upgrade paths, resolving dependency conflicts, and manually applying security patches, while retaining control over the changes that reach their applications.

Our ambition is to make vulnerability remediation a routine background operation for every organization, even as the volume and pace of vulnerability discovery continue to accelerate.

Explore our Remediation PRs documentation to configure your first automation, or contact our team to bring Socket Zero to your organization.

Stay ahead of threats

Subscribe to our newsletter

Get notified when we publish new security blog posts!