autoremediator 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -80
- package/dist/{chunk-H4ICCI3K.js → chunk-DQKT2CUG.js} +191 -78
- package/dist/chunk-DQKT2CUG.js.map +1 -0
- package/dist/cli.js +4 -4
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +3 -31
- package/dist/index.js +1 -5
- package/dist/mcp/server.js +2 -2
- package/dist/mcp/server.js.map +1 -1
- package/dist/openapi/server.js +2 -2
- package/dist/openapi/server.js.map +1 -1
- package/llms.txt +127 -3
- package/package.json +1 -1
- package/dist/chunk-H4ICCI3K.js.map +0 -1
package/README.md
CHANGED
|
@@ -5,104 +5,68 @@
|
|
|
5
5
|
[](https://github.com/Rawlings/autoremediator/blob/master/LICENSE)
|
|
6
6
|
[](https://www.npmjs.com/package/autoremediator)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
> [!WARNING]
|
|
9
|
+
> Automated dependency remediation is a controversial practice.
|
|
10
|
+
> It can reduce exposure windows, but it can also introduce operational and supply-chain risk if used without policy controls.
|
|
11
|
+
> Autoremediator is designed for automation-first teams, and should be paired with explicit policy, CI safeguards, and repository protection rules.
|
|
9
12
|
|
|
10
|
-
|
|
13
|
+
Autoremediator is an automation-first Node.js CVE remediation platform package.
|
|
11
14
|
|
|
12
|
-
|
|
13
|
-
- Package manager support: npm, pnpm, yarn
|
|
14
|
-
- Policy-driven safety controls
|
|
15
|
-
- Evidence logging and CI summary support
|
|
15
|
+
This package is designed for teams that want remediation integrated into GitHub workflows and CI pipelines.
|
|
16
16
|
|
|
17
|
-
##
|
|
17
|
+
## Why Teams Use It
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
- Continuous remediation in CI and scheduled GitHub workflows
|
|
20
|
+
- Scanner-to-fix pipelines from npm audit, yarn audit, and SARIF inputs
|
|
21
|
+
- Policy-aware upgrade behavior for controlled automation at scale
|
|
22
|
+
- Structured evidence and summary outputs for security operations
|
|
23
|
+
- Multiple integration surfaces for platform engineering and automation agents
|
|
20
24
|
|
|
21
|
-
|
|
25
|
+
## Primary Use Cases
|
|
22
26
|
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
27
|
+
- Scheduled GitHub Actions remediation jobs with auto-generated pull requests
|
|
28
|
+
- CI enforcement gates that fail on unresolved remediation outcomes
|
|
29
|
+
- Scanner-to-fix automation from npm audit, yarn audit, and SARIF outputs
|
|
30
|
+
- Platform-level remediation orchestration across many services
|
|
31
|
+
- Agentic integration via CLI, SDK, MCP, and OpenAPI
|
|
28
32
|
|
|
29
|
-
|
|
33
|
+
## Surfaces
|
|
30
34
|
|
|
31
|
-
- CLI:
|
|
32
|
-
-
|
|
33
|
-
-
|
|
35
|
+
- CLI: workflow and CI execution
|
|
36
|
+
- SDK: custom automation programs
|
|
37
|
+
- MCP: AI host integrations
|
|
38
|
+
- OpenAPI: service-based automation
|
|
34
39
|
|
|
35
|
-
##
|
|
36
|
-
|
|
37
|
-
- Auto-remediate npm audit findings in CI with deterministic exit codes.
|
|
38
|
-
- Process SARIF security scan output and apply safe dependency upgrades.
|
|
39
|
-
- Build an internal security bot on top of the MCP server tool surface.
|
|
40
|
-
- Integrate CVE-to-fix workflows into custom Node.js platform tooling.
|
|
41
|
-
- Run scanner-to-remediation pipelines across npm, pnpm, and yarn projects.
|
|
42
|
-
|
|
43
|
-
## Installation
|
|
44
|
-
|
|
45
|
-
Global:
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
pnpm add -g autoremediator
|
|
49
|
-
# or
|
|
50
|
-
npm install -g autoremediator
|
|
51
|
-
# or
|
|
52
|
-
yarn global add autoremediator
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
Project-local:
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
pnpm add -D autoremediator
|
|
59
|
-
pnpm exec autoremediator --help
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
## Environment
|
|
63
|
-
|
|
64
|
-
Set one provider key:
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
export OPENAI_API_KEY=...
|
|
68
|
-
# or
|
|
69
|
-
export ANTHROPIC_API_KEY=...
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## Quick Start
|
|
73
|
-
|
|
74
|
-
Single CVE:
|
|
40
|
+
## Documentation
|
|
75
41
|
|
|
76
|
-
|
|
77
|
-
autoremediator CVE-2021-23337
|
|
78
|
-
autoremediator CVE-2021-23337 --dry-run
|
|
79
|
-
autoremediator CVE-2021-23337 --run-tests
|
|
80
|
-
autoremediator CVE-2021-23337 --llm-provider anthropic
|
|
81
|
-
```
|
|
42
|
+
- https://rawlings.github.io/autoremediator/
|
|
82
43
|
|
|
83
|
-
|
|
44
|
+
- Getting Started: https://rawlings.github.io/autoremediator/docs/getting-started
|
|
45
|
+
- CLI Reference: https://rawlings.github.io/autoremediator/docs/cli
|
|
46
|
+
- Scanner Inputs: https://rawlings.github.io/autoremediator/docs/scanner-inputs
|
|
47
|
+
- Policy and Safety: https://rawlings.github.io/autoremediator/docs/policy-and-safety
|
|
48
|
+
- API and SDK: https://rawlings.github.io/autoremediator/docs/api-sdk
|
|
49
|
+
- Integrations: https://rawlings.github.io/autoremediator/docs/integrations
|
|
50
|
+
- Contributor Guide: https://rawlings.github.io/autoremediator/docs/contributor-guide
|
|
84
51
|
|
|
85
|
-
|
|
86
|
-
autoremediator ./audit.json
|
|
87
|
-
autoremediator ./report.sarif --format sarif
|
|
88
|
-
autoremediator --input ./scan.json --format auto
|
|
89
|
-
```
|
|
52
|
+
## Product Direction
|
|
90
53
|
|
|
91
|
-
|
|
54
|
+
- Prioritize automation workflows over one-off manual runs
|
|
55
|
+
- Configure policy and branch protection before broad rollout
|
|
56
|
+
- Use CI summaries and evidence outputs for operational governance
|
|
92
57
|
|
|
93
|
-
|
|
94
|
-
autoremediator ./scan.json --ci --summary-file ./summary.json
|
|
95
|
-
```
|
|
58
|
+
## Getting Started Fast
|
|
96
59
|
|
|
97
|
-
|
|
60
|
+
Start from the live guides instead of repo markdown:
|
|
98
61
|
|
|
99
|
-
-
|
|
100
|
-
-
|
|
62
|
+
- Quick setup: https://rawlings.github.io/autoremediator/docs/getting-started
|
|
63
|
+
- Automation workflows: https://rawlings.github.io/autoremediator/docs/integrations
|
|
64
|
+
- Safety controls: https://rawlings.github.io/autoremediator/docs/policy-and-safety
|
|
101
65
|
|
|
102
|
-
##
|
|
66
|
+
## Package
|
|
103
67
|
|
|
104
|
-
-
|
|
105
|
-
-
|
|
68
|
+
- npm: https://www.npmjs.com/package/autoremediator
|
|
69
|
+
- repository: https://github.com/Rawlings/autoremediator
|
|
106
70
|
|
|
107
71
|
## License
|
|
108
72
|
|