socket-dep-patch

Patches installed dependencies' vulnerabilities via binary-only patches using socket-patch scan and apply commands without altering version numbers.

1|1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/SocketDev/skills --skill socket-dep-patch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: socket-dep-patch
Source: https://github.com/SocketDev/skills/tree/main/skills/socket-dep-patch
Command: npx skills add https://github.com/SocketDev/skills --skill socket-dep-patch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Patches vulnerabilities in installed dependencies by applying binary-level patches without changing their version numbers.

Core Features & Use Cases

  • Binary-level patching: fixes CVEs without bumping dependency versions.
  • CI/CD and local patching: apply patches across monorepos or single projects quickly.
  • Safe remediation: preserves manifests and lockfiles while improving security.

Quick Start

Install socket-patch, then run socket-patch scan to discover patches and run socket-patch apply to patch installed packages.

Frequently Asked Questions about socket-dep-patch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I patch a dependency vulnerability without changing the version number?

To patch a dependency vulnerability without changing the version number, you apply binary-only patches directly to the installed package. This fixes the CVE while preserving your manifest and lockfile.

What is binary-level patching for installed dependencies?

Binary-level patching for installed dependencies is a remediation technique that fixes security vulnerabilities directly in the package binaries. It allows you to resolve CVEs rapidly without bumping versions or altering code.

How do I apply security patches in CI/CD without modifying lock files?

To apply security patches in CI/CD without modifying lock files, run a scan to discover available patches, then apply them directly to the installed binaries. This ensures safe remediation across your projects.

Can I use binary patching for local development and production environments?

Yes, you can use binary patching for local development and production environments. It works wherever binary patches are available, enabling rapid remediation across your different environments without code changes.

What are the steps to discover and apply patches to installed packages?

To discover and apply patches to installed packages, first ensure the dependencies are installed. Then run a scan command to find available patches, followed by an apply command to patch the packages.

Does binary patching work across monorepos or only single projects?

Binary patching works across both monorepos and single projects. You can apply the patches quickly across your entire codebase to ensure consistent vulnerability remediation without manifest changes.