@4da/mcp-server 6.2.4 → 6.2.5
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 +484 -0
- package/README.md +22 -6
- package/dist/db.d.ts +38 -0
- package/dist/db.js +78 -23
- package/dist/doctor.js +6 -3
- package/dist/embeddings.d.ts +1 -1
- package/dist/embeddings.js +16 -14
- package/dist/index.js +73 -103
- package/dist/live/advisory-groups.d.ts +68 -0
- package/dist/live/advisory-groups.js +131 -0
- package/dist/live/cache.js +11 -3
- package/dist/live/cargo-platform.d.ts +6 -0
- package/dist/live/cargo-platform.js +8 -2
- package/dist/live/changelog.js +38 -6
- package/dist/live/dependency-set.d.ts +9 -1
- package/dist/live/dependency-set.js +10 -2
- package/dist/live/fix-paths.d.ts +258 -9
- package/dist/live/fix-paths.js +790 -45
- package/dist/live/github-releases.js +3 -0
- package/dist/live/held-dependencies.d.ts +93 -0
- package/dist/live/held-dependencies.js +212 -0
- package/dist/live/held-targets.d.ts +30 -0
- package/dist/live/held-targets.js +107 -0
- package/dist/live/http-utils.js +13 -3
- package/dist/live/index.d.ts +7 -4
- package/dist/live/index.js +24 -19
- package/dist/live/install-state.js +6 -2
- package/dist/live/js-lockfile-readers.d.ts +8 -1
- package/dist/live/js-lockfile-readers.js +43 -6
- package/dist/live/lockfile-parents.d.ts +15 -0
- package/dist/live/lockfile-parents.js +85 -10
- package/dist/live/lockfile-parsers-pygo.d.ts +47 -2
- package/dist/live/lockfile-parsers-pygo.js +230 -12
- package/dist/live/lockfile-parsers-rbphp.d.ts +38 -0
- package/dist/live/lockfile-parsers-rbphp.js +123 -0
- package/dist/live/lockfile-parsers.d.ts +6 -0
- package/dist/live/lockfile-parsers.js +116 -4
- package/dist/live/lockfile-types.d.ts +28 -1
- package/dist/live/maintenance.d.ts +20 -4
- package/dist/live/maintenance.js +31 -2
- package/dist/live/malware.d.ts +20 -0
- package/dist/live/malware.js +31 -0
- package/dist/live/npm-packument.d.ts +4 -1
- package/dist/live/npm-packument.js +5 -2
- package/dist/live/offered-release.d.ts +53 -0
- package/dist/live/offered-release.js +117 -0
- package/dist/live/osv-ranges.d.ts +111 -0
- package/dist/live/osv-ranges.js +173 -14
- package/dist/live/osv-scanner.d.ts +87 -5
- package/dist/live/osv-scanner.js +310 -59
- package/dist/live/pinned-advisories.d.ts +2 -2
- package/dist/live/pinned-advisories.js +3 -3
- package/dist/live/pypi-advice.d.ts +36 -0
- package/dist/live/pypi-advice.js +158 -0
- package/dist/live/rate-limiter.d.ts +7 -0
- package/dist/live/rate-limiter.js +22 -1
- package/dist/live/release-metadata.d.ts +5 -0
- package/dist/live/resolution.d.ts +3 -0
- package/dist/live/resolution.js +6 -3
- package/dist/live/scan-coverage.d.ts +26 -0
- package/dist/live/scan-coverage.js +70 -0
- package/dist/live/semver-utils.d.ts +8 -0
- package/dist/live/semver-utils.js +26 -3
- package/dist/live/severity-scope.d.ts +26 -1
- package/dist/live/severity-scope.js +32 -0
- package/dist/live/shell-safe.d.ts +19 -0
- package/dist/live/shell-safe.js +36 -0
- package/dist/live/types.d.ts +134 -8
- package/dist/live/version-compare.d.ts +49 -0
- package/dist/live/version-compare.js +131 -0
- package/dist/live/withdrawn-releases.d.ts +50 -0
- package/dist/live/withdrawn-releases.js +125 -0
- package/dist/project-manifests.d.ts +7 -0
- package/dist/project-manifests.js +45 -5
- package/dist/project-scanner.js +6 -4
- package/dist/project-tree.d.ts +56 -0
- package/dist/project-tree.js +174 -5
- package/dist/schema-registry.d.ts +47 -4
- package/dist/schema-registry.js +76 -9
- package/dist/server-instructions.js +4 -2
- package/dist/setup.d.ts +8 -0
- package/dist/setup.js +21 -2
- package/dist/tool-dispatch.js +3 -3
- package/dist/tools/agent-memory.d.ts +5 -0
- package/dist/tools/agent-memory.js +9 -0
- package/dist/tools/briefing-task-scope.js +5 -2
- package/dist/tools/decision-memory.js +2 -0
- package/dist/tools/dependency-check-held.d.ts +44 -0
- package/dist/tools/dependency-check-held.js +98 -0
- package/dist/tools/dependency-check-signals.d.ts +19 -2
- package/dist/tools/dependency-check-signals.js +84 -13
- package/dist/tools/dependency-check-versions.d.ts +37 -4
- package/dist/tools/dependency-check-versions.js +48 -13
- package/dist/tools/dependency-check.d.ts +11 -1
- package/dist/tools/dependency-check.js +81 -29
- package/dist/tools/dependency-health.js +209 -45
- package/dist/tools/get-context.d.ts +3 -0
- package/dist/tools/get-context.js +4 -0
- package/dist/tools/project-scope.d.ts +8 -0
- package/dist/tools/project-scope.js +21 -0
- package/dist/tools/upgrade-impact-features.d.ts +37 -0
- package/dist/tools/upgrade-impact-features.js +176 -0
- package/dist/tools/upgrade-impact-literals.js +26 -4
- package/dist/tools/upgrade-impact-report.d.ts +5 -1
- package/dist/tools/upgrade-impact-report.js +26 -5
- package/dist/tools/upgrade-impact.js +10 -3
- package/dist/tools/upgrade-planner-fixpaths.d.ts +162 -5
- package/dist/tools/upgrade-planner-fixpaths.js +0 -0
- package/dist/tools/upgrade-planner.d.ts +59 -4
- package/dist/tools/upgrade-planner.js +237 -61
- package/dist/tools/vulnerability-scan-concise.d.ts +47 -2
- package/dist/tools/vulnerability-scan-concise.js +37 -3
- package/dist/tools/vulnerability-scan-format.d.ts +126 -24
- package/dist/tools/vulnerability-scan-format.js +193 -26
- package/dist/tools/vulnerability-scan.d.ts +224 -63
- package/dist/tools/vulnerability-scan.js +50 -15
- package/dist/tools/what-should-i-know.d.ts +6 -1
- package/dist/tools/what-should-i-know.js +72 -15
- package/package.json +2 -2
|
@@ -19,6 +19,7 @@ export interface VulnerabilityScanParams {
|
|
|
19
19
|
force_refresh?: boolean;
|
|
20
20
|
response_format?: "concise" | "detailed";
|
|
21
21
|
package?: string;
|
|
22
|
+
include_test_fixtures?: boolean;
|
|
22
23
|
}
|
|
23
24
|
export declare const vulnerabilityScanTool: {
|
|
24
25
|
name: string;
|
|
@@ -47,6 +48,10 @@ export declare const vulnerabilityScanTool: {
|
|
|
47
48
|
type: string;
|
|
48
49
|
description: string;
|
|
49
50
|
};
|
|
51
|
+
include_test_fixtures: {
|
|
52
|
+
type: string;
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
50
55
|
response_format: {
|
|
51
56
|
type: string;
|
|
52
57
|
enum: string[];
|
|
@@ -56,32 +61,25 @@ export declare const vulnerabilityScanTool: {
|
|
|
56
61
|
};
|
|
57
62
|
};
|
|
58
63
|
export declare function executeVulnerabilityScan(db: FourDADatabase | null, params: VulnerabilityScanParams, liveIntelligence: LiveIntelligence | null): Promise<{
|
|
64
|
+
summary?: string | undefined;
|
|
59
65
|
scan_time: string;
|
|
60
66
|
project: string;
|
|
61
|
-
coverage?:
|
|
62
|
-
complete: boolean;
|
|
63
|
-
note: string;
|
|
64
|
-
lockfiles_not_scanned: number;
|
|
65
|
-
skipped_lockfiles?: {
|
|
66
|
-
path: string;
|
|
67
|
-
reason: "depth" | "project_limit";
|
|
68
|
-
}[] | undefined;
|
|
69
|
-
walk_truncated?: boolean | undefined;
|
|
70
|
-
unresolved_manifests?: {
|
|
71
|
-
manifest: string;
|
|
72
|
-
declared_ranges: number;
|
|
73
|
-
fix: string;
|
|
74
|
-
}[] | undefined;
|
|
75
|
-
} | undefined;
|
|
67
|
+
coverage?: import("./vulnerability-scan-format.js").MergedCoverage | undefined;
|
|
76
68
|
project_root: string;
|
|
77
69
|
workspaces_with_findings: string[];
|
|
78
70
|
host_platform: string;
|
|
79
71
|
ecosystems_scanned: string[];
|
|
80
72
|
total_dependencies_scanned: number;
|
|
81
|
-
|
|
73
|
+
dev_scope?: string | undefined;
|
|
74
|
+
total_vulnerable_packages: number | null;
|
|
82
75
|
platform_inactive_packages: number;
|
|
83
|
-
by_severity: import("../live/severity-scope.js").SeverityCounts;
|
|
84
|
-
advisory_by_severity: import("../live/severity-scope.js").SeverityCounts;
|
|
76
|
+
by_severity: import("../live/severity-scope.js").SeverityCounts | null;
|
|
77
|
+
advisory_by_severity: import("../live/severity-scope.js").SeverityCounts | null;
|
|
78
|
+
found_in_checked_dependencies?: {
|
|
79
|
+
note: string;
|
|
80
|
+
vulnerable_packages: number;
|
|
81
|
+
by_severity: import("../live/severity-scope.js").SeverityCounts;
|
|
82
|
+
} | undefined;
|
|
85
83
|
vulnerabilities: {
|
|
86
84
|
package: string;
|
|
87
85
|
current_version: string;
|
|
@@ -96,10 +94,14 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
96
94
|
aliases: string[];
|
|
97
95
|
severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
98
96
|
advisory_severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
97
|
+
malware?: boolean | undefined;
|
|
98
|
+
severity_from?: string | undefined;
|
|
99
99
|
severity_note?: string | undefined;
|
|
100
100
|
cvss_score: number | null;
|
|
101
101
|
summary: string;
|
|
102
102
|
fixed_version: string | null;
|
|
103
|
+
withheld?: string[] | undefined;
|
|
104
|
+
withheld_note?: string | null | undefined;
|
|
103
105
|
published: string;
|
|
104
106
|
references: string[];
|
|
105
107
|
}[];
|
|
@@ -117,10 +119,14 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
117
119
|
aliases: string[];
|
|
118
120
|
severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
119
121
|
advisory_severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
122
|
+
malware?: boolean | undefined;
|
|
123
|
+
severity_from?: string | undefined;
|
|
120
124
|
severity_note?: string | undefined;
|
|
121
125
|
cvss_score: number | null;
|
|
122
126
|
summary: string;
|
|
123
127
|
fixed_version: string | null;
|
|
128
|
+
withheld?: string[] | undefined;
|
|
129
|
+
withheld_note?: string | null | undefined;
|
|
124
130
|
published: string;
|
|
125
131
|
references: string[];
|
|
126
132
|
}[];
|
|
@@ -138,10 +144,14 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
138
144
|
aliases: string[];
|
|
139
145
|
severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
140
146
|
advisory_severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
147
|
+
malware?: boolean | undefined;
|
|
148
|
+
severity_from?: string | undefined;
|
|
141
149
|
severity_note?: string | undefined;
|
|
142
150
|
cvss_score: number | null;
|
|
143
151
|
summary: string;
|
|
144
152
|
fixed_version: string | null;
|
|
153
|
+
withheld?: string[] | undefined;
|
|
154
|
+
withheld_note?: string | null | undefined;
|
|
145
155
|
published: string;
|
|
146
156
|
references: string[];
|
|
147
157
|
}[];
|
|
@@ -151,14 +161,23 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
151
161
|
target: string | null;
|
|
152
162
|
checked: "all_advisories" | "installed_advisories_only";
|
|
153
163
|
note?: string;
|
|
164
|
+
withheld?: string[];
|
|
165
|
+
withheld_note?: string;
|
|
154
166
|
}>;
|
|
155
|
-
clean_dependencies: number;
|
|
167
|
+
clean_dependencies: number | null;
|
|
156
168
|
scan_duration_ms: number;
|
|
157
169
|
_meta: {
|
|
158
170
|
source: string;
|
|
159
171
|
cached: boolean;
|
|
160
172
|
osv_cached: boolean;
|
|
161
173
|
offline: boolean;
|
|
174
|
+
stale_osv_answers?: number | undefined;
|
|
175
|
+
alias_severity?: {
|
|
176
|
+
rated_from_alias: number;
|
|
177
|
+
unresolved: string[];
|
|
178
|
+
ungraded: string[];
|
|
179
|
+
note?: string | undefined;
|
|
180
|
+
} | undefined;
|
|
162
181
|
privacy: string;
|
|
163
182
|
relevance: string;
|
|
164
183
|
severity_rule: string;
|
|
@@ -174,23 +193,55 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
174
193
|
};
|
|
175
194
|
};
|
|
176
195
|
} | {
|
|
196
|
+
summary?: string | undefined;
|
|
177
197
|
scan_time: string;
|
|
178
198
|
project_root: string;
|
|
179
199
|
host_platform: string;
|
|
180
200
|
ecosystems_scanned: string[];
|
|
181
201
|
total_dependencies_scanned: number;
|
|
182
|
-
|
|
202
|
+
dev_scope?: string | undefined;
|
|
203
|
+
total_vulnerable_packages: number | null;
|
|
183
204
|
coverage?: {
|
|
184
205
|
complete: false;
|
|
185
206
|
note: string;
|
|
207
|
+
unchecked_dependencies?: number | undefined;
|
|
208
|
+
checked_dependencies?: number | undefined;
|
|
209
|
+
osv_status?: string | undefined;
|
|
186
210
|
lockfiles_not_scanned: number;
|
|
211
|
+
unreadable_lockfiles?: {
|
|
212
|
+
path: string;
|
|
213
|
+
error: string;
|
|
214
|
+
}[] | undefined;
|
|
215
|
+
partial_lockfiles?: {
|
|
216
|
+
path: string;
|
|
217
|
+
skipped_entries: number;
|
|
218
|
+
reason: string;
|
|
219
|
+
}[] | undefined;
|
|
220
|
+
refused_includes?: {
|
|
221
|
+
path: string;
|
|
222
|
+
reason: string;
|
|
223
|
+
}[] | undefined;
|
|
224
|
+
not_covered?: {
|
|
225
|
+
path: string;
|
|
226
|
+
ecosystem: string;
|
|
227
|
+
}[] | undefined;
|
|
228
|
+
not_covered_count?: number | undefined;
|
|
229
|
+
not_scanned?: {
|
|
230
|
+
test_fixture_lockfiles: number;
|
|
231
|
+
dirs: string[];
|
|
232
|
+
} | undefined;
|
|
187
233
|
unresolved_manifests?: {
|
|
188
234
|
manifest: string;
|
|
189
235
|
declared_ranges: number;
|
|
190
236
|
fix: string;
|
|
191
237
|
}[] | undefined;
|
|
192
238
|
} | undefined;
|
|
193
|
-
by_severity: import("../live/severity-scope.js").SeverityCounts;
|
|
239
|
+
by_severity: import("../live/severity-scope.js").SeverityCounts | null;
|
|
240
|
+
found_in_checked_dependencies?: {
|
|
241
|
+
note: string;
|
|
242
|
+
vulnerable_packages: number;
|
|
243
|
+
by_severity: import("../live/severity-scope.js").SeverityCounts;
|
|
244
|
+
} | undefined;
|
|
194
245
|
vulnerable_packages: import("./vulnerability-scan-concise.js").PackageRow[];
|
|
195
246
|
vulnerable_packages_note?: string | undefined;
|
|
196
247
|
recommendations: string[];
|
|
@@ -219,6 +270,12 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
219
270
|
lockfiles_read: number;
|
|
220
271
|
resolved_at: string | null;
|
|
221
272
|
privacy: string;
|
|
273
|
+
alias_severity?: {
|
|
274
|
+
rated_from_alias: number;
|
|
275
|
+
unresolved: string[];
|
|
276
|
+
ungraded: string[];
|
|
277
|
+
note?: string | undefined;
|
|
278
|
+
} | undefined;
|
|
222
279
|
};
|
|
223
280
|
} | {
|
|
224
281
|
error: null;
|
|
@@ -236,32 +293,25 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
236
293
|
offline: boolean;
|
|
237
294
|
message: string;
|
|
238
295
|
} | {
|
|
296
|
+
summary?: string | undefined;
|
|
239
297
|
scan_time: string;
|
|
240
298
|
project: string;
|
|
241
|
-
coverage?:
|
|
242
|
-
complete: boolean;
|
|
243
|
-
note: string;
|
|
244
|
-
lockfiles_not_scanned: number;
|
|
245
|
-
skipped_lockfiles?: {
|
|
246
|
-
path: string;
|
|
247
|
-
reason: "depth" | "project_limit";
|
|
248
|
-
}[] | undefined;
|
|
249
|
-
walk_truncated?: boolean | undefined;
|
|
250
|
-
unresolved_manifests?: {
|
|
251
|
-
manifest: string;
|
|
252
|
-
declared_ranges: number;
|
|
253
|
-
fix: string;
|
|
254
|
-
}[] | undefined;
|
|
255
|
-
} | undefined;
|
|
299
|
+
coverage?: import("./vulnerability-scan-format.js").MergedCoverage | undefined;
|
|
256
300
|
project_root: string;
|
|
257
301
|
workspaces_with_findings: string[];
|
|
258
302
|
host_platform: string;
|
|
259
303
|
ecosystems_scanned: string[];
|
|
260
304
|
total_dependencies_scanned: number;
|
|
261
|
-
|
|
305
|
+
dev_scope?: string | undefined;
|
|
306
|
+
total_vulnerable_packages: number | null;
|
|
262
307
|
platform_inactive_packages: number;
|
|
263
|
-
by_severity: import("../live/severity-scope.js").SeverityCounts;
|
|
264
|
-
advisory_by_severity: import("../live/severity-scope.js").SeverityCounts;
|
|
308
|
+
by_severity: import("../live/severity-scope.js").SeverityCounts | null;
|
|
309
|
+
advisory_by_severity: import("../live/severity-scope.js").SeverityCounts | null;
|
|
310
|
+
found_in_checked_dependencies?: {
|
|
311
|
+
note: string;
|
|
312
|
+
vulnerable_packages: number;
|
|
313
|
+
by_severity: import("../live/severity-scope.js").SeverityCounts;
|
|
314
|
+
} | undefined;
|
|
265
315
|
vulnerabilities: {
|
|
266
316
|
package: string;
|
|
267
317
|
current_version: string;
|
|
@@ -276,10 +326,14 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
276
326
|
aliases: string[];
|
|
277
327
|
severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
278
328
|
advisory_severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
329
|
+
malware?: boolean | undefined;
|
|
330
|
+
severity_from?: string | undefined;
|
|
279
331
|
severity_note?: string | undefined;
|
|
280
332
|
cvss_score: number | null;
|
|
281
333
|
summary: string;
|
|
282
334
|
fixed_version: string | null;
|
|
335
|
+
withheld?: string[] | undefined;
|
|
336
|
+
withheld_note?: string | null | undefined;
|
|
283
337
|
published: string;
|
|
284
338
|
references: string[];
|
|
285
339
|
}[];
|
|
@@ -297,10 +351,14 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
297
351
|
aliases: string[];
|
|
298
352
|
severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
299
353
|
advisory_severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
354
|
+
malware?: boolean | undefined;
|
|
355
|
+
severity_from?: string | undefined;
|
|
300
356
|
severity_note?: string | undefined;
|
|
301
357
|
cvss_score: number | null;
|
|
302
358
|
summary: string;
|
|
303
359
|
fixed_version: string | null;
|
|
360
|
+
withheld?: string[] | undefined;
|
|
361
|
+
withheld_note?: string | null | undefined;
|
|
304
362
|
published: string;
|
|
305
363
|
references: string[];
|
|
306
364
|
}[];
|
|
@@ -318,10 +376,14 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
318
376
|
aliases: string[];
|
|
319
377
|
severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
320
378
|
advisory_severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
379
|
+
malware?: boolean | undefined;
|
|
380
|
+
severity_from?: string | undefined;
|
|
321
381
|
severity_note?: string | undefined;
|
|
322
382
|
cvss_score: number | null;
|
|
323
383
|
summary: string;
|
|
324
384
|
fixed_version: string | null;
|
|
385
|
+
withheld?: string[] | undefined;
|
|
386
|
+
withheld_note?: string | null | undefined;
|
|
325
387
|
published: string;
|
|
326
388
|
references: string[];
|
|
327
389
|
}[];
|
|
@@ -331,14 +393,23 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
331
393
|
target: string | null;
|
|
332
394
|
checked: "all_advisories" | "installed_advisories_only";
|
|
333
395
|
note?: string;
|
|
396
|
+
withheld?: string[];
|
|
397
|
+
withheld_note?: string;
|
|
334
398
|
}>;
|
|
335
|
-
clean_dependencies: number;
|
|
399
|
+
clean_dependencies: number | null;
|
|
336
400
|
scan_duration_ms: number;
|
|
337
401
|
_meta: {
|
|
338
402
|
source: string;
|
|
339
403
|
cached: boolean;
|
|
340
404
|
osv_cached: boolean;
|
|
341
405
|
offline: boolean;
|
|
406
|
+
stale_osv_answers?: number | undefined;
|
|
407
|
+
alias_severity?: {
|
|
408
|
+
rated_from_alias: number;
|
|
409
|
+
unresolved: string[];
|
|
410
|
+
ungraded: string[];
|
|
411
|
+
note?: string | undefined;
|
|
412
|
+
} | undefined;
|
|
342
413
|
privacy: string;
|
|
343
414
|
relevance: string;
|
|
344
415
|
severity_rule: string;
|
|
@@ -359,23 +430,55 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
359
430
|
message?: undefined;
|
|
360
431
|
note: string;
|
|
361
432
|
} | {
|
|
433
|
+
summary?: string | undefined;
|
|
362
434
|
scan_time: string;
|
|
363
435
|
project_root: string;
|
|
364
436
|
host_platform: string;
|
|
365
437
|
ecosystems_scanned: string[];
|
|
366
438
|
total_dependencies_scanned: number;
|
|
367
|
-
|
|
439
|
+
dev_scope?: string | undefined;
|
|
440
|
+
total_vulnerable_packages: number | null;
|
|
368
441
|
coverage?: {
|
|
369
442
|
complete: false;
|
|
370
443
|
note: string;
|
|
444
|
+
unchecked_dependencies?: number | undefined;
|
|
445
|
+
checked_dependencies?: number | undefined;
|
|
446
|
+
osv_status?: string | undefined;
|
|
371
447
|
lockfiles_not_scanned: number;
|
|
448
|
+
unreadable_lockfiles?: {
|
|
449
|
+
path: string;
|
|
450
|
+
error: string;
|
|
451
|
+
}[] | undefined;
|
|
452
|
+
partial_lockfiles?: {
|
|
453
|
+
path: string;
|
|
454
|
+
skipped_entries: number;
|
|
455
|
+
reason: string;
|
|
456
|
+
}[] | undefined;
|
|
457
|
+
refused_includes?: {
|
|
458
|
+
path: string;
|
|
459
|
+
reason: string;
|
|
460
|
+
}[] | undefined;
|
|
461
|
+
not_covered?: {
|
|
462
|
+
path: string;
|
|
463
|
+
ecosystem: string;
|
|
464
|
+
}[] | undefined;
|
|
465
|
+
not_covered_count?: number | undefined;
|
|
466
|
+
not_scanned?: {
|
|
467
|
+
test_fixture_lockfiles: number;
|
|
468
|
+
dirs: string[];
|
|
469
|
+
} | undefined;
|
|
372
470
|
unresolved_manifests?: {
|
|
373
471
|
manifest: string;
|
|
374
472
|
declared_ranges: number;
|
|
375
473
|
fix: string;
|
|
376
474
|
}[] | undefined;
|
|
377
475
|
} | undefined;
|
|
378
|
-
by_severity: import("../live/severity-scope.js").SeverityCounts;
|
|
476
|
+
by_severity: import("../live/severity-scope.js").SeverityCounts | null;
|
|
477
|
+
found_in_checked_dependencies?: {
|
|
478
|
+
note: string;
|
|
479
|
+
vulnerable_packages: number;
|
|
480
|
+
by_severity: import("../live/severity-scope.js").SeverityCounts;
|
|
481
|
+
} | undefined;
|
|
379
482
|
vulnerable_packages: import("./vulnerability-scan-concise.js").PackageRow[];
|
|
380
483
|
vulnerable_packages_note?: string | undefined;
|
|
381
484
|
recommendations: string[];
|
|
@@ -404,6 +507,12 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
404
507
|
lockfiles_read: number;
|
|
405
508
|
resolved_at: string | null;
|
|
406
509
|
privacy: string;
|
|
510
|
+
alias_severity?: {
|
|
511
|
+
rated_from_alias: number;
|
|
512
|
+
unresolved: string[];
|
|
513
|
+
ungraded: string[];
|
|
514
|
+
note?: string | undefined;
|
|
515
|
+
} | undefined;
|
|
407
516
|
};
|
|
408
517
|
hint?: undefined;
|
|
409
518
|
error?: undefined;
|
|
@@ -411,32 +520,25 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
411
520
|
message?: undefined;
|
|
412
521
|
note: string;
|
|
413
522
|
} | {
|
|
523
|
+
summary?: string | undefined;
|
|
414
524
|
scan_time: string;
|
|
415
525
|
project: string;
|
|
416
|
-
coverage?:
|
|
417
|
-
complete: boolean;
|
|
418
|
-
note: string;
|
|
419
|
-
lockfiles_not_scanned: number;
|
|
420
|
-
skipped_lockfiles?: {
|
|
421
|
-
path: string;
|
|
422
|
-
reason: "depth" | "project_limit";
|
|
423
|
-
}[] | undefined;
|
|
424
|
-
walk_truncated?: boolean | undefined;
|
|
425
|
-
unresolved_manifests?: {
|
|
426
|
-
manifest: string;
|
|
427
|
-
declared_ranges: number;
|
|
428
|
-
fix: string;
|
|
429
|
-
}[] | undefined;
|
|
430
|
-
} | undefined;
|
|
526
|
+
coverage?: import("./vulnerability-scan-format.js").MergedCoverage | undefined;
|
|
431
527
|
project_root: string;
|
|
432
528
|
workspaces_with_findings: string[];
|
|
433
529
|
host_platform: string;
|
|
434
530
|
ecosystems_scanned: string[];
|
|
435
531
|
total_dependencies_scanned: number;
|
|
436
|
-
|
|
532
|
+
dev_scope?: string | undefined;
|
|
533
|
+
total_vulnerable_packages: number | null;
|
|
437
534
|
platform_inactive_packages: number;
|
|
438
|
-
by_severity: import("../live/severity-scope.js").SeverityCounts;
|
|
439
|
-
advisory_by_severity: import("../live/severity-scope.js").SeverityCounts;
|
|
535
|
+
by_severity: import("../live/severity-scope.js").SeverityCounts | null;
|
|
536
|
+
advisory_by_severity: import("../live/severity-scope.js").SeverityCounts | null;
|
|
537
|
+
found_in_checked_dependencies?: {
|
|
538
|
+
note: string;
|
|
539
|
+
vulnerable_packages: number;
|
|
540
|
+
by_severity: import("../live/severity-scope.js").SeverityCounts;
|
|
541
|
+
} | undefined;
|
|
440
542
|
vulnerabilities: {
|
|
441
543
|
package: string;
|
|
442
544
|
current_version: string;
|
|
@@ -451,10 +553,14 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
451
553
|
aliases: string[];
|
|
452
554
|
severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
453
555
|
advisory_severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
556
|
+
malware?: boolean | undefined;
|
|
557
|
+
severity_from?: string | undefined;
|
|
454
558
|
severity_note?: string | undefined;
|
|
455
559
|
cvss_score: number | null;
|
|
456
560
|
summary: string;
|
|
457
561
|
fixed_version: string | null;
|
|
562
|
+
withheld?: string[] | undefined;
|
|
563
|
+
withheld_note?: string | null | undefined;
|
|
458
564
|
published: string;
|
|
459
565
|
references: string[];
|
|
460
566
|
}[];
|
|
@@ -472,10 +578,14 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
472
578
|
aliases: string[];
|
|
473
579
|
severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
474
580
|
advisory_severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
581
|
+
malware?: boolean | undefined;
|
|
582
|
+
severity_from?: string | undefined;
|
|
475
583
|
severity_note?: string | undefined;
|
|
476
584
|
cvss_score: number | null;
|
|
477
585
|
summary: string;
|
|
478
586
|
fixed_version: string | null;
|
|
587
|
+
withheld?: string[] | undefined;
|
|
588
|
+
withheld_note?: string | null | undefined;
|
|
479
589
|
published: string;
|
|
480
590
|
references: string[];
|
|
481
591
|
}[];
|
|
@@ -493,10 +603,14 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
493
603
|
aliases: string[];
|
|
494
604
|
severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
495
605
|
advisory_severity: "critical" | "high" | "low" | "medium" | "unknown";
|
|
606
|
+
malware?: boolean | undefined;
|
|
607
|
+
severity_from?: string | undefined;
|
|
496
608
|
severity_note?: string | undefined;
|
|
497
609
|
cvss_score: number | null;
|
|
498
610
|
summary: string;
|
|
499
611
|
fixed_version: string | null;
|
|
612
|
+
withheld?: string[] | undefined;
|
|
613
|
+
withheld_note?: string | null | undefined;
|
|
500
614
|
published: string;
|
|
501
615
|
references: string[];
|
|
502
616
|
}[];
|
|
@@ -506,14 +620,23 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
506
620
|
target: string | null;
|
|
507
621
|
checked: "all_advisories" | "installed_advisories_only";
|
|
508
622
|
note?: string;
|
|
623
|
+
withheld?: string[];
|
|
624
|
+
withheld_note?: string;
|
|
509
625
|
}>;
|
|
510
|
-
clean_dependencies: number;
|
|
626
|
+
clean_dependencies: number | null;
|
|
511
627
|
scan_duration_ms: number;
|
|
512
628
|
_meta: {
|
|
513
629
|
source: string;
|
|
514
630
|
cached: boolean;
|
|
515
631
|
osv_cached: boolean;
|
|
516
632
|
offline: boolean;
|
|
633
|
+
stale_osv_answers?: number | undefined;
|
|
634
|
+
alias_severity?: {
|
|
635
|
+
rated_from_alias: number;
|
|
636
|
+
unresolved: string[];
|
|
637
|
+
ungraded: string[];
|
|
638
|
+
note?: string | undefined;
|
|
639
|
+
} | undefined;
|
|
517
640
|
privacy: string;
|
|
518
641
|
relevance: string;
|
|
519
642
|
severity_rule: string;
|
|
@@ -535,23 +658,55 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
535
658
|
package_note: string;
|
|
536
659
|
note: string;
|
|
537
660
|
} | {
|
|
661
|
+
summary?: string | undefined;
|
|
538
662
|
scan_time: string;
|
|
539
663
|
project_root: string;
|
|
540
664
|
host_platform: string;
|
|
541
665
|
ecosystems_scanned: string[];
|
|
542
666
|
total_dependencies_scanned: number;
|
|
543
|
-
|
|
667
|
+
dev_scope?: string | undefined;
|
|
668
|
+
total_vulnerable_packages: number | null;
|
|
544
669
|
coverage?: {
|
|
545
670
|
complete: false;
|
|
546
671
|
note: string;
|
|
672
|
+
unchecked_dependencies?: number | undefined;
|
|
673
|
+
checked_dependencies?: number | undefined;
|
|
674
|
+
osv_status?: string | undefined;
|
|
547
675
|
lockfiles_not_scanned: number;
|
|
676
|
+
unreadable_lockfiles?: {
|
|
677
|
+
path: string;
|
|
678
|
+
error: string;
|
|
679
|
+
}[] | undefined;
|
|
680
|
+
partial_lockfiles?: {
|
|
681
|
+
path: string;
|
|
682
|
+
skipped_entries: number;
|
|
683
|
+
reason: string;
|
|
684
|
+
}[] | undefined;
|
|
685
|
+
refused_includes?: {
|
|
686
|
+
path: string;
|
|
687
|
+
reason: string;
|
|
688
|
+
}[] | undefined;
|
|
689
|
+
not_covered?: {
|
|
690
|
+
path: string;
|
|
691
|
+
ecosystem: string;
|
|
692
|
+
}[] | undefined;
|
|
693
|
+
not_covered_count?: number | undefined;
|
|
694
|
+
not_scanned?: {
|
|
695
|
+
test_fixture_lockfiles: number;
|
|
696
|
+
dirs: string[];
|
|
697
|
+
} | undefined;
|
|
548
698
|
unresolved_manifests?: {
|
|
549
699
|
manifest: string;
|
|
550
700
|
declared_ranges: number;
|
|
551
701
|
fix: string;
|
|
552
702
|
}[] | undefined;
|
|
553
703
|
} | undefined;
|
|
554
|
-
by_severity: import("../live/severity-scope.js").SeverityCounts;
|
|
704
|
+
by_severity: import("../live/severity-scope.js").SeverityCounts | null;
|
|
705
|
+
found_in_checked_dependencies?: {
|
|
706
|
+
note: string;
|
|
707
|
+
vulnerable_packages: number;
|
|
708
|
+
by_severity: import("../live/severity-scope.js").SeverityCounts;
|
|
709
|
+
} | undefined;
|
|
555
710
|
vulnerable_packages: import("./vulnerability-scan-concise.js").PackageRow[];
|
|
556
711
|
vulnerable_packages_note?: string | undefined;
|
|
557
712
|
recommendations: string[];
|
|
@@ -580,6 +735,12 @@ export declare function executeVulnerabilityScan(db: FourDADatabase | null, para
|
|
|
580
735
|
lockfiles_read: number;
|
|
581
736
|
resolved_at: string | null;
|
|
582
737
|
privacy: string;
|
|
738
|
+
alias_severity?: {
|
|
739
|
+
rated_from_alias: number;
|
|
740
|
+
unresolved: string[];
|
|
741
|
+
ungraded: string[];
|
|
742
|
+
note?: string | undefined;
|
|
743
|
+
} | undefined;
|
|
583
744
|
};
|
|
584
745
|
hint?: undefined;
|
|
585
746
|
error?: undefined;
|