autoremediator 0.5.0 → 0.7.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 +7 -3
- package/dist/chunk-7XSZTGU7.js +16 -0
- package/dist/chunk-7XSZTGU7.js.map +1 -0
- package/dist/{chunk-VLXGEH7U.js → chunk-MUFP2DQX.js} +2623 -1732
- package/dist/chunk-MUFP2DQX.js.map +1 -0
- package/dist/cli.js +114 -13
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +5 -210
- package/dist/index.js +17 -1
- package/dist/mcp/server.d.ts +3 -241
- package/dist/mcp/server.js +14 -69
- package/dist/mcp/server.js.map +1 -1
- package/dist/openapi/server.d.ts +9 -242
- package/dist/openapi/server.js +16 -90
- package/dist/openapi/server.js.map +1 -1
- package/dist/options-schema-DfLBOsPI.d.ts +37 -0
- package/dist/remediate-from-scan-C-E7gqxF.d.ts +211 -0
- package/llms.txt +21 -6
- package/package.json +2 -2
- package/dist/chunk-VLXGEH7U.js.map +0 -1
package/README.md
CHANGED
|
@@ -10,11 +10,13 @@
|
|
|
10
10
|
> [!WARNING]
|
|
11
11
|
> Automated dependency remediation is a controversial practice.
|
|
12
12
|
> It can reduce exposure windows, but it can also introduce operational and supply-chain risk if used without policy controls.
|
|
13
|
-
> Autoremediator is designed for
|
|
13
|
+
> Autoremediator is designed for risk-aware automation teams, and should be paired with explicit policy, CI safeguards, and repository protection rules.
|
|
14
14
|
|
|
15
|
-
Autoremediator is
|
|
15
|
+
Autoremediator is a risk-aware, agentic Node.js CVE remediation package.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
It correlates OSV package intelligence with CISA KEV known-exploited signals and FIRST EPSS exploit probability scores to prioritize vulnerabilities more likely to matter in production.
|
|
18
|
+
|
|
19
|
+
This package is designed for teams that want remediation integrated into GitHub workflows and CI pipelines with policy and evidence controls.
|
|
18
20
|
|
|
19
21
|
It exposes stable SDK and CLI surfaces for direct CVE remediation and scanner-driven automation.
|
|
20
22
|
|
|
@@ -25,7 +27,9 @@ See the [documentation](https://rawlings.github.io/autoremediator/docs/getting-s
|
|
|
25
27
|
## Why Teams Use It
|
|
26
28
|
|
|
27
29
|
- Continuous remediation in CI and scheduled GitHub workflows
|
|
30
|
+
- Risk-aware prioritization using EPSS, CISA KEV, and OSV intelligence
|
|
28
31
|
- Scanner-to-fix pipelines from npm audit, yarn audit, and SARIF inputs
|
|
32
|
+
- Lower vulnerability fatigue by focusing operator attention on exploited and higher-probability issues
|
|
29
33
|
- Policy-aware upgrade behavior for controlled automation at scale
|
|
30
34
|
- Structured evidence and summary outputs for security operations
|
|
31
35
|
- Multiple integration surfaces for platform engineering and automation agents
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/version.ts
|
|
2
|
+
import { readFileSync } from "fs";
|
|
3
|
+
function readPackageVersion() {
|
|
4
|
+
const raw = readFileSync(new URL("../package.json", import.meta.url), "utf8");
|
|
5
|
+
const metadata = JSON.parse(raw);
|
|
6
|
+
if (!metadata.version) {
|
|
7
|
+
throw new Error("packages/core/package.json is missing a version field.");
|
|
8
|
+
}
|
|
9
|
+
return metadata.version;
|
|
10
|
+
}
|
|
11
|
+
var PACKAGE_VERSION = readPackageVersion();
|
|
12
|
+
|
|
13
|
+
export {
|
|
14
|
+
PACKAGE_VERSION
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=chunk-7XSZTGU7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/version.ts"],"sourcesContent":["import { readFileSync } from \"node:fs\";\n\ninterface PackageMetadata {\n version?: string;\n}\n\nfunction readPackageVersion(): string {\n const raw = readFileSync(new URL(\"../package.json\", import.meta.url), \"utf8\");\n const metadata = JSON.parse(raw) as PackageMetadata;\n\n if (!metadata.version) {\n throw new Error(\"packages/core/package.json is missing a version field.\");\n }\n\n return metadata.version;\n}\n\nexport const PACKAGE_VERSION = readPackageVersion();"],"mappings":";AAAA,SAAS,oBAAoB;AAM7B,SAAS,qBAA6B;AACpC,QAAM,MAAM,aAAa,IAAI,IAAI,mBAAmB,YAAY,GAAG,GAAG,MAAM;AAC5E,QAAM,WAAW,KAAK,MAAM,GAAG;AAE/B,MAAI,CAAC,SAAS,SAAS;AACrB,UAAM,IAAI,MAAM,wDAAwD;AAAA,EAC1E;AAEA,SAAO,SAAS;AAClB;AAEO,IAAM,kBAAkB,mBAAmB;","names":[]}
|