CLI Reference
woof remediate
Purpose
Attempts automatic remediation of compromised packages.
Synopsis
Synopsiswoof remediate <PACKAGE> <VERSION>
$ woof remediate <PACKAGE> <VERSION>Flags
| Flag | Type | Description |
|---|---|---|
| <PACKAGE> | argument | The package name to remediate. |
| <VERSION> | argument | The secure version to target. |
| -h, --help | boolean | Print help |
Exit Codes
- 0Package successfully updated and lockfile regenerated.
- 1Remediation failed due to breaking version constraints or network errors.
Examples
woof remediate lodash 4.17.21
$ woof remediate lodash 4.17.21Updating lodash to 4.17.21...✓ Remediation successful.
Forces an update of a vulnerable package to a known safe version.
woof remediate requests 2.31.0
$ woof remediate requests 2.31.0Updating requests...[!] Dependency conflict prevented remediation.
Fails when the target version conflicts with other packages in the tree.
How is this guide?
Last updated on 09/11/2026