xploitscan 1.1.4 → 1.1.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/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -45380,7 +45380,12 @@ var complianceMap = {
|
|
|
45380
45380
|
var consoleLogProduction = {
|
|
45381
45381
|
id: "VC097",
|
|
45382
45382
|
title: "Console.log Left in Production Code",
|
|
45383
|
-
|
|
45383
|
+
// Demoted from "low" to "info" 2026-05-11. This is a code-hygiene
|
|
45384
|
+
// signal (leaked debug logs, occasionally PII), not a security
|
|
45385
|
+
// vulnerability in the OWASP sense. Was inflating severity counts
|
|
45386
|
+
// on real codebases (11+ hits on vibecheck's own scan), drowning
|
|
45387
|
+
// the actual security signal.
|
|
45388
|
+
severity: "info",
|
|
45384
45389
|
category: "Performance",
|
|
45385
45390
|
description: "console.log statements left in production code can leak sensitive data, slow down rendering, and clutter browser consoles.",
|
|
45386
45391
|
check(content, filePath) {
|
|
@@ -45420,7 +45425,11 @@ var todoLeftInCode = {
|
|
|
45420
45425
|
var emptyCatchBlock = {
|
|
45421
45426
|
id: "VC104",
|
|
45422
45427
|
title: "Empty Catch Block",
|
|
45423
|
-
|
|
45428
|
+
// Demoted from "medium" to "info" 2026-05-11. Already a Code-Quality
|
|
45429
|
+
// category — empty catch blocks are a maintainability concern, not a
|
|
45430
|
+
// security vulnerability. Worth flagging, not worth counting as a
|
|
45431
|
+
// security "medium" alongside actual SQL-injection / XSS findings.
|
|
45432
|
+
severity: "info",
|
|
45424
45433
|
category: "Code Quality",
|
|
45425
45434
|
description: "Empty catch blocks silently swallow errors, making bugs impossible to diagnose. At minimum, log the error.",
|
|
45426
45435
|
check(content, filePath) {
|
|
@@ -48219,7 +48228,7 @@ async function cursorInstallCommand(opts = {}) {
|
|
|
48219
48228
|
var program = new Command();
|
|
48220
48229
|
program.name("xploitscan").description(
|
|
48221
48230
|
"AI security scanner for vibe-coded apps. Find vulnerabilities before attackers do."
|
|
48222
|
-
).version("1.1.
|
|
48231
|
+
).version("1.1.5");
|
|
48223
48232
|
program.command("scan").description("Scan a directory for security vulnerabilities").argument("[directory]", "Directory to scan", ".").option("--no-ai", "Skip AI-powered analysis").option(
|
|
48224
48233
|
"-f, --format <format>",
|
|
48225
48234
|
"Output format: terminal, json, sarif, splunk-hec, elastic-ecs, datadog-logs",
|