rootio_patcher
rootio_patcher is Root’s open-source CLI tool for applying security patches to your project’s dependencies. It scans installed packages and applies fixes from Root’s vulnerability database - modifying your requirements.txt, package.json, or pom.xml without changing package versions unless necessary.
Source: github.com/rootio-avr/rootio_patcher
For full documentation, see Root Library Catalog Patcher.
Installation
Download pre-built binaries from the GitHub releases page: Supported platforms: Linux x86_64, macOS (Apple Silicon, Intel), Windows x86_64 Or build from source (requires Go):Authentication
Set your API token before running any commands:Commands
Python (pip)
JavaScript (npm / yarn / pnpm)
Java (Maven)
Workflow
The recommended workflow is always to preview before applying:Flags Reference
| Flag | Default | Description |
|---|---|---|
--dry-run | true | Preview changes without modifying files |
--use-alias | true | (pip) Use Root.io-branded package aliases |
--python-path | system Python | (pip) Path to Python interpreter |
--package-manager | - | (npm) Select npm, yarn, or pnpm |
--file | pom.xml | (maven) Path to Maven config file |
GitHub Actions
Use the rootio-remediation-action to apply Root patches to container images in CI/CD:| Output | Description |
|---|---|
result_image | The patched image name |
process_status | Overall remediation status |
remediation_decision | Whether the system proceeded with patching |
image_created | Boolean - whether a new patched image was produced |