@kevinrabun/judges 3.48.0 → 3.49.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/CHANGELOG.md +12 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +56 -0
- package/dist/cli.js.map +1 -1
- package/dist/commands/incident-response.d.ts +8 -0
- package/dist/commands/incident-response.d.ts.map +1 -0
- package/dist/commands/incident-response.js +255 -0
- package/dist/commands/incident-response.js.map +1 -0
- package/dist/commands/learning-path.d.ts +9 -0
- package/dist/commands/learning-path.d.ts.map +1 -0
- package/dist/commands/learning-path.js +326 -0
- package/dist/commands/learning-path.js.map +1 -0
- package/dist/commands/license-scan.d.ts +9 -0
- package/dist/commands/license-scan.d.ts.map +1 -0
- package/dist/commands/license-scan.js +180 -0
- package/dist/commands/license-scan.js.map +1 -0
- package/dist/commands/org-policy.d.ts +8 -0
- package/dist/commands/org-policy.d.ts.map +1 -0
- package/dist/commands/org-policy.js +208 -0
- package/dist/commands/org-policy.js.map +1 -0
- package/dist/commands/predict.d.ts +8 -0
- package/dist/commands/predict.d.ts.map +1 -0
- package/dist/commands/predict.js +219 -0
- package/dist/commands/predict.js.map +1 -0
- package/dist/commands/risk-heatmap.d.ts +8 -0
- package/dist/commands/risk-heatmap.d.ts.map +1 -0
- package/dist/commands/risk-heatmap.js +224 -0
- package/dist/commands/risk-heatmap.js.map +1 -0
- package/dist/commands/sbom-export.d.ts +8 -0
- package/dist/commands/sbom-export.d.ts.map +1 -0
- package/dist/commands/sbom-export.js +162 -0
- package/dist/commands/sbom-export.js.map +1 -0
- package/dist/commands/test-correlate.d.ts +8 -0
- package/dist/commands/test-correlate.d.ts.map +1 -0
- package/dist/commands/test-correlate.js +222 -0
- package/dist/commands/test-correlate.js.map +1 -0
- package/package.json +1 -1
- package/server.json +2 -2
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Test correlate — ingests test coverage data and cross-references
|
|
3
|
+
* with security findings to prioritize high-risk untested areas.
|
|
4
|
+
*
|
|
5
|
+
* All data from local coverage files.
|
|
6
|
+
*/
|
|
7
|
+
import { existsSync, readFileSync, mkdirSync, writeFileSync } from "fs";
|
|
8
|
+
import { join } from "path";
|
|
9
|
+
// ─── Coverage parsers ───────────────────────────────────────────────────────
|
|
10
|
+
function parseLcov(content) {
|
|
11
|
+
const entries = [];
|
|
12
|
+
let currentFile = "";
|
|
13
|
+
let linesFound = 0;
|
|
14
|
+
let linesHit = 0;
|
|
15
|
+
for (const line of content.split("\n")) {
|
|
16
|
+
if (line.startsWith("SF:")) {
|
|
17
|
+
currentFile = line.substring(3).trim();
|
|
18
|
+
linesFound = 0;
|
|
19
|
+
linesHit = 0;
|
|
20
|
+
}
|
|
21
|
+
else if (line.startsWith("LF:")) {
|
|
22
|
+
linesFound = parseInt(line.substring(3), 10);
|
|
23
|
+
}
|
|
24
|
+
else if (line.startsWith("LH:")) {
|
|
25
|
+
linesHit = parseInt(line.substring(3), 10);
|
|
26
|
+
}
|
|
27
|
+
else if (line === "end_of_record" && currentFile) {
|
|
28
|
+
entries.push({
|
|
29
|
+
file: currentFile,
|
|
30
|
+
lines: {
|
|
31
|
+
covered: linesHit,
|
|
32
|
+
total: linesFound,
|
|
33
|
+
percentage: linesFound > 0 ? Math.round((linesHit / linesFound) * 100) : 0,
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
currentFile = "";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return entries;
|
|
40
|
+
}
|
|
41
|
+
function parseIstanbul(content) {
|
|
42
|
+
try {
|
|
43
|
+
const data = JSON.parse(content);
|
|
44
|
+
const entries = [];
|
|
45
|
+
for (const [file, info] of Object.entries(data)) {
|
|
46
|
+
const cov = info;
|
|
47
|
+
if (cov.s) {
|
|
48
|
+
const stmts = Object.values(cov.s);
|
|
49
|
+
const total = stmts.length;
|
|
50
|
+
const covered = stmts.filter((v) => v > 0).length;
|
|
51
|
+
entries.push({
|
|
52
|
+
file,
|
|
53
|
+
lines: { covered, total, percentage: total > 0 ? Math.round((covered / total) * 100) : 0 },
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
return entries;
|
|
58
|
+
}
|
|
59
|
+
catch {
|
|
60
|
+
return [];
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
function loadCoverage() {
|
|
64
|
+
const lcovPaths = ["coverage/lcov.info", "lcov.info"];
|
|
65
|
+
for (const p of lcovPaths) {
|
|
66
|
+
if (existsSync(p))
|
|
67
|
+
return parseLcov(readFileSync(p, "utf-8"));
|
|
68
|
+
}
|
|
69
|
+
const istanbulPaths = ["coverage/coverage-final.json", ".nyc_output/coverage-final.json"];
|
|
70
|
+
for (const p of istanbulPaths) {
|
|
71
|
+
if (existsSync(p))
|
|
72
|
+
return parseIstanbul(readFileSync(p, "utf-8"));
|
|
73
|
+
}
|
|
74
|
+
// Cobertura XML — simplified check
|
|
75
|
+
if (existsSync("coverage/cobertura-coverage.xml") || existsSync("coverage.xml")) {
|
|
76
|
+
const p = existsSync("coverage/cobertura-coverage.xml") ? "coverage/cobertura-coverage.xml" : "coverage.xml";
|
|
77
|
+
const content = readFileSync(p, "utf-8");
|
|
78
|
+
const entries = [];
|
|
79
|
+
const fileRegex = /filename="([^"]+)"/g;
|
|
80
|
+
const rateRegex = /line-rate="([\d.]+)"/g;
|
|
81
|
+
let fileMatch;
|
|
82
|
+
let rateMatch;
|
|
83
|
+
while ((fileMatch = fileRegex.exec(content)) && (rateMatch = rateRegex.exec(content))) {
|
|
84
|
+
entries.push({
|
|
85
|
+
file: fileMatch[1],
|
|
86
|
+
lines: { covered: 0, total: 0, percentage: Math.round(parseFloat(rateMatch[1]) * 100) },
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
return entries;
|
|
90
|
+
}
|
|
91
|
+
return [];
|
|
92
|
+
}
|
|
93
|
+
function loadFindings() {
|
|
94
|
+
const paths = [".judges-findings.json", "judges-report.json"];
|
|
95
|
+
for (const p of paths) {
|
|
96
|
+
if (!existsSync(p))
|
|
97
|
+
continue;
|
|
98
|
+
try {
|
|
99
|
+
const data = JSON.parse(readFileSync(p, "utf-8"));
|
|
100
|
+
if (Array.isArray(data))
|
|
101
|
+
return data;
|
|
102
|
+
if (data.findings)
|
|
103
|
+
return data.findings;
|
|
104
|
+
}
|
|
105
|
+
catch {
|
|
106
|
+
/* skip */
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
return [];
|
|
110
|
+
}
|
|
111
|
+
// ─── Correlation ────────────────────────────────────────────────────────────
|
|
112
|
+
function correlate(coverage, findings) {
|
|
113
|
+
const coverageMap = new Map();
|
|
114
|
+
for (const c of coverage)
|
|
115
|
+
coverageMap.set(c.file, c);
|
|
116
|
+
const findingsByFile = new Map();
|
|
117
|
+
for (const f of findings) {
|
|
118
|
+
const key = f.file || "unknown";
|
|
119
|
+
if (!findingsByFile.has(key))
|
|
120
|
+
findingsByFile.set(key, []);
|
|
121
|
+
findingsByFile.get(key).push(f);
|
|
122
|
+
}
|
|
123
|
+
const correlations = [];
|
|
124
|
+
for (const [file, fileFindings] of findingsByFile) {
|
|
125
|
+
const cov = coverageMap.get(file);
|
|
126
|
+
const covPct = cov ? cov.lines.percentage : 0;
|
|
127
|
+
const sevWeights = { critical: 10, high: 7, medium: 4, low: 1 };
|
|
128
|
+
const riskScore = fileFindings.reduce((s, f) => s + (sevWeights[f.severity] || 2), 0);
|
|
129
|
+
const combinedRisk = riskScore * (1 + (100 - covPct) / 100);
|
|
130
|
+
let riskCategory = "low";
|
|
131
|
+
if (combinedRisk > 30)
|
|
132
|
+
riskCategory = "critical";
|
|
133
|
+
else if (combinedRisk > 15)
|
|
134
|
+
riskCategory = "high";
|
|
135
|
+
else if (combinedRisk > 7)
|
|
136
|
+
riskCategory = "medium";
|
|
137
|
+
correlations.push({
|
|
138
|
+
file,
|
|
139
|
+
coveragePercent: covPct,
|
|
140
|
+
findingCount: fileFindings.length,
|
|
141
|
+
riskCategory,
|
|
142
|
+
findings: fileFindings,
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
return correlations.sort((a, b) => {
|
|
146
|
+
const order = { critical: 0, high: 1, medium: 2, low: 3 };
|
|
147
|
+
return (order[a.riskCategory] || 4) - (order[b.riskCategory] || 4);
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
// ─── CLI ────────────────────────────────────────────────────────────────────
|
|
151
|
+
const STORE = ".judges-test-correlate";
|
|
152
|
+
export function runTestCorrelate(argv) {
|
|
153
|
+
if (argv.includes("--help") || argv.includes("-h")) {
|
|
154
|
+
console.log(`
|
|
155
|
+
judges test-correlate — Cross-reference test coverage with findings
|
|
156
|
+
|
|
157
|
+
Usage:
|
|
158
|
+
judges test-correlate
|
|
159
|
+
judges test-correlate --risk critical,high
|
|
160
|
+
judges test-correlate --save
|
|
161
|
+
|
|
162
|
+
Options:
|
|
163
|
+
--risk <levels> Filter by risk category (comma-separated)
|
|
164
|
+
--save Save report to ${STORE}/
|
|
165
|
+
--format json JSON output
|
|
166
|
+
--help, -h Show this help
|
|
167
|
+
|
|
168
|
+
Supports: lcov.info, coverage-final.json (Istanbul), cobertura XML
|
|
169
|
+
`);
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
const format = argv.find((_a, i) => argv[i - 1] === "--format") || "text";
|
|
173
|
+
const coverage = loadCoverage();
|
|
174
|
+
const findings = loadFindings();
|
|
175
|
+
if (coverage.length === 0) {
|
|
176
|
+
console.log(" No coverage data found. Run tests with coverage first.");
|
|
177
|
+
console.log(" Supported formats: lcov.info, coverage-final.json, cobertura XML");
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
let correlations = correlate(coverage, findings);
|
|
181
|
+
const riskFilter = argv.find((_a, i) => argv[i - 1] === "--risk");
|
|
182
|
+
if (riskFilter) {
|
|
183
|
+
const allowed = riskFilter.split(",");
|
|
184
|
+
correlations = correlations.filter((c) => allowed.includes(c.riskCategory));
|
|
185
|
+
}
|
|
186
|
+
const avgCov = coverage.length > 0 ? Math.round(coverage.reduce((s, c) => s + c.lines.percentage, 0) / coverage.length) : 0;
|
|
187
|
+
const report = {
|
|
188
|
+
correlations,
|
|
189
|
+
totalFiles: coverage.length,
|
|
190
|
+
untestedFilesWithFindings: correlations.filter((c) => c.coveragePercent === 0).length,
|
|
191
|
+
avgCoverage: avgCov,
|
|
192
|
+
timestamp: new Date().toISOString(),
|
|
193
|
+
};
|
|
194
|
+
if (argv.includes("--save")) {
|
|
195
|
+
if (!existsSync(STORE))
|
|
196
|
+
mkdirSync(STORE, { recursive: true });
|
|
197
|
+
writeFileSync(join(STORE, "correlation-report.json"), JSON.stringify(report, null, 2));
|
|
198
|
+
console.log(` Saved to ${STORE}/correlation-report.json`);
|
|
199
|
+
}
|
|
200
|
+
if (format === "json") {
|
|
201
|
+
console.log(JSON.stringify(report, null, 2));
|
|
202
|
+
}
|
|
203
|
+
else {
|
|
204
|
+
console.log(`\n Test-Finding Correlation`);
|
|
205
|
+
console.log(` Files: ${report.totalFiles} Avg Coverage: ${report.avgCoverage}%`);
|
|
206
|
+
console.log(` Untested files with findings: ${report.untestedFilesWithFindings}`);
|
|
207
|
+
console.log(` ──────────────────────────`);
|
|
208
|
+
if (correlations.length === 0) {
|
|
209
|
+
console.log(` ✅ No finding-coverage correlations\n`);
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
for (const c of correlations.slice(0, 20)) {
|
|
213
|
+
const covBar = c.coveragePercent > 0 ? `${c.coveragePercent}%` : "0% ⚠️";
|
|
214
|
+
console.log(` [${c.riskCategory.toUpperCase().padEnd(8)}] ${c.file}`);
|
|
215
|
+
console.log(` Coverage: ${covBar} Findings: ${c.findingCount}`);
|
|
216
|
+
}
|
|
217
|
+
if (correlations.length > 20)
|
|
218
|
+
console.log(` ... and ${correlations.length - 20} more`);
|
|
219
|
+
console.log("");
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
//# sourceMapping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QAC1F,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
"url": "https://github.com/kevinrabun/judges",
|
|
8
8
|
"source": "github"
|
|
9
9
|
},
|
|
10
|
-
"version": "3.
|
|
10
|
+
"version": "3.49.0",
|
|
11
11
|
"packages": [
|
|
12
12
|
{
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"identifier": "@kevinrabun/judges",
|
|
15
|
-
"version": "3.
|
|
15
|
+
"version": "3.49.0",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|
|
18
18
|
}
|