xploitscan 1.0.13 → 1.0.14
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/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3696,9 +3696,13 @@ async function scanCommand(directory, options) {
|
|
|
3696
3696
|
if (aiReviewed && !isSilent) {
|
|
3697
3697
|
console.log("");
|
|
3698
3698
|
if (aiRemovedCount > 0) {
|
|
3699
|
-
|
|
3699
|
+
if (dedupedFindings.length > 0) {
|
|
3700
|
+
console.log(chalk2.cyan("\u{1F916} AI Review: ") + chalk2.white(`${aiRemovedCount} false positive${aiRemovedCount !== 1 ? "s" : ""} removed \xB7 `) + chalk2.green(`${dedupedFindings.length} real issue${dedupedFindings.length !== 1 ? "s" : ""} confirmed`));
|
|
3701
|
+
} else {
|
|
3702
|
+
console.log(chalk2.cyan("\u{1F916} AI Review: ") + chalk2.green(`clean scan`) + chalk2.gray(` (${aiRemovedCount} false positive${aiRemovedCount !== 1 ? "s" : ""} removed)`));
|
|
3703
|
+
}
|
|
3700
3704
|
} else {
|
|
3701
|
-
console.log(chalk2.cyan("\u{1F916} AI Review: ") + chalk2.green(`all ${dedupedFindings.length} finding${dedupedFindings.length !== 1 ? "s" : ""}
|
|
3705
|
+
console.log(chalk2.cyan("\u{1F916} AI Review: ") + chalk2.green(`all ${dedupedFindings.length} finding${dedupedFindings.length !== 1 ? "s" : ""} confirmed real`));
|
|
3702
3706
|
}
|
|
3703
3707
|
if (verbose && aiFilteredFindings.length > 0) {
|
|
3704
3708
|
console.log(chalk2.gray(`
|