Core library for socket-patch — a CLI tool that applies security patches to npm, Python, Ruby, Cargo, Go, Maven, Composer, NuGet, and Deno dependencies without waiting for upstream fixes.
- Manifest management — read, write, and validate
.socket/manifest.jsonpatch manifests - Patch engine — apply and rollback file-level patches using git SHA-256 content hashes
- Crawlers — discover installed packages across npm, PyPI, Ruby gems, Cargo, Go, Maven, Composer, NuGet, and Deno
- API client — fetch patches from the Socket API
- Utilities — PURL parsing, blob storage, hash verification, fuzzy matching
This crate is used internally by the socket-patch-cli binary. If you need the CLI, install that instead:
cargo install socket-patch-cliMIT