{
  "findings": [
    {
      "id": "5a43707d2011b9cc6751",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "command-injection",
      "severity": "high",
      "file": "app.js",
      "line": 17,
      "description": "User-controlled plugin package data flows into child_process.spawn through a shell command.",
      "totalRepetitions": 5,
      "referenceFindingId": "jcl-command-injection-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "User-controlled plugin package data flows into child_process.spawn through a shell command.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "46996cbd9bc024656385",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 35,
      "description": "The full stdout and stderr output from the spawned shell command is returned to the client in the JSON response. This can expose internal server paths, environment details, installed package versions, and other sensitive system information, especially when command injection is also possible.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The full stdout and stderr output from the spawned shell command is returned to the client in the JSON response. This can expose internal server paths, environment details, installed package versions, and other sensitive system information, especially when command injection is also possible.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The full stdout and stderr output of the shell command is returned to the client in the JSON response. This can expose sensitive server information such as filesystem paths, installed package versions, internal error messages, and environment details.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "fb8621d219ffbfe247cd",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "command-injection",
      "severity": "high",
      "file": "app.js",
      "line": 17,
      "description": "User-controlled plugin package data flows into child_process.spawn through a shell command.",
      "totalRepetitions": 5,
      "referenceFindingId": "jcl-command-injection-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "User-controlled plugin package data flows into child_process.spawn through a shell command.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "6f04e8716434809b6b0b",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 20,
      "description": "The plugin installation endpoint performs expensive command execution without rate limiting.",
      "totalRepetitions": 5,
      "referenceFindingId": "jcl-no-rate-limit-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The plugin installation endpoint performs expensive command execution without rate limiting.",
          "occurrences": 2
        }
      ],
      "occurrences": 2
    },
    {
      "id": "537a350d7a081791ab80",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "command-injection",
      "severity": "high",
      "file": "app.js",
      "line": 17,
      "description": "User-controlled plugin package data flows into child_process.spawn through a shell command.",
      "totalRepetitions": 5,
      "referenceFindingId": "jcl-command-injection-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "User-controlled plugin package data flows into child_process.spawn through a shell command.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "80f0accf71f530f17f33",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "csrf",
      "severity": "medium",
      "file": "app.js",
      "line": 20,
      "description": "State-changing POST endpoint /plugins/install has no CSRF protection or origin/authentication checks, allowing cross-site requests to trigger plugin installations.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "State-changing POST endpoint /plugins/install has no CSRF protection or origin/authentication checks, allowing cross-site requests to trigger plugin installations.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "fa7dba8241cfee5dab43",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "low",
      "file": "app.js",
      "line": 21,
      "description": "req.body.package is used without type validation; a non-string value (object/array) could cause unexpected coercion or template interpolation behavior.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "req.body.package is used without type validation; a non-string value (object/array) could cause unexpected coercion or template interpolation behavior.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "req.body.package is used without type or content validation. A non-string value (object/array) or strings containing shell metacharacters/whitespace are accepted, enabling injection and unexpected behavior.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "req.body.package is used without type/format validation. A non-string value (object, array) or malformed input could cause unexpected behavior; combined with shell interpolation this amplifies the command-injection risk.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "d0adec37952841fa10da",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "information-exposure",
      "severity": "low",
      "file": "app.js",
      "line": 35,
      "description": "Raw stdout/stderr from the npm/shell child process is returned in the HTTP response, leaking internal filesystem paths, package manager errors, and other implementation details to clients.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "Raw stdout/stderr from the npm/shell child process is returned in the HTTP response, leaking internal filesystem paths, package manager errors, and other implementation details to clients.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "Raw stdout/stderr from the npm/shell process is returned to the HTTP client, potentially leaking server filesystem paths, environment details, or other sensitive diagnostic information.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "Raw stdout/stderr output from the npm install child process is returned in the HTTP response, potentially leaking internal filesystem paths, environment details, or error stack information to remote callers.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "c651a406cbd112621b2c",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "high",
      "file": "app.js",
      "line": 20,
      "description": "Missing authentication/authorization: the plugin install endpoint is fully unauthenticated, allowing any remote caller to trigger installation of arbitrary npm packages, which can execute install scripts and lead to remote code execution via malicious packages.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Missing authentication/authorization: the plugin install endpoint is fully unauthenticated, allowing any remote caller to trigger installation of arbitrary npm packages, which can execute install scripts and lead to remote code execution via malicious packages.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "7be9ff575a96f9a5458b",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 20,
      "description": "The plugin installation endpoint performs expensive command execution without rate limiting.",
      "totalRepetitions": 5,
      "referenceFindingId": "jcl-no-rate-limit-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The plugin installation endpoint performs expensive command execution without rate limiting.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "326aa336cb8f178b82a4",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "command-injection",
      "severity": "high",
      "file": "app.js",
      "line": 17,
      "description": "User-controlled plugin package data flows into child_process.spawn through a shell command.",
      "totalRepetitions": 5,
      "referenceFindingId": "jcl-command-injection-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "User-controlled plugin package data flows into child_process.spawn through a shell command.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "496f8da59cd16abd4781",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "insecure-transport",
      "severity": "medium",
      "file": "app.js",
      "line": 43,
      "description": "The service is created with a plaintext HTTP server.",
      "totalRepetitions": 5,
      "referenceFindingId": "jcl-insecure-transport-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The service is created with a plaintext HTTP server.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "3ec1d63f8df6ea278bfb",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 20,
      "description": "The /plugins/install endpoint has no rate limiting. An attacker can flood it with requests to spawn many parallel npm processes, exhausting CPU, memory, and network resources (denial of service).",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The /plugins/install endpoint has no rate limiting. An attacker can flood it with requests to spawn many parallel npm processes, exhausting CPU, memory, and network resources (denial of service).",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "86658b108f77df67a895",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 23,
      "description": "The spawned child process has no timeout configured. A hanging or deliberately slow npm install can occupy a process slot and accumulate unbounded output in the 'output' buffer indefinitely, leading to resource exhaustion.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The spawned child process has no timeout configured. A hanging or deliberately slow npm install can occupy a process slot and accumulate unbounded output in the 'output' buffer indefinitely, leading to resource exhaustion.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "46d3466c141d8c070868",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "command-injection",
      "severity": "critical",
      "file": "app.js",
      "line": 17,
      "description": "runInstaller() passes the full command string to cp.spawn via 'sh -c', enabling shell interpretation of the entire command. This design pattern is inherently unsafe when any part of the command string derives from external input, as it is here.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "runInstaller() passes the full command string to cp.spawn via 'sh -c', enabling shell interpretation of the entire command. This design pattern is inherently unsafe when any part of the command string derives from external input, as it is here.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "18f4df25a0caffc1a32f",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "csrf",
      "severity": "high",
      "file": "app.js",
      "line": 20,
      "description": "The POST /plugins/install endpoint has no CSRF protection (no CSRF token, no Origin/Referer validation). A malicious third-party site can trigger plugin installations cross-site on behalf of a victim.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The POST /plugins/install endpoint has no CSRF protection (no CSRF token, no Origin/Referer validation). A malicious third-party site can trigger plugin installations cross-site on behalf of a victim.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The `POST /plugins/install` endpoint lacks any CSRF token or origin validation. Although `express.json()` requires a JSON Content-Type (providing partial CSRF mitigation in naive browser forms), there is no explicit CORS policy, Origin header check, or CSRF token, leaving the endpoint vulnerable to cross-site request forgery from contexts that can set the appropriate content type.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST /plugins/install endpoint has no CSRF token validation. Modern browsers permit cross-origin fetch requests with application/json bodies from attacker-controlled pages, so a malicious site can trigger privileged install actions on behalf of a victim user.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "c238f94a834581032519",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "high",
      "file": "app.js",
      "line": 21,
      "description": "There is no validation that `req.body.package` is a string, matches a valid npm package-name format, or is restricted to an allowlist of permitted packages. Any value (including objects, arrays, or strings with shell metacharacters) is accepted and used directly in command construction.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "There is no validation that `req.body.package` is a string, matches a valid npm package-name format, or is restricted to an allowlist of permitted packages. Any value (including objects, arrays, or strings with shell metacharacters) is accepted and used directly in command construction.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "0d55994417761395091b",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "information-exposure",
      "severity": "high",
      "file": "app.js",
      "line": 35,
      "description": "The full stdout and stderr output of the spawned shell process is collected and returned verbatim in the JSON response (`output` field). This can expose sensitive server-side information such as internal file paths, system configuration, environment details leaked by npm, and error messages that aid in reconnaissance.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The full stdout and stderr output of the spawned shell process is collected and returned verbatim in the JSON response (`output` field). This can expose sensitive server-side information such as internal file paths, system configuration, environment details leaked by npm, and error messages that aid in reconnaissance.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The full stdout and stderr output from the spawned `npm install` process is returned verbatim in the JSON response. This can expose internal file-system paths, server environment details, dependency tree information, and npm error messages to any caller.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The full stdout and stderr output of the npm child process is returned to the caller in the JSON response. This can leak internal filesystem paths, system-level error details, and environment information to potentially unauthorized clients.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The full stdout and stderr output of the npm child process—which may contain internal filesystem paths, registry URLs, error stack traces, and environment details—is serialized and returned verbatim to the HTTP client.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The full stdout and stderr output of the npm install child process is returned verbatim to the HTTP client. npm output can reveal absolute filesystem paths, internal registry URLs, dependency trees, error stack traces, and other server-side environment details that aid further attacks.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "84f3fafaff1f275c838f",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "critical",
      "file": "app.js",
      "line": 20,
      "description": "The `POST /plugins/install` endpoint has no authentication or authorization checks whatsoever. Any unauthenticated caller on the network can invoke it, which — combined with the command-injection vulnerability — provides trivially unauthenticated remote code execution.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "The `POST /plugins/install` endpoint has no authentication or authorization checks whatsoever. Any unauthenticated caller on the network can invoke it, which — combined with the command-injection vulnerability — provides trivially unauthenticated remote code execution.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The POST /plugins/install endpoint — which triggers arbitrary shell command execution — has no authentication or authorization check. Any unauthenticated client with network access can trigger remote code execution.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "The POST /plugins/install endpoint has no authentication or authorization check. Any client with network access can install arbitrary npm packages onto the server, enabling supply-chain attacks and full compromise of the host.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "The POST /plugins/install endpoint performs privileged shell operations (running npm install and arbitrary commands) with no authentication or authorization check. Any anonymous client on the network can trigger it.",
          "occurrences": 1
        }
      ],
      "occurrences": 4
    },
    {
      "id": "600704e3159e0302245e",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "path-traversal",
      "severity": "high",
      "file": "app.js",
      "line": 22,
      "description": "Because packageName is user-controlled and unsanitized, an attacker can supply a 'file:' protocol package reference (e.g., 'file:../../../sensitive/dir') to npm install, causing npm to read from arbitrary filesystem paths outside the intended plugins directory.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Because packageName is user-controlled and unsanitized, an attacker can supply a 'file:' protocol package reference (e.g., 'file:../../../sensitive/dir') to npm install, causing npm to read from arbitrary filesystem paths outside the intended plugins directory.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "0ad5fd553436a286fe41",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 20,
      "description": "The plugin installation endpoint performs expensive command execution without rate limiting.",
      "totalRepetitions": 5,
      "referenceFindingId": "jcl-no-rate-limit-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The plugin installation endpoint performs expensive command execution without rate limiting.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "249e15e28b587c8e55d2",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "command-injection",
      "severity": "high",
      "file": "app.js",
      "line": 17,
      "description": "User-controlled plugin package data flows into child_process.spawn through a shell command.",
      "totalRepetitions": 5,
      "referenceFindingId": "jcl-command-injection-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "User-controlled plugin package data flows into child_process.spawn through a shell command.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "b9514998f28593b63247",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "insecure-transport",
      "severity": "medium",
      "file": "app.js",
      "line": 43,
      "description": "The service is created with a plaintext HTTP server.",
      "totalRepetitions": 5,
      "referenceFindingId": "jcl-insecure-transport-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The service is created with a plaintext HTTP server.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "13829249c1ea5d87b3f3",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 26,
      "description": "The output variable accumulates child-process stdout/stderr chunks without any size limit. A malicious or runaway process can produce unbounded output, exhausting heap memory.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The output variable accumulates child-process stdout/stderr chunks without any size limit. A malicious or runaway process can produce unbounded output, exhausting heap memory.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "5a25d1d330491280f419",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "csrf",
      "severity": "low",
      "file": "app.js",
      "line": 20,
      "description": "The state-changing POST /plugins/install endpoint has no CSRF token validation, allowing cross-site request forgery attacks in browser-accessible deployments.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "The state-changing POST /plugins/install endpoint has no CSRF token validation, allowing cross-site request forgery attacks in browser-accessible deployments.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "The state-changing POST /plugins/install endpoint has no CSRF token validation. If the service is reachable from a browser context, cross-site requests can trigger unintended package installations.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "1b1648af7ab95f9abf29",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 35,
      "description": "The full stdout and stderr of the npm child process is returned to the caller. This may leak sensitive data such as absolute filesystem paths, npm registry tokens, or environment variable values from lifecycle scripts.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The full stdout and stderr of the npm child process is returned to the caller. This may leak sensitive data such as absolute filesystem paths, npm registry tokens, or environment variable values from lifecycle scripts.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The full stdout and stderr of the npm install command (including internal paths, package metadata, and error traces) is returned verbatim to the caller, leaking internal system information.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The full stdout and stderr output of the npm install subprocess (which may contain internal file paths, environment details, proxy credentials, and error stack traces) is returned verbatim to the caller in the JSON response.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The full stdout and stderr output of the spawned npm install process is returned verbatim in the HTTP response JSON. This can leak sensitive internal details such as filesystem paths, registry URLs, internal error messages, and environment information to any caller.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The full stdout and stderr output of the spawned shell process (including npm internals, file paths, tokens, and error details) is returned verbatim to the HTTP client, potentially leaking sensitive system information.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "4268a9e1fa8e7d35eebb",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "high",
      "file": "app.js",
      "line": 20,
      "description": "The /plugins/install endpoint has no authentication or authorization. Any unauthenticated network caller can trigger package installation or exploit the command injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The /plugins/install endpoint has no authentication or authorization. Any unauthenticated network caller can trigger package installation or exploit the command injection vulnerability.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "The /plugins/install POST endpoint has no authentication or authorization checks, allowing any network-reachable client to install arbitrary packages or exploit the command injection.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "The /plugins/install POST endpoint has no authentication or authorization. Any unauthenticated client can trigger package installation (and via the command injection, arbitrary code execution) on the server.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "5d19ca6d719697fe3040",
      "projectId": "js-project-copperline-find-vulns",
      "projectName": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "high",
      "file": "app.js",
      "line": 21,
      "description": "No input validation is performed on the package name. It should be validated against a strict allowlist or a regex matching valid npm package names before use in a shell command.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "No input validation is performed on the package name. It should be validated against a strict allowlist or a regex matching valid npm package names before use in a shell command.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "644203037108a2deb0b5",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "code-injection",
      "severity": "high",
      "file": "app.js",
      "line": 12,
      "description": "User-controlled report metric data reaches eval and is executed as JavaScript code.",
      "totalRepetitions": 5,
      "referenceFindingId": "jgl-code-injection-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "User-controlled report metric data reaches eval and is executed as JavaScript code.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "126bc38656f8c6b333c5",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "code-injection",
      "severity": "high",
      "file": "app.js",
      "line": 12,
      "description": "User-controlled report metric data reaches eval and is executed as JavaScript code.",
      "totalRepetitions": 5,
      "referenceFindingId": "jgl-code-injection-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "User-controlled report metric data reaches eval and is executed as JavaScript code.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "15f630ae325c87ad4045",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "code-injection",
      "severity": "high",
      "file": "app.js",
      "line": 12,
      "description": "User-controlled report metric data reaches eval and is executed as JavaScript code.",
      "totalRepetitions": 5,
      "referenceFindingId": "jgl-code-injection-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "User-controlled report metric data reaches eval and is executed as JavaScript code.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "513f86d5d9f1fce4c821",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "low",
      "file": "app.js",
      "line": 6,
      "description": "No rate limiting middleware is configured and no explicit JSON body size limit is set on express.json(). Combined with the eval-based code path, this increases exposure to CPU/memory abuse via crafted or repeated requests.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "No rate limiting middleware is configured and no explicit JSON body size limit is set on express.json(). Combined with the eval-based code path, this increases exposure to CPU/memory abuse via crafted or repeated requests.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "6efd8a629badfdec97fc",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "low",
      "file": "app.js",
      "line": 16,
      "description": "The /reports/preview endpoint has no authentication and no rate limiting, allowing unbounded requests against an endpoint that invokes eval() — amplifying the impact of any code-injection weakness and enabling resource exhaustion.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "The /reports/preview endpoint has no authentication and no rate limiting, allowing unbounded requests against an endpoint that invokes eval() — amplifying the impact of any code-injection weakness and enabling resource exhaustion.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "The /reports/preview endpoint performs eval() on every request with no rate limiting, request quotas, or concurrency controls, enabling trivial denial-of-service by repeatedly invoking the costly eval/JSON pipeline.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "ddb4078ccd7538472c6d",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "medium",
      "file": "app.js",
      "line": 17,
      "description": "req.body.metricKey is consumed without verifying it is a string or matches an allow-list of known metric identifiers. A client can submit objects, arrays, or other JSON types which are then serialized into the eval'd expression, leading to unexpected behavior.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "req.body.metricKey is consumed without verifying it is a string or matches an allow-list of known metric identifiers. A client can submit objects, arrays, or other JSON types which are then serialized into the eval'd expression, leading to unexpected behavior.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "req.body.metricKey is consumed without verifying it is a string or matches an allowed schema. Arbitrary JSON types (object, array, number, null) are accepted and forwarded into the eval-constructed expression, expanding the injection surface and producing unexpected runtime behavior.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "req.body.metricKey is used without validating that it is a string or matches an expected allow-list of metric names. Non-string types (objects, arrays, numbers) are serialized via JSON.stringify and then evaluated, producing unexpected runtime behavior.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "e2df02a322e59b37134e",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "code-injection",
      "severity": "high",
      "file": "app.js",
      "line": 12,
      "description": "User-controlled report metric data reaches eval and is executed as JavaScript code.",
      "totalRepetitions": 5,
      "referenceFindingId": "jgl-code-injection-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "User-controlled report metric data reaches eval and is executed as JavaScript code.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "db3ae5ad80fbb41ad869",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "improper-code-sanitization",
      "severity": "medium",
      "file": "app.js",
      "line": 12,
      "description": "JSON.stringify is used as an attempted sanitizer before generated JavaScript is evaluated.",
      "totalRepetitions": 5,
      "referenceFindingId": "jgl-improper-code-sanitization-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "JSON.stringify is used as an attempted sanitizer before generated JavaScript is evaluated.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "f8e2f168b41734fe8bd7",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 16,
      "description": "The `/reports/preview` POST endpoint has no rate-limiting, no request-per-second cap, and `express.json()` is configured without an explicit body-size limit. An unauthenticated attacker can send unlimited concurrent requests, exhausting CPU (via repeated `eval` calls) and memory, causing denial of service.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The `/reports/preview` POST endpoint has no rate-limiting, no request-per-second cap, and `express.json()` is configured without an explicit body-size limit. An unauthenticated attacker can send unlimited concurrent requests, exhausting CPU (via repeated `eval` calls) and memory, causing denial of service.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST /reports/preview endpoint has no rate limiting or request throttling. Combined with the CPU-bound eval() call in buildPreview(), an attacker can flood this endpoint to exhaust server resources and cause a denial-of-service.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST /reports/preview endpoint has no rate limiting. An attacker can flood the endpoint with requests, each triggering an eval() call, to exhaust CPU/memory resources and cause denial of service.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST /reports/preview endpoint has no rate-limiting or request throttling. An attacker can send an unbounded number of requests, exhausting server resources and causing denial of service, especially since each request invokes eval().",
          "occurrences": 1
        }
      ],
      "occurrences": 4
    },
    {
      "id": "03c74fb5d19532daff65",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 27,
      "description": "No rate limiting or request throttling is applied to any route. The `/reports/preview` endpoint runs eval() on every request, making it computationally exploitable. Without throttling, the service is vulnerable to denial-of-service through request flooding.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "No rate limiting or request throttling is applied to any route. The `/reports/preview` endpoint runs eval() on every request, making it computationally exploitable. Without throttling, the service is vulnerable to denial-of-service through request flooding.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "c3737151c4ff911d6c54",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "csrf",
      "severity": "medium",
      "file": "app.js",
      "line": 16,
      "description": "The POST `/reports/preview` endpoint has no CSRF token validation. Express provides no CSRF protection by default, so an attacker-controlled page can forge cross-origin POST requests on behalf of authenticated users.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The POST `/reports/preview` endpoint has no CSRF token validation. Express provides no CSRF protection by default, so an attacker-controlled page can forge cross-origin POST requests on behalf of authenticated users.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "14d479f4d9adf223f76e",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "low",
      "file": "app.js",
      "line": 17,
      "description": "metricKey is accepted from the request body without any type check, length constraint, or allowlist validation. Non-string types (objects, arrays, numbers, booleans) pass through to buildPreview and into JSON.stringify/eval, producing unexpected behaviour.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "metricKey is accepted from the request body without any type check, length constraint, or allowlist validation. Non-string types (objects, arrays, numbers, booleans) pass through to buildPreview and into JSON.stringify/eval, producing unexpected behaviour.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "`metricKey` is accepted from the request body with no type or schema validation. Non-string types (arrays, objects, numbers, booleans) pass the falsy-fallback check and are forwarded to `buildPreview`, changing the structure of the eval'd expression and potentially triggering unexpected behaviour or exploitation paths.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "`req.body.metricKey` is accepted as any JSON type (object, array, boolean, number) without type validation before being passed to JSON.stringify and eval(). Non-string types produce non-string-literal expressions inside the eval (e.g., array or object literals), widening the eval attack surface beyond what JSON.stringify string-escaping protects against.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "No type or allowlist validation is performed on metricKey before it is used. The express.json() middleware allows any JSON type (string, number, boolean, null, array, object), all of which flow unchecked into buildPreview() and subsequently into the eval() call.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "req.body.metricKey is accepted without any type or schema validation. Any JSON value type (object, array, boolean, number, string) passes through to buildPreview() and into eval(), broadening the attack surface and causing unpredictable behavior.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "d2984dc5b6071d445aa2",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 12,
      "description": "eval(assignment) has no error handling. If the evaluated expression throws (e.g., due to malformed or unexpected-type input generating invalid JavaScript syntax), Express's default error handler will return a stack trace or internal error details to the client.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "eval(assignment) has no error handling. If the evaluated expression throws (e.g., due to malformed or unexpected-type input generating invalid JavaScript syntax), Express's default error handler will return a stack trace or internal error details to the client.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "344c6aec840dca1c6c47",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "prototype-pollution",
      "severity": "high",
      "file": "app.js",
      "line": 10,
      "description": "The user-supplied `metricKey` is used as an object property key inside eval() without filtering dangerous key names such as `__proto__`, `constructor`, or `prototype`. Sending `metricKey: \"__proto__\"` causes eval to execute `obj[\"__proto__\"]=42`, modifying the object's prototype chain and potentially causing prototype pollution.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The user-supplied `metricKey` is used as an object property key inside eval() without filtering dangerous key names such as `__proto__`, `constructor`, or `prototype`. Sending `metricKey: \"__proto__\"` causes eval to execute `obj[\"__proto__\"]=42`, modifying the object's prototype chain and potentially causing prototype pollution.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "User-controlled input is used as a dynamic property key on an object via eval-executed bracket notation. Keys such as '__proto__' cause eval to execute obj[\"__proto__\"]=42, invoking the __proto__ setter. More complex payloads targeting constructor.prototype are possible since no allowlist or type validation is applied to the key.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "e6be703c3f8721a42230",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "prototype-pollution",
      "severity": "medium",
      "file": "app.js",
      "line": 12,
      "description": "When `metricKey` is `\"__proto__\"` or `\"constructor\"`, the eval'd expression becomes `obj[\"__proto__\"]=42` or `obj[\"constructor\"]=42`. Overwriting `constructor` on the returned object can corrupt downstream consumers that use the object's constructor reference, and could enable prototype-chain manipulation in combination with other gadgets in the application.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "When `metricKey` is `\"__proto__\"` or `\"constructor\"`, the eval'd expression becomes `obj[\"__proto__\"]=42` or `obj[\"constructor\"]=42`. Overwriting `constructor` on the returned object can corrupt downstream consumers that use the object's constructor reference, and could enable prototype-chain manipulation in combination with other gadgets in the application.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "6750e5647bb9dceed3da",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "code-injection",
      "severity": "high",
      "file": "app.js",
      "line": 12,
      "description": "User-controlled report metric data reaches eval and is executed as JavaScript code.",
      "totalRepetitions": 5,
      "referenceFindingId": "jgl-code-injection-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "User-controlled report metric data reaches eval and is executed as JavaScript code.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "0a4edc6d2c87fefa5cf0",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 16,
      "description": "The `POST /reports/preview` endpoint has no rate limiting. Each request invokes `eval()`, which is CPU-intensive. An unauthenticated attacker can flood the endpoint to exhaust server resources and cause a denial-of-service.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The `POST /reports/preview` endpoint has no rate limiting. Each request invokes `eval()`, which is CPU-intensive. An unauthenticated attacker can flood the endpoint to exhaust server resources and cause a denial-of-service.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST /reports/preview endpoint has no rate limiting or request throttling. An attacker can send a large volume of requests to exhaust server resources (DoS), compounded by the computational cost of repeated eval() calls.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST /reports/preview endpoint has no rate limiting, request throttling, or size validation beyond Express's default 100kb JSON body limit. An unauthenticated attacker can flood the endpoint with requests, causing CPU exhaustion (each request invokes eval()) and potential denial of service.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST /reports/preview endpoint has no rate-limiting middleware. Any unauthenticated caller can flood the server with eval-based requests, leading to CPU/memory exhaustion and denial of service.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST `/reports/preview` endpoint has no rate limiting or request throttling. An attacker can flood this endpoint with arbitrary requests, exhausting server CPU and memory resources and causing a denial-of-service condition, especially since each request invokes `eval()`.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "54cdf4890f26fed4be7f",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "csrf",
      "severity": "low",
      "file": "app.js",
      "line": 16,
      "description": "The state-changing POST /reports/preview endpoint has no CSRF protection (no token validation, no Origin/Referer check). If session cookies are used by clients, cross-site requests could trigger unintended actions.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "The state-changing POST /reports/preview endpoint has no CSRF protection (no token validation, no Origin/Referer check). If session cookies are used by clients, cross-site requests could trigger unintended actions.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The `POST /reports/preview` endpoint has no CSRF protection (no CSRF tokens, no `SameSite` cookie policy, no `Origin`/`Referer` validation). A malicious cross-origin page can issue a JSON `fetch` POST to this endpoint and trigger the `eval`-based logic on behalf of an authenticated user.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST `/reports/preview` endpoint performs a state-affecting operation (executes eval with user input) but does not validate any CSRF token or check the `Origin`/`Referer` header. This allows cross-site request forgery attacks if the API is ever accessed from a browser context with session cookies.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "3afdda18d66cfac0a6a5",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "high",
      "file": "app.js",
      "line": 17,
      "description": "`metricKey` is taken directly from the parsed JSON body with no type check, allowlist, or length limit. Any JSON type (object, array, number, null, string) is accepted and forwarded to the unsafe `eval()` call in `buildPreview()`, significantly expanding the attack surface for code injection and prototype pollution.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "`metricKey` is taken directly from the parsed JSON body with no type check, allowlist, or length limit. Any JSON type (object, array, number, null, string) is accepted and forwarded to the unsafe `eval()` call in `buildPreview()`, significantly expanding the attack surface for code injection and prototype pollution.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "`req.body.metricKey` is never validated to be a string (or any expected type) before being passed to `buildPreview()`. Express JSON body parsing can deliver objects, arrays, numbers, booleans, or null, all of which bypass string assumptions and interact unpredictably with `JSON.stringify` and `eval`.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "req.body.metricKey is used without any type or schema validation before being passed to buildPreview(). Non-string values (objects, arrays, numbers) can cause unexpected behavior in JSON.stringify and the subsequent eval, potentially enabling prototype pollution or other exploits.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "c64a8b2d7c3e65ce6f30",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 16,
      "description": "There is no global error-handling middleware. Unhandled exceptions (e.g., from eval() failures) bubble up to Express's default error handler, which can return stack traces and internal file-system paths in the HTTP response body.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "There is no global error-handling middleware. Unhandled exceptions (e.g., from eval() failures) bubble up to Express's default error handler, which can return stack traces and internal file-system paths in the HTTP response body.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "8efcb366be231d25f6d4",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "information-exposure",
      "severity": "low",
      "file": "app.js",
      "line": 23,
      "description": "The `GET /reports/templates` endpoint exposes internal template names (`turnover`, `shortage`, `supplier-delay`) with no authentication. This aids reconnaissance by revealing the application's internal data model and business logic to unauthenticated users.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "The `GET /reports/templates` endpoint exposes internal template names (`turnover`, `shortage`, `supplier-delay`) with no authentication. This aids reconnaissance by revealing the application's internal data model and business logic to unauthenticated users.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "c6edf35be7bf3849dc5c",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "low",
      "file": "app.js",
      "line": 5,
      "description": "Missing security headers: only x-powered-by is disabled. No middleware such as Helmet.js is used, leaving responses without important headers like Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Strict-Transport-Security, etc.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "Missing security headers: only x-powered-by is disabled. No middleware such as Helmet.js is used, leaving responses without important headers like Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Strict-Transport-Security, etc.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "6ce4b961a876a0d6c206",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "high",
      "file": "app.js",
      "line": 16,
      "description": "Both API endpoints (`POST /reports/preview` and `GET /reports/templates`) require no authentication or authorization. Any unauthenticated user or external attacker can invoke the code-execution path via `/reports/preview` without presenting any credentials, token, or session.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Both API endpoints (`POST /reports/preview` and `GET /reports/templates`) require no authentication or authorization. Any unauthenticated user or external attacker can invoke the code-execution path via `/reports/preview` without presenting any credentials, token, or session.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "604756f33ea7e04ec35a",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "low",
      "file": "app.js",
      "line": 17,
      "description": "No authentication or authorization is enforced on either endpoint (/reports/preview and /reports/templates). Any unauthenticated client on the network can invoke these APIs, including triggering the eval() code path.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "No authentication or authorization is enforced on either endpoint (/reports/preview and /reports/templates). Any unauthenticated client on the network can invoke these APIs, including triggering the eval() code path.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "fc67a309f8daf2158e8f",
      "projectId": "js-project-goldleaf-find-vulns",
      "projectName": "JS Snippet (Report Preview): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "prototype-pollution",
      "severity": "high",
      "file": "app.js",
      "line": 12,
      "description": "The eval'd expression `obj[<user-key>]=42` allows an attacker to send `metricKey: \"__proto__\"` or `metricKey: \"constructor\"`, causing eval to execute `obj[\"__proto__\"]=42`, which pollutes `Object.prototype` and can corrupt the prototype chain for all objects in the process, potentially bypassing security checks throughout the application.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The eval'd expression `obj[<user-key>]=42` allows an attacker to send `metricKey: \"__proto__\"` or `metricKey: \"constructor\"`, causing eval to execute `obj[\"__proto__\"]=42`, which pollutes `Object.prototype` and can corrupt the prototype chain for all objects in the process, potentially bypassing security checks throughout the application.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "6ebe0d7ff81fe71fc9f1",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "app.js",
      "line": 9,
      "description": "Hardcoded database password in DB config object",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-creds-3",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Hardcoded database password in DB config object",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "f721c4fb9158bdfec83b",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 14,
      "description": "X-Powered-By header exposes information about the used framework to potential attackers",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-3",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "X-Powered-By header exposes information about the used framework to potential attackers",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "524de8a7b7fc92e0edf4",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "sql-injection",
      "severity": "high",
      "file": "userMode.js",
      "line": 2,
      "description": "Unsanitized input from HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-sql-injection-3",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "21030ee4e620c7e53e5f",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "app.js",
      "line": 9,
      "description": "Hardcoded database password in DB config object",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-creds-3",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Hardcoded database password in DB config object",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "b9c5bd77bbd21fe40554",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 14,
      "description": "X-Powered-By header exposes information about the used framework to potential attackers",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-3",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "X-Powered-By header exposes information about the used framework to potential attackers",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "ee7e54f8074992649d61",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "sql-injection",
      "severity": "high",
      "file": "userMode.js",
      "line": 2,
      "description": "Unsanitized input from HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-sql-injection-3",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "d93592a075a875956fa1",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "app.js",
      "line": 9,
      "description": "Hardcoded database password in DB config object",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-creds-3",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Hardcoded database password in DB config object",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "af3152bc9f6da9cb8139",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 14,
      "description": "X-Powered-By header exposes information about the used framework to potential attackers",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-3",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "X-Powered-By header exposes information about the used framework to potential attackers",
          "occurrences": 4
        }
      ],
      "occurrences": 4
    },
    {
      "id": "8fb8fbebfe9b8b0b942b",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "sql-injection",
      "severity": "high",
      "file": "userMode.js",
      "line": 2,
      "description": "Unsanitized input from HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-sql-injection-3",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "67c0d1c58b1a0a99ec9c",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "low",
      "file": "app.js",
      "line": 17,
      "description": "The /users endpoint has no rate limiting, request size limits, or throttling, allowing potential resource-exhaustion abuse.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "The /users endpoint has no rate limiting, request size limits, or throttling, allowing potential resource-exhaustion abuse.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "65b35cdcc2f868ff1224",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "medium",
      "file": "app.js",
      "line": 18,
      "description": "req.query.id is passed directly to the SQL layer without any type validation/coercion (e.g., parseInt) or schema validation, contributing to the SQL injection and unexpected behavior on malformed input.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "req.query.id is passed directly to the SQL layer without any type validation/coercion (e.g., parseInt) or schema validation, contributing to the SQL injection and unexpected behavior on malformed input.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The `id` query parameter is taken from req.query.id without any type validation or sanitization (e.g., ensuring it is an integer) before being passed into a database query.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "1d9e18d832b239f31a9e",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "sql-injection",
      "severity": "critical",
      "file": "app.js",
      "line": 20,
      "description": "Untrusted req.query.id is forwarded unsanitized to fetchUserById, which constructs a raw SQL query — propagates the SQL injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "Untrusted req.query.id is forwarded unsanitized to fetchUserById, which constructs a raw SQL query — propagates the SQL injection vulnerability.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "5246a5dd2d18885caae6",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "app.js",
      "line": 9,
      "description": "Hardcoded database password in DB config object",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-creds-3",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Hardcoded database password in DB config object",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "599450b06444a232ab1b",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 14,
      "description": "X-Powered-By header exposes information about the used framework to potential attackers",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-3",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "X-Powered-By header exposes information about the used framework to potential attackers",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "494f67c846c6356d1832",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "sql-injection",
      "severity": "high",
      "file": "userMode.js",
      "line": 2,
      "description": "Unsanitized input from HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-sql-injection-3",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "35d0b11b77709627f0f1",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 17,
      "description": "No rate limiting or request throttling is applied to any endpoint. This allows unlimited automated requests, enabling brute-force enumeration of user records and amplifying the impact of other vulnerabilities such as SQL injection.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "No rate limiting or request throttling is applied to any endpoint. This allows unlimited automated requests, enabling brute-force enumeration of user records and amplifying the impact of other vulnerabilities such as SQL injection.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The /users endpoint has no authentication, rate limiting, or request throttling. Any unauthenticated caller can send unlimited database queries, enabling denial-of-service attacks and unrestricted data enumeration.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The /users endpoint has no rate limiting, request size limits beyond the default express.json() parser, or query result pagination. An attacker can send a high volume of requests to exhaust database connections or server resources, leading to denial of service.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The `/users` endpoint has no authentication, authorization, or rate limiting. Any unauthenticated client can send unlimited requests, enabling enumeration, denial-of-service, or unrestricted exploitation of the SQL injection vulnerability.",
          "occurrences": 1
        }
      ],
      "occurrences": 4
    },
    {
      "id": "77baa5001ff872ed8cd1",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "code-injection",
      "severity": "medium",
      "file": "app.js",
      "line": 2,
      "description": "The Node.js `vm` module is imported but never used. This module enables execution of arbitrary JavaScript code in a V8 context. Its presence alongside unvalidated user input (req.query.id) raises concern that future code paths may pass user-supplied data to vm.runInContext() or similar, enabling code injection. The unused import should be removed and any future use of `vm` with user input must be strictly sandboxed.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The Node.js `vm` module is imported but never used. This module enables execution of arbitrary JavaScript code in a V8 context. Its presence alongside unvalidated user input (req.query.id) raises concern that future code paths may pass user-supplied data to vm.runInContext() or similar, enabling code injection. The unused import should be removed and any future use of `vm` with user input must be strictly sandboxed.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "7c8acdbeaa9c812a6db9",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "idor",
      "severity": "high",
      "file": "app.js",
      "line": 17,
      "description": "The /users endpoint accepts a caller-supplied id parameter and returns user records with no authentication or authorization checks. Any unauthenticated client can retrieve arbitrary user records by enumerating id values.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The /users endpoint accepts a caller-supplied id parameter and returns user records with no authentication or authorization checks. Any unauthenticated client can retrieve arbitrary user records by enumerating id values.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "The /users endpoint accepts an arbitrary `id` query parameter with no authentication or authorization check. Any unauthenticated client can enumerate user records by iterating over different IDs, constituting an Insecure Direct Object Reference (IDOR). Access should be gated behind authentication and the caller's permissions should be verified before returning user data.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "76a5c785459eafcb1f65",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "low",
      "file": "app.js",
      "line": 2,
      "description": "The node:vm module (which enables arbitrary code execution) is imported but never used. Its unexplained presence may indicate dead code from a prior unsafe code-execution feature, or intent to execute user-controlled code in future changes.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "The node:vm module (which enables arbitrary code execution) is imported but never used. Its unexplained presence may indicate dead code from a prior unsafe code-execution feature, or intent to execute user-controlled code in future changes.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "c31714f00effec6decde",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "app.js",
      "line": 9,
      "description": "Hardcoded database password in DB config object",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-creds-3",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Hardcoded database password in DB config object",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "cdcc1bf31546ac481b14",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 14,
      "description": "X-Powered-By header exposes information about the used framework to potential attackers",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-3",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "X-Powered-By header exposes information about the used framework to potential attackers",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "a799c7acb186ecf7a3a1",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "sql-injection",
      "severity": "high",
      "file": "userMode.js",
      "line": 2,
      "description": "Unsanitized input from HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-sql-injection-3",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "14201b0e727c81fd2043",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 17,
      "description": "The /users endpoint has no rate limiting, request throttling, or pagination. Any unauthenticated caller can issue unlimited requests, enabling enumeration attacks, brute-force, and potential denial-of-service via resource exhaustion.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The /users endpoint has no rate limiting, request throttling, or pagination. Any unauthenticated caller can issue unlimited requests, enabling enumeration attacks, brute-force, and potential denial-of-service via resource exhaustion.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "262ad9fbd81d75861cf8",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "code-injection",
      "severity": "medium",
      "file": "app.js",
      "line": 2,
      "description": "The Node.js `vm` module is imported but never used. Its presence is suspicious; if user-controlled data is ever passed to vm.runInNewContext(), vm.runInThisContext(), or similar APIs, it would result in arbitrary code execution. The vm module does not provide a true security sandbox.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The Node.js `vm` module is imported but never used. Its presence is suspicious; if user-controlled data is ever passed to vm.runInNewContext(), vm.runInThisContext(), or similar APIs, it would result in arbitrary code execution. The vm module does not provide a true security sandbox.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "68597aafa57e7567a4b8",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "medium",
      "file": "app.js",
      "line": 18,
      "description": "The query parameter `req.query.id` is used directly without any type, format, length, or presence validation. Query string values are always strings (or arrays if repeated), and no check is performed before passing the value to the database layer, enabling malformed or missing input to cause unexpected behavior.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The query parameter `req.query.id` is used directly without any type, format, length, or presence validation. Query string values are always strings (or arrays if repeated), and no check is performed before passing the value to the database layer, enabling malformed or missing input to cause unexpected behavior.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "c7f08473ab012cf0a280",
      "projectId": "js-project-ironclad-find-vulns",
      "projectName": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "low",
      "file": "app.js",
      "line": 2,
      "description": "The Node.js 'vm' module is imported but never used. This module enables execution of arbitrary JavaScript code in a sandbox context and its unexplained presence is a code hygiene concern. If it is ever wired to user input it would constitute a critical code-injection vulnerability. The unused import should be removed.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "The Node.js 'vm' module is imported but never used. This module enables execution of arbitrary JavaScript code in a sandbox context and its unexplained presence is a code hygiene concern. If it is ever wired to user input it would constitute a critical code-injection vulnerability. The unused import should be removed.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "62d3e6611407319734fa",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "server.js",
      "line": 106,
      "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-alloc-without-limits-4a",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "bd27b7a16c01f6215eca",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "server.js",
      "line": 7,
      "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-4",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "5a60602aa26936f99701",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "sql-injection",
      "severity": "critical",
      "file": "server.js",
      "line": 34,
      "description": "The deleteTodo function concatenates req.params.id directly into a SQL string ('DELETE FROM todos WHERE id = ' + id) without parameterization. The DELETE route (line 174) passes the unvalidated req.params.id string to this function, allowing an attacker to inject arbitrary SQL via the :id URL parameter.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "The deleteTodo function concatenates req.params.id directly into a SQL string ('DELETE FROM todos WHERE id = ' + id) without parameterization. The DELETE route (line 174) passes the unvalidated req.params.id string to this function, allowing an attacker to inject arbitrary SQL via the :id URL parameter.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The deleteTodo function concatenates the 'id' parameter directly into the SQL query string (\"DELETE FROM todos WHERE id = \" + id). This id comes from req.params.id in the DELETE /api/todos/:id route (line 174) without any validation or sanitization, allowing an attacker to inject arbitrary SQL (e.g., '1 OR 1=1' to delete all records).",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The deleteTodo function uses string concatenation ('DELETE FROM todos WHERE id = ' + id) instead of parameterized queries. The id comes directly from req.params.id on line 174 without any validation, allowing an attacker to inject arbitrary SQL via the DELETE /api/todos/:id endpoint.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The deleteTodo function uses string concatenation (`\"DELETE FROM todos WHERE id = \" + id`) to build a SQL query. The `id` parameter comes directly from `req.params.id` (line 167) without any validation or sanitization, enabling SQL injection attacks.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The deleteTodo function uses string concatenation to build a SQL query: `db.prepare(\"DELETE FROM todos WHERE id = \" + id)`. The `id` parameter comes from `req.params.id` in the DELETE /api/todos/:id route (line 174) without any integer validation, allowing an attacker to inject arbitrary SQL (e.g., `1 OR 1=1` to delete all records).",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "67fede46da7a06ad9781",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "server.js",
      "line": 106,
      "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-alloc-without-limits-4a",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "ec74bc37ecb1a14f2da2",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "server.js",
      "line": 7,
      "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-4",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "52b606303271b42d3c1e",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "sql-injection",
      "severity": "critical",
      "file": "server.js",
      "line": 34,
      "description": "deleteTodo uses string concatenation ('DELETE FROM todos WHERE id = ' + id) instead of parameterized queries, allowing SQL injection via the id parameter.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "deleteTodo uses string concatenation ('DELETE FROM todos WHERE id = ' + id) instead of parameterized queries, allowing SQL injection via the id parameter.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "deleteTodo uses string concatenation to build SQL query ('DELETE FROM todos WHERE id = ' + id). The id parameter from req.params.id (line 174) is passed without validation, enabling SQL injection attacks.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "SQL injection via string concatenation in deleteTodo: `db.prepare(\"DELETE FROM todos WHERE id = \" + id)`. The `id` parameter from req.params.id is concatenated directly into the SQL query without parameterization or validation.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The deleteTodo function concatenates user-supplied id directly into a SQL query string ('DELETE FROM todos WHERE id = ' + id) without parameterization. The DELETE route (line 174) passes req.params.id without validating it as an integer, enabling SQL injection.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The deleteTodo function concatenates user-supplied id directly into SQL: `\"DELETE FROM todos WHERE id = \" + id`. The id parameter comes from req.params.id (a raw string from the URL) and is passed without any sanitization or type validation in the DELETE route handler (line 174), allowing SQL injection.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "887b9559c0994927d10b",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "sql-injection",
      "severity": "critical",
      "file": "server.js",
      "line": 174,
      "description": "The DELETE /api/todos/:id route passes req.params.id directly to q.deleteTodo() without validating it as an integer, enabling SQL injection through the string-concatenated query.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "The DELETE /api/todos/:id route passes req.params.id directly to q.deleteTodo() without validating it as an integer, enabling SQL injection through the string-concatenated query.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The DELETE /api/todos/:id route passes req.params.id to deleteTodo without validating it as an integer, enabling SQL injection through the concatenated query.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "28c2028571226d6ede06",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "server.js",
      "line": 106,
      "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-alloc-without-limits-4a",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "babae1765dc7e142f87d",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "server.js",
      "line": 168,
      "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-alloc-without-limits-4b",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "ae64b09576131ef870e4",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "server.js",
      "line": 7,
      "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-4",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "498b9785a0a0f18b6491",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "path-traversal",
      "severity": "high",
      "file": "server.js",
      "line": 140,
      "description": "Unsanitized input from an HTTP parameter flows into fs.unlink, where it is used as a path. This may result in a Path Traversal vulnerability and allow an attacker to delete arbitrary files.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-path-traversal-4a",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from an HTTP parameter flows into fs.unlink, where it is used as a path. This may result in a Path Traversal vulnerability and allow an attacker to delete arbitrary files.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "5d698da09f4ff5abfd13",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "csrf",
      "severity": "medium",
      "file": "server.js",
      "line": 40,
      "description": "No CSRF protection on state-changing endpoints (POST/PUT/DELETE /api/todos). The app uses multipart/form-data which browsers permit cross-origin, and there is no SameSite cookie, origin/referer check, or CSRF token.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "No CSRF protection on state-changing endpoints (POST/PUT/DELETE /api/todos). The app uses multipart/form-data which browsers permit cross-origin, and there is no SameSite cookie, origin/referer check, or CSRF token.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "State-changing endpoints (POST/PUT/DELETE /api/todos*) have no CSRF token, Origin/Referer check, or SameSite cookie strategy. Combined with permissive CORS defaults and no authentication, any origin can mutate data.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "9fcb8af0838e4c73e173",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "csrf",
      "severity": "medium",
      "file": "server.js",
      "line": 85,
      "description": "No CSRF protection on state-changing endpoints (POST/PUT/DELETE /api/todos). Endpoints accept multipart/form-data and JSON without any token, origin, or SameSite cookie check, allowing cross-site request forgery.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "No CSRF protection on state-changing endpoints (POST/PUT/DELETE /api/todos). Endpoints accept multipart/form-data and JSON without any token, origin, or SameSite cookie check, allowing cross-site request forgery.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "State-changing endpoints (POST/PUT/DELETE /api/todos) have no CSRF protection (no token, no SameSite cookie, no Origin/Referer check). A malicious site could trigger destructive actions when a user visits it.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "State-changing endpoints (POST/PUT/DELETE on /api/todos) have no CSRF protection. POST/PUT accept multipart/form-data (a CORS-simple content type), enabling cross-site request forgery.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "28e9e8dd0edcc8147f9f",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "idor",
      "severity": "high",
      "file": "server.js",
      "line": 64,
      "description": "There is no authentication or authorization on any endpoint. Any client can list, read, modify, delete, and download attachments of any todo by guessing/iterating numeric ids.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "There is no authentication or authorization on any endpoint. Any client can list, read, modify, delete, and download attachments of any todo by guessing/iterating numeric ids.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "00cd4268baff373edac5",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "idor",
      "severity": "medium",
      "file": "server.js",
      "line": 73,
      "description": "All endpoints lack any authentication or authorization. Any user can read, modify, delete, or download attachments for any todo by guessing/iterating sequential numeric IDs.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "All endpoints lack any authentication or authorization. Any user can read, modify, delete, or download attachments for any todo by guessing/iterating sequential numeric IDs.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "a6e20fca991133620139",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "idor",
      "severity": "medium",
      "file": "server.js",
      "line": 181,
      "description": "There is no authentication or authorization layer. Any client can enumerate todo IDs and read/modify/delete other users' todos or download their attachments via /api/todos/:id and /api/todos/:id/attachment.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "There is no authentication or authorization layer. Any client can enumerate todo IDs and read/modify/delete other users' todos or download their attachments via /api/todos/:id and /api/todos/:id/attachment.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "0f61eec1ac9003b4f643",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "improper-code-sanitization",
      "severity": "low",
      "file": "server.js",
      "line": 14,
      "description": "Stored filename uses path.extname(file.originalname) directly. While Date.now-based prefix prevents collisions, the attacker-controlled extension is preserved and could later be served back via res.download with a misleading Content-Type/filename, or be problematic if the uploads directory is ever served statically.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "Stored filename uses path.extname(file.originalname) directly. While Date.now-based prefix prevents collisions, the attacker-controlled extension is preserved and could later be served back via res.download with a misleading Content-Type/filename, or be problematic if the uploads directory is ever served statically.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "eb9deb8028197f84d4a2",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "improper-code-sanitization",
      "severity": "low",
      "file": "server.js",
      "line": 189,
      "description": "res.download is called with row.attachment_original_name (user-controlled at upload time) as the download filename. While Express encodes the Content-Disposition header, the unsanitized original name is round-tripped to clients and may be used in subsequent processing without normalization.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "res.download is called with row.attachment_original_name (user-controlled at upload time) as the download filename. While Express encodes the Content-Disposition header, the unsanitized original name is round-tripped to clients and may be used in subsequent processing without normalization.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "res.download uses the user-supplied attachment_original_name verbatim as the Content-Disposition filename. Unsanitized filenames may contain control characters / quotes enabling reflected file download or header injection-style attacks.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "35c71895d5d11f19699b",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "low",
      "file": "server.js",
      "line": 86,
      "description": "POST /api/todos does not validate the types of req.body fields (title, description, completed) before passing them to the database — non-string types are accepted and stored without proper coercion.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "POST /api/todos does not validate the types of req.body fields (title, description, completed) before passing them to the database — non-string types are accepted and stored without proper coercion.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "ca51f1c4cafff29eb68d",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "low",
      "file": "server.js",
      "line": 107,
      "description": "PUT /api/todos/:id does not validate that req.params.id is an integer; while the prepared statements are parameterized, lack of validation is inconsistent with other handlers and could mask logic errors.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "PUT /api/todos/:id does not validate that req.params.id is an integer; while the prepared statements are parameterized, lack of validation is inconsistent with other handlers and could mask logic errors.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "PUT /api/todos/:id uses req.params.id directly in queries without Number.isInteger validation (unlike GET endpoints), allowing unexpected types/strings through the request flow.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "PUT /api/todos/:id uses req.params.id without validating it is an integer (unlike the GET handler). Combined with the deleteTodo SQL concatenation pattern this increases attack surface, and allows odd coercions in prepared statements.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "PUT /api/todos/:id and DELETE /api/todos/:id use req.params.id without validating it is an integer (unlike GET handlers). Combined with the deleteTodo string concatenation, this directly enables SQL injection.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "PUT /api/todos/:id uses req.params.id directly without validating it is an integer (unlike GET which does Number()/Number.isInteger checks). Combined with JSON body fields used without strict type validation, this allows unexpected types/values to reach the database layer.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "249b50561b35e5c24a6f",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "high",
      "file": "server.js",
      "line": 167,
      "description": "DELETE /api/todos/:id does not validate that req.params.id is an integer (unlike GET handler at line 74). Combined with the concatenated SQL in deleteTodo, this enables SQL injection.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "DELETE /api/todos/:id does not validate that req.params.id is an integer (unlike GET handler at line 74). Combined with the concatenated SQL in deleteTodo, this enables SQL injection.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "DELETE /api/todos/:id does not validate that req.params.id is an integer before passing it to the SQL-building deleteTodo helper, which is the root cause that exposes the SQL injection.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "DELETE /api/todos/:id does not validate req.params.id as integer before passing it to the string-concatenated deleteTodo query — this is the direct injection sink.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "4dd5bbd3c6937c59e9e1",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "information-exposure",
      "severity": "low",
      "file": "server.js",
      "line": 189,
      "description": "res.download uses attachment_original_name (attacker-controlled at upload time) directly in the Content-Disposition header. Express sanitizes the header, but the original filename is fully attacker-controlled and reflected to other users who download the attachment, enabling filename spoofing/social engineering.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "res.download uses attachment_original_name (attacker-controlled at upload time) directly in the Content-Disposition header. Express sanitizes the header, but the original filename is fully attacker-controlled and reflected to other users who download the attachment, enabling filename spoofing/social engineering.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "9d2a68ea8d6b05bfeebe",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "insecure-transport",
      "severity": "low",
      "file": "server.js",
      "line": 195,
      "description": "Server listens over plain HTTP with no TLS, HSTS, or secure-cookie configuration; attachments and todo data traverse the network in cleartext.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "Server listens over plain HTTP with no TLS, HSTS, or secure-cookie configuration; attachments and todo data traverse the network in cleartext.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "e3cb19026676d4d93c4f",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "high",
      "file": "package.json",
      "line": 14,
      "description": "Vulnerable dependency: multer ^1.4.5-lts.1 has known DoS / unbounded-resource-consumption advisories (e.g., GHSA-g5hg-p3ph-g8qg, GHSA-fjgf-rc76-4x9p). Should be upgraded to multer 2.x.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Vulnerable dependency: multer ^1.4.5-lts.1 has known DoS / unbounded-resource-consumption advisories (e.g., GHSA-g5hg-p3ph-g8qg, GHSA-fjgf-rc76-4x9p). Should be upgraded to multer 2.x.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "edfd9d25d776442b60d7",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "medium",
      "file": "server.js",
      "line": 11,
      "description": "Unrestricted file upload type: multer storage has no fileFilter and no MIME/extension allowlist. Attackers can upload arbitrary file types (HTML, SVG, executables). Because path.extname(file.originalname) is preserved in the stored filename and originalname is returned in res.download Content-Disposition, this can facilitate further attacks (e.g., serving HTML/SVG with XSS if served as static, or distributing malware).",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Unrestricted file upload type: multer storage has no fileFilter and no MIME/extension allowlist. Attackers can upload arbitrary file types (HTML, SVG, executables). Because path.extname(file.originalname) is preserved in the stored filename and originalname is returned in res.download Content-Disposition, this can facilitate further attacks (e.g., serving HTML/SVG with XSS if served as static, or distributing malware).",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "1f933c797cb20aa5198b",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "medium",
      "file": "server.js",
      "line": 64,
      "description": "No authentication or authorization on any endpoint. All todos and attachments are globally readable, modifiable, and deletable by any client, constituting broken access control.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "No authentication or authorization on any endpoint. All todos and attachments are globally readable, modifiable, and deletable by any client, constituting broken access control.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "52cef37bcff238819185",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "sql-injection",
      "severity": "critical",
      "file": "server.js",
      "line": 34,
      "description": "deleteTodo builds the DELETE query via string concatenation with req.params.id (used at line 174 without integer validation), allowing arbitrary SQL injection via the DELETE /api/todos/:id endpoint.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "deleteTodo builds the DELETE query via string concatenation with req.params.id (used at line 174 without integer validation), allowing arbitrary SQL injection via the DELETE /api/todos/:id endpoint.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "deleteTodo concatenates the user-controlled id directly into a DELETE SQL statement (`DELETE FROM todos WHERE id = \" + id`). Invoked from the DELETE /api/todos/:id handler (line 174) without numeric validation, allowing arbitrary SQL injection.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "deleteTodo concatenates the user-supplied id directly into the SQL string ('DELETE FROM todos WHERE id = ' + id). The DELETE /api/todos/:id handler passes req.params.id without integer validation, enabling SQL injection.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "SQL injection via string concatenation in deleteTodo: db.prepare(\"DELETE FROM todos WHERE id = \" + id). The 'id' value comes from req.params.id (line 167/174) without validation, allowing arbitrary SQL execution (e.g., DELETE /api/todos/1%20OR%201=1).",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The deleteTodo function concatenates the user-supplied id parameter directly into a DELETE SQL statement ('DELETE FROM todos WHERE id = ' + id). The DELETE /api/todos/:id route passes req.params.id straight into this without validation, enabling SQL injection (e.g., '1; DROP TABLE todos--').",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "e822b7ffee70b262751e",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "server.js",
      "line": 106,
      "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-alloc-without-limits-4a",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "1ca768305c9536c1f5dd",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "server.js",
      "line": 7,
      "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-4",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "eaea0627c834233feccb",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "csrf",
      "severity": "low",
      "file": "server.js",
      "line": null,
      "description": "All state-mutating endpoints (POST /api/todos, PUT /api/todos/:id, DELETE /api/todos/:id) lack CSRF tokens or SameSite cookie enforcement. If a session/cookie-based authentication mechanism is added in the future, all these endpoints will be immediately exploitable via cross-site request forgery.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "All state-mutating endpoints (POST /api/todos, PUT /api/todos/:id, DELETE /api/todos/:id) lack CSRF tokens or SameSite cookie enforcement. If a session/cookie-based authentication mechanism is added in the future, all these endpoints will be immediately exploitable via cross-site request forgery.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "No CSRF protection (tokens, SameSite cookies, Origin/Referer validation) is applied to any of the state-mutating routes (POST /api/todos, PUT /api/todos/:id, DELETE /api/todos/:id). A malicious page on another origin can issue these requests on behalf of a visiting user.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The application has no CSRF protection (no CSRF tokens, no SameSite cookie policy, no origin validation). All state-changing endpoints (POST, PUT, DELETE) can be triggered cross-site, allowing an attacker to forge requests on behalf of a visiting user.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "ea59b35a4952e1c10df3",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "idor",
      "severity": "high",
      "file": "server.js",
      "line": null,
      "description": "There is no authentication or authorization layer. Any unauthenticated client can enumerate, read, update, or delete any todo record by guessing sequential integer IDs, constituting an Insecure Direct Object Reference vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "There is no authentication or authorization layer. Any unauthenticated client can enumerate, read, update, or delete any todo record by guessing sequential integer IDs, constituting an Insecure Direct Object Reference vulnerability.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "There is no authentication or authorization on any API endpoint. Any unauthenticated user can list all todos, read any individual todo, create new todos, update any existing todo (including replacing its attachment), and delete any todo. Resources are accessed and modified purely by guessable numeric IDs with no ownership check.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "41507bd7095d1c304c44",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "idor",
      "severity": "high",
      "file": "server.js",
      "line": 64,
      "description": "No authentication or authorization is implemented on any API endpoint. Any unauthenticated client can enumerate, read, create, update, or delete all todos by simply guessing or iterating numeric IDs, constituting a classic Insecure Direct Object Reference vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "No authentication or authorization is implemented on any API endpoint. Any unauthenticated client can enumerate, read, create, update, or delete all todos by simply guessing or iterating numeric IDs, constituting a classic Insecure Direct Object Reference vulnerability.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "23532a372ce044e177d5",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "high",
      "file": "server.js",
      "line": 107,
      "description": "The PUT /api/todos/:id handler reads `req.params.id` without validating that it is an integer (unlike the GET handlers at lines 74 and 182 which call `Number.isInteger`). A non-numeric or crafted string reaches both the SQL-injection-vulnerable `deleteTodo` path and the dynamic UPDATE statement, enabling injection and unexpected behaviour.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The PUT /api/todos/:id handler reads `req.params.id` without validating that it is an integer (unlike the GET handlers at lines 74 and 182 which call `Number.isInteger`). A non-numeric or crafted string reaches both the SQL-injection-vulnerable `deleteTodo` path and the dynamic UPDATE statement, enabling injection and unexpected behaviour.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The PUT /api/todos/:id handler assigns `id = req.params.id` without validating it is an integer. While the UPDATE query itself is parameterized (mitigating SQLi here), the missing validation is inconsistent with the GET handlers and could cause unexpected behavior or bypass logic relying on the id type.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The PUT /api/todos/:id handler does not validate that req.params.id is an integer before using it in database queries, creating inconsistency with the GET endpoint and risking unintended behavior or future injection if query construction changes.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "04eb098f4263c9bb8aa9",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "high",
      "file": "server.js",
      "line": 167,
      "description": "The DELETE /api/todos/:id handler assigns `id = req.params.id` without validating it is an integer (unlike the GET handlers at lines 74–75 which call Number.isInteger). This non-validated string is passed directly to the SQL-injection-vulnerable `deleteTodo` function.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The DELETE /api/todos/:id handler assigns `id = req.params.id` without validating it is an integer (unlike the GET handlers at lines 74–75 which call Number.isInteger). This non-validated string is passed directly to the SQL-injection-vulnerable `deleteTodo` function.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "The DELETE /api/todos/:id handler assigns req.params.id directly to id without validating it is an integer (unlike the GET and attachment handlers that call Number.isInteger). This unvalidated string is passed straight to the SQL-injected deleteTodo function, making the injection trivially exploitable.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "The DELETE /api/todos/:id handler reads `req.params.id` without any integer validation. The raw string is passed directly to `q.deleteTodo(id)` which concatenates it into a SQL query, making exploitation of the SQL injection trivial.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The DELETE /api/todos/:id handler does not validate that `req.params.id` is a valid integer before using it, unlike the GET and attachment-download handlers which explicitly check Number.isInteger(id). The raw string is passed straight to the SQL-injection-vulnerable deleteTodo function, widening the attack surface.",
          "occurrences": 1
        }
      ],
      "occurrences": 4
    },
    {
      "id": "5fd92df39f87a5cd8682",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "low",
      "file": "server.js",
      "line": null,
      "description": "No HTTP security headers are set (no Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, or Strict-Transport-Security). This leaves the application exposed to clickjacking, MIME-sniffing, and XSS escalation attacks.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "No HTTP security headers are set (no Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, or Strict-Transport-Security). This leaves the application exposed to clickjacking, MIME-sniffing, and XSS escalation attacks.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "3336eb10676ecad86a48",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "medium",
      "file": "server.js",
      "line": 11,
      "description": "The multer configuration has no fileFilter callback to restrict allowed file types or MIME types. Attackers can upload executable scripts, malware, or other dangerous file types. While files are served with Content-Disposition: attachment, clients who open them locally are at risk.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The multer configuration has no fileFilter callback to restrict allowed file types or MIME types. Attackers can upload executable scripts, malware, or other dangerous file types. While files are served with Content-Disposition: attachment, clients who open them locally are at risk.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "8bbc2327832dd47d4abd",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "medium",
      "file": "server.js",
      "line": 18,
      "description": "Multer has no `fileFilter` configured, so any file type (executables, HTML files with scripts, SVGs, etc.) can be uploaded and stored on the server. While files are not directly served statically from the uploads directory, this widens the attack surface, especially if the upload directory is ever misconfigured or future code serves those files.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Multer has no `fileFilter` configured, so any file type (executables, HTML files with scripts, SVGs, etc.) can be uploaded and stored on the server. While files are not directly served statically from the uploads directory, this widens the attack surface, especially if the upload directory is ever misconfigured or future code serves those files.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Multer is configured without a `fileFilter` callback, so uploads of any MIME type and extension are accepted. Malicious file types (e.g. executable scripts, HTML files) can be stored on the server, widening the attack surface.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "No fileFilter is configured in multer, so files of any MIME type or extension (e.g., .html, .js, .php, executables) are accepted without restriction. This constitutes an unrestricted file upload vulnerability that could be exploited if the upload directory is ever exposed or the serving logic changes.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The multer file upload configuration applies no file type or MIME type restriction (no fileFilter). Attackers can upload files of any type, including malicious executables or server-side scripts.",
          "occurrences": 1
        }
      ],
      "occurrences": 4
    },
    {
      "id": "0876dcd72c3206f20c48",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "sql-injection",
      "severity": "critical",
      "file": "server.js",
      "line": 34,
      "description": "The deleteTodo function builds a DELETE query by directly concatenating the user-supplied `id` parameter into the SQL string (`\"DELETE FROM todos WHERE id = \" + id`). Every other query in the file uses parameterized placeholders (`?`), but this one does not, allowing an attacker to inject arbitrary SQL via the route parameter (e.g. `DELETE /api/todos/1 OR 1=1`).",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "The deleteTodo function builds a DELETE query by directly concatenating the user-supplied `id` parameter into the SQL string (`\"DELETE FROM todos WHERE id = \" + id`). Every other query in the file uses parameterized placeholders (`?`), but this one does not, allowing an attacker to inject arbitrary SQL via the route parameter (e.g. `DELETE /api/todos/1 OR 1=1`).",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The deleteTodo function builds a SQL DELETE query via direct string concatenation of the user-supplied id parameter (`\"DELETE FROM todos WHERE id = \" + id`). Since id comes from req.params.id with no integer validation, an attacker can inject arbitrary SQL (e.g., DELETE /api/todos/1%20OR%201%3D1) to delete all rows or execute other statements.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The deleteTodo function constructs a SQL DELETE query by direct string concatenation of the user-supplied id (\"DELETE FROM todos WHERE id = \" + id) instead of using a parameterized placeholder. Combined with the missing integer validation in the DELETE route handler, an attacker can inject arbitrary SQL, e.g. DELETE /api/todos/1%20OR%201%3D1 to delete all rows.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The deleteTodo function constructs a SQL query by directly concatenating the user-supplied `id` parameter: `db.prepare(\"DELETE FROM todos WHERE id = \" + id)`. The DELETE handler at line 167 passes `req.params.id` (a raw string) without any integer validation, allowing an attacker to inject arbitrary SQL (e.g., DELETE /api/todos/1 OR 1=1 deletes all rows).",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The deleteTodo function directly concatenates the user-supplied `id` parameter into a raw SQL string (`\"DELETE FROM todos WHERE id = \" + id`) instead of using a parameterized query placeholder. The value flows from req.params.id (line 167/174) with no integer validation, enabling an attacker to inject arbitrary SQL (e.g., crafting an id of `1 OR 1=1` would delete all rows).",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "dc2549b942ecc5ecfa2d",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "server.js",
      "line": 106,
      "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-alloc-without-limits-4a",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "43c692709d776829d894",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "server.js",
      "line": 168,
      "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-alloc-without-limits-4b",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
          "occurrences": 2
        }
      ],
      "occurrences": 2
    },
    {
      "id": "9d3c3a83f7abd16f3f72",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "server.js",
      "line": 7,
      "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-4",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "8ecd0a7d89f500d18204",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "csrf",
      "severity": "high",
      "file": "server.js",
      "line": null,
      "description": "All mutating endpoints (POST /api/todos, PUT /api/todos/:id, DELETE /api/todos/:id) lack any CSRF protection. There is no CSRF token validation, no SameSite cookie policy, and no CORS restriction, enabling cross-site request forgery attacks from any origin.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "All mutating endpoints (POST /api/todos, PUT /api/todos/:id, DELETE /api/todos/:id) lack any CSRF protection. There is no CSRF token validation, no SameSite cookie policy, and no CORS restriction, enabling cross-site request forgery attacks from any origin.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "No CSRF protection (tokens or SameSite cookie policy) is implemented on any state-changing endpoint (POST, PUT, DELETE), allowing cross-site request forgery attacks against authenticated users.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "No CSRF protection middleware or tokens are used. All state-changing endpoints (POST /api/todos, PUT /api/todos/:id, DELETE /api/todos/:id) are vulnerable to cross-site request forgery if the application ever uses cookie-based sessions.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "c373a947423e41d34323",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "csrf",
      "severity": "medium",
      "file": "server.js",
      "line": 40,
      "description": "No CSRF protection is implemented. The API accepts state-changing requests (POST, PUT, DELETE) without any CSRF token validation. Combined with the lack of authentication, cross-origin requests from malicious pages can manipulate todos on behalf of any user sharing the server.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "No CSRF protection is implemented. The API accepts state-changing requests (POST, PUT, DELETE) without any CSRF token validation. Combined with the lack of authentication, cross-origin requests from malicious pages can manipulate todos on behalf of any user sharing the server.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "2aae1edf3425b2db2c21",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "csrf",
      "severity": "medium",
      "file": "server.js",
      "line": 85,
      "description": "State-changing API endpoints (POST /api/todos, PUT /api/todos/:id, DELETE /api/todos/:id) have no CSRF protection—no CSRF tokens, no Origin/Referer header validation, and no SameSite cookie policy. A malicious third-party site can trigger cross-site requests on behalf of authenticated users.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "State-changing API endpoints (POST /api/todos, PUT /api/todos/:id, DELETE /api/todos/:id) have no CSRF protection—no CSRF tokens, no Origin/Referer header validation, and no SameSite cookie policy. A malicious third-party site can trigger cross-site requests on behalf of authenticated users.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "c14dad1e286707d1f79b",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "idor",
      "severity": "medium",
      "file": "server.js",
      "line": null,
      "description": "There is no authentication or authorization mechanism. Any unauthenticated user can read, create, modify, or delete any todo record by guessing or enumerating integer IDs, constituting an Insecure Direct Object Reference vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "There is no authentication or authorization mechanism. Any unauthenticated user can read, create, modify, or delete any todo record by guessing or enumerating integer IDs, constituting an Insecure Direct Object Reference vulnerability.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "a6bc6a9b76e32ec4fb1b",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "idor",
      "severity": "high",
      "file": "server.js",
      "line": 64,
      "description": "No authentication or authorization is implemented on any API endpoint. Any unauthenticated user can list, view, create, update, or delete any todo item and download any attachment. All resource IDs are enumerable sequential integers.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "No authentication or authorization is implemented on any API endpoint. Any unauthenticated user can list, view, create, update, or delete any todo item and download any attachment. All resource IDs are enumerable sequential integers.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "1b54614a5e4b294a5472",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "idor",
      "severity": "high",
      "file": "server.js",
      "line": 166,
      "description": "There is no authentication or authorization mechanism anywhere in the application. Any unauthenticated user can read, create, modify, or delete any todo item by iterating or guessing numeric IDs via the REST API (GET/PUT/DELETE /api/todos/:id).",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "There is no authentication or authorization mechanism anywhere in the application. Any unauthenticated user can read, create, modify, or delete any todo item by iterating or guessing numeric IDs via the REST API (GET/PUT/DELETE /api/todos/:id).",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "cf2e3e612b94868d31a1",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "high",
      "file": "server.js",
      "line": 107,
      "description": "The PUT /api/todos/:id endpoint does not validate or convert the id parameter to an integer (unlike the GET endpoint at line 74), passing an unvalidated string to multiple database queries and enabling potential SQL injection and IDOR.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The PUT /api/todos/:id endpoint does not validate or convert the id parameter to an integer (unlike the GET endpoint at line 74), passing an unvalidated string to multiple database queries and enabling potential SQL injection and IDOR.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "ae866fa68046c8513c8f",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "critical",
      "file": "server.js",
      "line": 167,
      "description": "The DELETE /api/todos/:id endpoint reads req.params.id as a raw string with no integer validation and passes it directly to the string-concatenating deleteTodo() function, enabling SQL injection.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "The DELETE /api/todos/:id endpoint reads req.params.id as a raw string with no integer validation and passes it directly to the string-concatenating deleteTodo() function, enabling SQL injection.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "757f1a650615a750635e",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "insecure-transport",
      "severity": "low",
      "file": "server.js",
      "line": 195,
      "description": "The server listens on plain HTTP with no HTTPS enforcement or redirect. All data, including any future authentication credentials, is transmitted in cleartext.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "The server listens on plain HTTP with no HTTPS enforcement or redirect. All data, including any future authentication credentials, is transmitted in cleartext.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "The server listens over plain HTTP with no HTTPS enforcement or redirect. Data in transit (including file attachments and todo content) is transmitted unencrypted.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "96b8aa533928d2910834",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "high",
      "file": "server.js",
      "line": null,
      "description": "No authentication or authorization is implemented on any endpoint. Any unauthenticated user can read all todos, create/modify/delete any todo, and download all attachments.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "No authentication or authorization is implemented on any endpoint. Any unauthenticated user can read all todos, create/modify/delete any todo, and download all attachments.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "b9d119132fd1a89e76fd",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "low",
      "file": "server.js",
      "line": 7,
      "description": "No HTTP security headers are set (Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Strict-Transport-Security). This exposes the application to clickjacking, MIME-type sniffing attacks, and weakens defenses against XSS.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "No HTTP security headers are set (Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Strict-Transport-Security). This exposes the application to clickjacking, MIME-type sniffing attacks, and weakens defenses against XSS.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "d94ef83dbdd614f9fbc9",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "high",
      "file": "server.js",
      "line": 11,
      "description": "Multer has no fileFilter configured, so any file type (including .js, .sh, .php, .exe, .html) can be uploaded to the server. If the uploads directory is ever served statically or executed, this enables remote code execution or stored XSS via uploaded files.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Multer has no fileFilter configured, so any file type (including .js, .sh, .php, .exe, .html) can be uploaded to the server. If the uploads directory is ever served statically or executed, this enables remote code execution or stored XSS via uploaded files.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "d5769c598ea0393bca71",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "high",
      "file": "server.js",
      "line": 18,
      "description": "Multer has no fileFilter callback and no MIME type or extension restrictions. Any file type can be uploaded (e.g., server-side scripts, HTML, executables), potentially enabling malicious file uploads.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Multer has no fileFilter callback and no MIME type or extension restrictions. Any file type can be uploaded (e.g., server-side scripts, HTML, executables), potentially enabling malicious file uploads.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "No file type validation is applied in the Multer configuration (no `fileFilter` callback). Any file type, including server-executable scripts or malware, can be uploaded to the server's uploads directory.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "No fileFilter is configured on multer, allowing any file type to be uploaded (e.g., PHP scripts, executables, HTML files). Although the uploads directory is not served statically, this still poses a risk if the upload directory is ever exposed or if the server environment executes certain file types.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "4972a711caf636f779e3",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "medium",
      "file": "server.js",
      "line": 189,
      "description": "res.download() is called with the user-supplied attachment_original_name as the download filename, which is set in the Content-Disposition response header. If the filename contains CR/LF characters (\\r\\n), it can cause HTTP response header injection, allowing an attacker to inject arbitrary headers or split the response.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "res.download() is called with the user-supplied attachment_original_name as the download filename, which is set in the Content-Disposition response header. If the filename contains CR/LF characters (\\r\\n), it can cause HTTP response header injection, allowing an attacker to inject arbitrary headers or split the response.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "1ac0128d49e113522048",
      "projectId": "js-project-nightowl-find-vulns",
      "projectName": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "sql-injection",
      "severity": "critical",
      "file": "server.js",
      "line": 34,
      "description": "deleteTodo builds the SQL DELETE statement by directly concatenating the user-supplied id parameter (req.params.id, a raw URL string that is never validated as an integer) into the query string: `\"DELETE FROM todos WHERE id = \" + id`. An attacker can supply a value like `1 OR 1=1` to delete all rows, or craft other SQL expressions to manipulate data.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "deleteTodo builds the SQL DELETE statement by directly concatenating the user-supplied id parameter (req.params.id, a raw URL string that is never validated as an integer) into the query string: `\"DELETE FROM todos WHERE id = \" + id`. An attacker can supply a value like `1 OR 1=1` to delete all rows, or craft other SQL expressions to manipulate data.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The deleteTodo function builds a SQL query by directly concatenating the user-supplied 'id' parameter: `db.prepare(\"DELETE FROM todos WHERE id = \" + id)`. The DELETE route at line 166 passes the raw string `req.params.id` without any numeric validation, allowing an attacker to inject arbitrary SQL (e.g., '1 OR 1=1' to delete all rows).",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The deleteTodo function builds a SQL query using direct string concatenation ('DELETE FROM todos WHERE id = ' + id) instead of a parameterized query, allowing an attacker to inject arbitrary SQL via the id parameter.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The deleteTodo function builds the SQL DELETE query by directly concatenating the user-supplied `id` parameter (req.params.id, line 167) with no type validation or sanitization: `db.prepare(\"DELETE FROM todos WHERE id = \" + id)`. An attacker can inject SQL conditions (e.g., DELETE /api/todos/1%20OR%201%3D1) to delete all records or otherwise manipulate the query.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The deleteTodo function constructs a SQL query via direct string concatenation of the user-supplied id parameter (`\"DELETE FROM todos WHERE id = \" + id`). The DELETE route at line 167 takes id directly from req.params.id without integer validation, allowing an attacker to inject arbitrary SQL (e.g., DELETE /api/todos/1%20OR%201=1 deletes all rows).",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "8ccdb7127a4f11d0bfd1",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "command-injection",
      "severity": "high",
      "file": "server.js",
      "line": 124,
      "description": "Unsanitized input from the HTTP request body flows into promisified command execution function, where it is used to build a shell command. This may result in a Command Injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-command-injection-5",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from the HTTP request body flows into promisified command execution function, where it is used to build a shell command. This may result in a Command Injection vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "738308b8dd226bae3de2",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "server.js",
      "line": 33,
      "description": "Avoid hardcoding values that are meant to be secret. Found a hardcoded string used in express-session.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-secret-5",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Avoid hardcoding values that are meant to be secret. Found a hardcoded string used in express-session.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "ae883ff98d5b27c96d9d",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "low",
      "file": "server.js",
      "line": 37,
      "description": "Cookie has the Secure attribute set to false. Set it to true to protect the cookie from man-in-the-middle attacks.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-cookie-secure-flag-false-5",
      "metadataVariants": [
        {
          "severity": "low",
          "description": "Cookie has the Secure attribute set to false. Set it to true to protect the cookie from man-in-the-middle attacks.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "45f9f60acf884f902cc0",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "open-redirect",
      "severity": "medium",
      "file": "server.js",
      "line": 218,
      "description": "Unsanitized input from an HTTP parameter flows into redirect, where it is used as input for request redirection. This may result in an Open Redirect vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-open-redirect-5",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Unsanitized input from an HTTP parameter flows into redirect, where it is used as input for request redirection. This may result in an Open Redirect vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "1711ec70e8a07feca6e6",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "ssrf",
      "severity": "high",
      "file": "server.js",
      "line": 139,
      "description": "Unsanitized input from the HTTP request body flows into fetch, where it is used as an URL to perform a request. This may result in a Server-Side Request Forgery vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-ssrf-5",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from the HTTP request body flows into fetch, where it is used as an URL to perform a request. This may result in a Server-Side Request Forgery vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "267999b4b2be4485c977",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "insecure-transport",
      "severity": "low",
      "file": "server.js",
      "line": 37,
      "description": "Session cookie is configured with secure:false and no sameSite attribute, allowing session cookies to be transmitted over unencrypted HTTP and included in cross-site requests.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "Session cookie is configured with secure:false and no sameSite attribute, allowing session cookies to be transmitted over unencrypted HTTP and included in cross-site requests.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "37a25f3c06c083c036df",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "insecure-transport",
      "severity": "low",
      "file": "server.js",
      "line": 38,
      "description": "Session cookie is configured with secure: false, allowing it to be transmitted over unencrypted HTTP connections where it can be intercepted by network attackers.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "Session cookie is configured with secure: false, allowing it to be transmitted over unencrypted HTTP connections where it can be intercepted by network attackers.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "Session cookie is configured with secure: false, allowing it to be transmitted over unencrypted HTTP connections, making it vulnerable to interception via man-in-the-middle attacks.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "Session cookie is configured with secure: false, allowing it to be transmitted over unencrypted HTTP connections. The cookie also lacks explicit httpOnly and sameSite attributes, and has an excessively long maxAge (~3.17 years).",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "fafe7f238c0dd16d67df",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "command-injection",
      "severity": "high",
      "file": "server.js",
      "line": 124,
      "description": "Unsanitized input from the HTTP request body flows into promisified command execution function, where it is used to build a shell command. This may result in a Command Injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-command-injection-5",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from the HTTP request body flows into promisified command execution function, where it is used to build a shell command. This may result in a Command Injection vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "1f71dd0f820f32e04eb3",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "server.js",
      "line": 33,
      "description": "Avoid hardcoding values that are meant to be secret. Found a hardcoded string used in express-session.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-secret-5",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Avoid hardcoding values that are meant to be secret. Found a hardcoded string used in express-session.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "63e1d686c23efc94531f",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "open-redirect",
      "severity": "medium",
      "file": "server.js",
      "line": 218,
      "description": "Unsanitized input from an HTTP parameter flows into redirect, where it is used as input for request redirection. This may result in an Open Redirect vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-open-redirect-5",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Unsanitized input from an HTTP parameter flows into redirect, where it is used as input for request redirection. This may result in an Open Redirect vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "c2d715630cd6e4120ea3",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "ssrf",
      "severity": "high",
      "file": "server.js",
      "line": 139,
      "description": "Unsanitized input from the HTTP request body flows into fetch, where it is used as an URL to perform a request. This may result in a Server-Side Request Forgery vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-ssrf-5",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from the HTTP request body flows into fetch, where it is used as an URL to perform a request. This may result in a Server-Side Request Forgery vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "79e0cb2cff78269cd773",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "insecure-transport",
      "severity": "low",
      "file": "server.js",
      "line": 38,
      "description": "Session cookie has secure: false, allowing it to be transmitted over unencrypted HTTP connections, exposing session tokens to network interception.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "Session cookie has secure: false, allowing it to be transmitted over unencrypted HTTP connections, exposing session tokens to network interception.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "Session cookie has secure: false, meaning it will be transmitted over unencrypted HTTP connections, exposing session tokens to network interception.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Session cookie has 'secure: false' explicitly set, meaning the session cookie will be sent over unencrypted HTTP connections, exposing it to interception.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "a9b554461f376d96b2ec",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "server.js",
      "line": 176,
      "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-alloc-without-limits-5a",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "2489ee2ec98fb0ab58c4",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "server.js",
      "line": 186,
      "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-alloc-without-limits-5b",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "67a5a90d2b66f4d0eca4",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "command-injection",
      "severity": "high",
      "file": "server.js",
      "line": 124,
      "description": "Unsanitized input from the HTTP request body flows into promisified command execution function, where it is used to build a shell command. This may result in a Command Injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-command-injection-5",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from the HTTP request body flows into promisified command execution function, where it is used to build a shell command. This may result in a Command Injection vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "77c8cef9245f8fae26fe",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "csrf",
      "severity": "medium",
      "file": "server.js",
      "line": 17,
      "description": "CSRF protection is disabled for your Express app. This allows the attackers to execute requests on a user's behalf.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-csrf-missing-5",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "CSRF protection is disabled for your Express app. This allows the attackers to execute requests on a user's behalf.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "d0f3bd29d81c11178526",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "server.js",
      "line": 33,
      "description": "Avoid hardcoding values that are meant to be secret. Found a hardcoded string used in express-session.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-secret-5",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Avoid hardcoding values that are meant to be secret. Found a hardcoded string used in express-session.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "6908463f3a91417b75d0",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "low",
      "file": "server.js",
      "line": 85,
      "description": "The type of this object, coming from body and the value of its trim property can be controlled by the user. An attacker may craft the properties of the object to crash the application or bypass its logic. Consider checking the type of the object.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-improper-type-validation-5",
      "metadataVariants": [
        {
          "severity": "low",
          "description": "The type of this object, coming from body and the value of its trim property can be controlled by the user. An attacker may craft the properties of the object to crash the application or bypass its logic. Consider checking the type of the object.",
          "occurrences": 4
        }
      ],
      "occurrences": 4
    },
    {
      "id": "b66bab0f284d7b6cbae9",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "server.js",
      "line": 17,
      "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-5",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "6a7f98254ada7715def5",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "low",
      "file": "server.js",
      "line": 37,
      "description": "Cookie has the Secure attribute set to false. Set it to true to protect the cookie from man-in-the-middle attacks.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-cookie-secure-flag-false-5",
      "metadataVariants": [
        {
          "severity": "low",
          "description": "Cookie has the Secure attribute set to false. Set it to true to protect the cookie from man-in-the-middle attacks.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "8a9f274424eb8cd00d59",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "open-redirect",
      "severity": "medium",
      "file": "server.js",
      "line": 218,
      "description": "Unsanitized input from an HTTP parameter flows into redirect, where it is used as input for request redirection. This may result in an Open Redirect vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-open-redirect-5",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Unsanitized input from an HTTP parameter flows into redirect, where it is used as input for request redirection. This may result in an Open Redirect vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "1e110b05a0f7f82de91e",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "ssrf",
      "severity": "high",
      "file": "server.js",
      "line": 139,
      "description": "Unsanitized input from the HTTP request body flows into fetch, where it is used as an URL to perform a request. This may result in a Server-Side Request Forgery vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-ssrf-5",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from the HTTP request body flows into fetch, where it is used as an URL to perform a request. This may result in a Server-Side Request Forgery vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "34c9a0bb15e187216863",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "insecure-transport",
      "severity": "medium",
      "file": "server.js",
      "line": 38,
      "description": "Session cookie configured with `secure: false` and no `httpOnly`/`sameSite` flags, allowing cookie transmission over plain HTTP and exposure to JavaScript/CSRF.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Session cookie configured with `secure: false` and no `httpOnly`/`sameSite` flags, allowing cookie transmission over plain HTTP and exposure to JavaScript/CSRF.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Session cookie configured with secure: false (and no httpOnly/sameSite), allowing the session cookie to be transmitted over plain HTTP and increasing risk of interception/XSS theft.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Session cookie configured with secure: false, allowing the session cookie to be transmitted over plaintext HTTP and intercepted.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Session cookie configured with secure:false (transmitted over plain HTTP), no sameSite attribute, and excessive maxAge (~3 years). Enables session theft over network and CSRF facilitation.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Session cookie configured with secure:false, allowing the session cookie to be transmitted over plaintext HTTP. Combined with maxAge ~99999999999 ms (multi-year lifetime), exposure is greatly amplified.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "05261444aee3eaef55b2",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "low",
      "file": "server.js",
      "line": 36,
      "description": "express-session configured with saveUninitialized:true, creating sessions for unauthenticated visitors and increasing attack surface for session fixation and storage exhaustion.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "express-session configured with saveUninitialized:true, creating sessions for unauthenticated visitors and increasing attack surface for session fixation and storage exhaustion.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "Session fixation risk: saveUninitialized:true creates sessions for anonymous visitors, and there is no req.session.regenerate() on privilege change. Combined with a 3-year cookie lifetime, this enables long-lived session tracking and fixation.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "b09f9c38067cf124f957",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "redos",
      "severity": "low",
      "file": "server.js",
      "line": 80,
      "description": "Hostname regex uses nested quantifiers ([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)* allowing potentially catastrophic backtracking on crafted inputs; bounded but still costly.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "Hostname regex uses nested quantifiers ([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)* allowing potentially catastrophic backtracking on crafted inputs; bounded but still costly.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "Hostname validation regex /^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*/ contains nested optional quantifiers within a repeated group, susceptible to catastrophic backtracking on crafted inputs.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "Hostname validation regex uses nested quantifiers with optional groups and an outer * over '\\.[a-zA-Z0-9](...)?': pathological inputs may cause superlinear backtracking despite the inner {0,61} bound.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "The hostname regex `^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*/` has nested optional quantifiers and applies to user input of up to 253 characters; crafted inputs may cause catastrophic backtracking.",
          "occurrences": 1
        }
      ],
      "occurrences": 4
    },
    {
      "id": "1e6d30f720a3d471eab3",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "server.js",
      "line": 176,
      "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-alloc-without-limits-5a",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
          "occurrences": 3
        }
      ],
      "occurrences": 3
    },
    {
      "id": "125660bc6f1cfe422f67",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "server.js",
      "line": 186,
      "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-alloc-without-limits-5b",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "3e21bc40563deab0ac84",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "command-injection",
      "severity": "high",
      "file": "server.js",
      "line": 124,
      "description": "Unsanitized input from the HTTP request body flows into promisified command execution function, where it is used to build a shell command. This may result in a Command Injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-command-injection-5",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from the HTTP request body flows into promisified command execution function, where it is used to build a shell command. This may result in a Command Injection vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "6a383e3633307d5f0edb",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "csrf",
      "severity": "medium",
      "file": "server.js",
      "line": 17,
      "description": "CSRF protection is disabled for your Express app. This allows the attackers to execute requests on a user's behalf.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-csrf-missing-5",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "CSRF protection is disabled for your Express app. This allows the attackers to execute requests on a user's behalf.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "32e530cb9e46ea4bc4f6",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "server.js",
      "line": 33,
      "description": "Avoid hardcoding values that are meant to be secret. Found a hardcoded string used in express-session.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-secret-5",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Avoid hardcoding values that are meant to be secret. Found a hardcoded string used in express-session.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "307edcad2abb0e346d09",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "server.js",
      "line": 17,
      "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-5",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
          "occurrences": 2
        }
      ],
      "occurrences": 2
    },
    {
      "id": "b1bbfa0614450a7b92bb",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "low",
      "file": "server.js",
      "line": 37,
      "description": "Cookie has the Secure attribute set to false. Set it to true to protect the cookie from man-in-the-middle attacks.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-cookie-secure-flag-false-5",
      "metadataVariants": [
        {
          "severity": "low",
          "description": "Cookie has the Secure attribute set to false. Set it to true to protect the cookie from man-in-the-middle attacks.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "85fa4337eca03f83ef4b",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "open-redirect",
      "severity": "medium",
      "file": "server.js",
      "line": 218,
      "description": "Unsanitized input from an HTTP parameter flows into redirect, where it is used as input for request redirection. This may result in an Open Redirect vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-open-redirect-5",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Unsanitized input from an HTTP parameter flows into redirect, where it is used as input for request redirection. This may result in an Open Redirect vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "c0c3dbf9b247d3615a9a",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "ssrf",
      "severity": "high",
      "file": "server.js",
      "line": 139,
      "description": "Unsanitized input from the HTTP request body flows into fetch, where it is used as an URL to perform a request. This may result in a Server-Side Request Forgery vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-ssrf-5",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from the HTTP request body flows into fetch, where it is used as an URL to perform a request. This may result in a Server-Side Request Forgery vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "c52e442b2d8d775137e9",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "command-injection",
      "severity": "critical",
      "file": "server.js",
      "line": 75,
      "description": "All three regex patterns in isSafePingHost() (IPv4 at line 75, IPv6 at line 77, hostname at line 79-81) lack end anchors ($). The patterns only check that the string starts with a valid value, allowing arbitrary shell-injectable content to follow (e.g., '1.1.1.1; rm -rf /' passes the IPv4 check).",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "All three regex patterns in isSafePingHost() (IPv4 at line 75, IPv6 at line 77, hostname at line 79-81) lack end anchors ($). The patterns only check that the string starts with a valid value, allowing arbitrary shell-injectable content to follow (e.g., '1.1.1.1; rm -rf /' passes the IPv4 check).",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "isSafePingHost() uses the IPv4 regex /^(\\d{1,3}\\.){3}\\d{1,3}/ without a terminal $ anchor, allowing strings like '1.2.3.4; rm -rf /' to pass validation. Similarly, the IPv6 regex (/^[0-9a-fA-F:]+/) and hostname regex are also missing end anchors, enabling shell metacharacter injection for all input types.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The IPv4 regex `/^(\\d{1,3}\\.){3}\\d{1,3}/` in isSafePingHost is missing a `$` end anchor, allowing any string that starts with an IPv4 prefix (e.g. `1.2.3.4; rm -rf /`) to pass host validation and be injected into the shell command.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "c5284073e51eaa7c1cc4",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "command-injection",
      "severity": "critical",
      "file": "server.js",
      "line": 80,
      "description": "The hostname regex in isSafePingHost is missing a `$` end anchor, so inputs like `example.com; id` pass validation and can be injected into the shell command constructed in runPing.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "The hostname regex in isSafePingHost is missing a `$` end anchor, so inputs like `example.com; id` pass validation and can be injected into the shell command constructed in runPing.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "21bfdbbc3dc8a58877a6",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "information-exposure",
      "severity": "low",
      "file": "index.hbs",
      "line": 8,
      "description": "The server's OS hostname (`os.hostname()`) is rendered on the public home page, leaking internal infrastructure naming that could assist an attacker in reconnaissance.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "The server's OS hostname (`os.hostname()`) is rendered on the public home page, leaking internal infrastructure naming that could assist an attacker in reconnaissance.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "c2103f9f9abdcf7c2de5",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "insecure-transport",
      "severity": "medium",
      "file": "server.js",
      "line": 38,
      "description": "Session cookie is configured with secure: false, allowing transmission over plain HTTP and exposing it to network interception. The cookie also lacks a sameSite attribute, and maxAge is set to ~3 years (99999999999 ms), creating extremely long-lived sessions.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Session cookie is configured with secure: false, allowing transmission over plain HTTP and exposing it to network interception. The cookie also lacks a sameSite attribute, and maxAge is set to ~3 years (99999999999 ms), creating extremely long-lived sessions.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Session cookie is configured with secure:false, allowing it to be transmitted over unencrypted HTTP. The maxAge of 99999999999 ms (~1157 days) creates an excessively long-lived session. No sameSite attribute is set, increasing CSRF exposure.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The session cookie is configured with `secure: false`, allowing it to be transmitted over unencrypted HTTP connections. This exposes the session token to network interception (e.g. MITM attacks on non-HTTPS connections).",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The session cookie is configured with secure: false, meaning it is transmitted over unencrypted HTTP connections. The cookie also lacks a sameSite attribute, weakening CSRF defenses. The maxAge of 99999999999ms (~3.17 years) makes stolen sessions valid for an excessively long period.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The session cookie is configured with secure: false, which allows it to be transmitted over unencrypted HTTP connections, exposing the session token to network interception and man-in-the-middle attacks.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "be17a49602845923be50",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "open-redirect",
      "severity": "high",
      "file": "server.js",
      "line": 215,
      "description": "Missing `return` after `res.redirect(302, '/')` inside the protective if-block in the /visitPage handler. Execution always falls through to `res.redirect(target)` on line 218, making the safety check completely ineffective and the open redirect unconditional.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Missing `return` after `res.redirect(302, '/')` inside the protective if-block in the /visitPage handler. Execution always falls through to `res.redirect(target)` on line 218, making the safety check completely ineffective and the open redirect unconditional.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "303a4336d304fc6ada7b",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "medium",
      "file": "server.js",
      "line": 216,
      "description": "Missing return after res.redirect(302, '/') at line 216. Execution always falls through to res.redirect(target) at line 218. When the safety condition is met (target === '/visitPage'), two response calls are made, causing a 'headers already sent' crash and allowing the redirect to target to also fire, defeating the guard.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Missing return after res.redirect(302, '/') at line 216. Execution always falls through to res.redirect(target) at line 218. When the safety condition is met (target === '/visitPage'), two response calls are made, causing a 'headers already sent' crash and allowing the redirect to target to also fire, defeating the guard.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "ff44ca89b67d722e45aa",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "prototype-pollution",
      "severity": "medium",
      "file": "server.js",
      "line": 143,
      "description": "HTTP response headers from a remote (potentially attacker-controlled) server are assigned into a plain `{}` object without filtering reserved keys. If the remote server returns a header named `__proto__`, `constructor`, or `prototype`, the assignment `headers[key] = value` can pollute the JavaScript object prototype chain.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "HTTP response headers from a remote (potentially attacker-controlled) server are assigned into a plain `{}` object without filtering reserved keys. If the remote server returns a header named `__proto__`, `constructor`, or `prototype`, the assignment `headers[key] = value` can pollute the JavaScript object prototype chain.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "d8dd1cdfd8a249d0a634",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "server.js",
      "line": 176,
      "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-alloc-without-limits-5a",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
          "occurrences": 4
        }
      ],
      "occurrences": 4
    },
    {
      "id": "d4720915ab3fbc68fa92",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "command-injection",
      "severity": "high",
      "file": "server.js",
      "line": 124,
      "description": "Unsanitized input from the HTTP request body flows into promisified command execution function, where it is used to build a shell command. This may result in a Command Injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-command-injection-5",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from the HTTP request body flows into promisified command execution function, where it is used to build a shell command. This may result in a Command Injection vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "245f34873a08793bd162",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "csrf",
      "severity": "medium",
      "file": "server.js",
      "line": 17,
      "description": "CSRF protection is disabled for your Express app. This allows the attackers to execute requests on a user's behalf.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-csrf-missing-5",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "CSRF protection is disabled for your Express app. This allows the attackers to execute requests on a user's behalf.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "0a02414d23b0b49600e5",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "server.js",
      "line": 33,
      "description": "Avoid hardcoding values that are meant to be secret. Found a hardcoded string used in express-session.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-secret-5",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Avoid hardcoding values that are meant to be secret. Found a hardcoded string used in express-session.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "4b258cefce8b797a7348",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "low",
      "file": "server.js",
      "line": 85,
      "description": "The type of this object, coming from body and the value of its trim property can be controlled by the user. An attacker may craft the properties of the object to crash the application or bypass its logic. Consider checking the type of the object.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-improper-type-validation-5",
      "metadataVariants": [
        {
          "severity": "low",
          "description": "The type of this object, coming from body and the value of its trim property can be controlled by the user. An attacker may craft the properties of the object to crash the application or bypass its logic. Consider checking the type of the object.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "94188fba7e7fc3c32d19",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "server.js",
      "line": 17,
      "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-5",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "d14ce0a154c070f4bfb9",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "low",
      "file": "server.js",
      "line": 37,
      "description": "Cookie has the Secure attribute set to false. Set it to true to protect the cookie from man-in-the-middle attacks.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-cookie-secure-flag-false-5",
      "metadataVariants": [
        {
          "severity": "low",
          "description": "Cookie has the Secure attribute set to false. Set it to true to protect the cookie from man-in-the-middle attacks.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "644930ded523d904a756",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "open-redirect",
      "severity": "medium",
      "file": "server.js",
      "line": 218,
      "description": "Unsanitized input from an HTTP parameter flows into redirect, where it is used as input for request redirection. This may result in an Open Redirect vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-open-redirect-5",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Unsanitized input from an HTTP parameter flows into redirect, where it is used as input for request redirection. This may result in an Open Redirect vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "7e04a734ac71f7e5f6d5",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "ssrf",
      "severity": "high",
      "file": "server.js",
      "line": 139,
      "description": "Unsanitized input from the HTTP request body flows into fetch, where it is used as an URL to perform a request. This may result in a Server-Side Request Forgery vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-ssrf-5",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from the HTTP request body flows into fetch, where it is used as an URL to perform a request. This may result in a Server-Side Request Forgery vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "1a96b450334fae1ed30e",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "command-injection",
      "severity": "critical",
      "file": "server.js",
      "line": 75,
      "description": "All three host-validation regexes in isSafePingHost() — IPv4 (/^(\\d{1,3}\\.){3}\\d{1,3}/), IPv6 (/^[0-9a-fA-F:]+/), and hostname — are missing a `$` end anchor. JavaScript's RegExp.test() returns true when only a prefix of the string matches, so attackers append shell metacharacters (`;`, `&&`, `|`, `$()`, etc.) after a valid prefix to bypass the check entirely.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "All three host-validation regexes in isSafePingHost() — IPv4 (/^(\\d{1,3}\\.){3}\\d{1,3}/), IPv6 (/^[0-9a-fA-F:]+/), and hostname — are missing a `$` end anchor. JavaScript's RegExp.test() returns true when only a prefix of the string matches, so attackers append shell metacharacters (`;`, `&&`, `|`, `$()`, etc.) after a valid prefix to bypass the check entirely.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "IPv4 regex `/^(\\d{1,3}\\.){3}\\d{1,3}/` in `isSafePingHost` has no end anchor `$`, allowing arbitrary trailing content (e.g., shell metacharacters) after a valid IPv4 prefix to pass host validation.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "IPv4 validation regex /^(\\d{1,3}\\.){3}\\d{1,3}/ is missing the $ end anchor, allowing trailing shell metacharacters (e.g., '; whoami') to bypass the host safety check and reach the shell command in runPing().",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The IPv4 regex /^(\\d{1,3}\\.){3}\\d{1,3}/ in isSafePingHost is not anchored at the end (missing $), so '1.2.3.4; evil_command' matches and passes validation, enabling command injection in runPing.",
          "occurrences": 1
        }
      ],
      "occurrences": 4
    },
    {
      "id": "ae3bf61da30de638e817",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "command-injection",
      "severity": "critical",
      "file": "server.js",
      "line": 77,
      "description": "IPv6 regex `/^[0-9a-fA-F:]+/` in `isSafePingHost` has no end anchor `$`, so inputs like `::1; rm -rf /` pass validation and are later embedded in the shell ping command.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "IPv6 regex `/^[0-9a-fA-F:]+/` in `isSafePingHost` has no end anchor `$`, so inputs like `::1; rm -rf /` pass validation and are later embedded in the shell ping command.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "IPv6 validation regex /^[0-9a-fA-F:]+/ is missing the $ end anchor, allowing trailing shell metacharacters to bypass the host safety check.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The IPv6 regex /^[0-9a-fA-F:]+/ in isSafePingHost is not anchored at the end (missing $), so '::1; evil_command' matches and passes validation, enabling command injection in runPing.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "a863718417de2e0f4fd2",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "command-injection",
      "severity": "critical",
      "file": "server.js",
      "line": 79,
      "description": "The hostname regex in isSafePingHost is not anchored at the end (missing $), so 'example.com; evil_command' matches and passes validation, enabling command injection in runPing.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "The hostname regex in isSafePingHost is not anchored at the end (missing $), so 'example.com; evil_command' matches and passes validation, enabling command injection in runPing.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "8c380f3345d1daba0949",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "command-injection",
      "severity": "critical",
      "file": "server.js",
      "line": 80,
      "description": "Hostname regex in `isSafePingHost` has no end anchor `$`, allowing inputs such as `example.com && whoami` to pass host validation and be executed as shell commands via `execAsync`.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "Hostname regex in `isSafePingHost` has no end anchor `$`, allowing inputs such as `example.com && whoami` to pass host validation and be executed as shell commands via `execAsync`.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "Hostname validation regex is missing the $ end anchor, allowing trailing shell metacharacters (e.g., 'example.com; id') to bypass the host safety check.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "0a3dc0b2ea325d6c309c",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "information-exposure",
      "severity": "low",
      "file": "server.js",
      "line": 181,
      "description": "Internal server hostname (os.hostname()) is exposed in the index, account, and results pages. This leaks internal infrastructure naming conventions and may assist attackers in reconnaissance or targeted attacks.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "Internal server hostname (os.hostname()) is exposed in the index, account, and results pages. This leaks internal infrastructure naming conventions and may assist attackers in reconnaissance or targeted attacks.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "36ee38469d0b86cf527f",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "insecure-transport",
      "severity": "medium",
      "file": "server.js",
      "line": 38,
      "description": "Session cookie is configured with `secure: false`, allowing the session token to be transmitted over unencrypted HTTP connections where it can be intercepted. The cookie also has an extremely long `maxAge` (~3 years), prolonging the window for stolen sessions.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Session cookie is configured with `secure: false`, allowing the session token to be transmitted over unencrypted HTTP connections where it can be intercepted. The cookie also has an extremely long `maxAge` (~3 years), prolonging the window for stolen sessions.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Session cookie is configured with secure: false, causing session tokens to be transmitted over unencrypted HTTP connections and making them susceptible to network interception.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Session cookie is configured with secure:false, meaning it is transmitted over plain HTTP connections, exposing session tokens to network interception.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The session cookie is configured with `secure: false`, meaning the session cookie is transmitted over plain HTTP connections and is susceptible to interception via network eavesdropping or man-in-the-middle attacks.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The session cookie is configured with secure: false, allowing it to be transmitted over unencrypted HTTP connections and making it susceptible to interception via man-in-the-middle attacks.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "9919ea18942e74babe29",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "open-redirect",
      "severity": "high",
      "file": "server.js",
      "line": 211,
      "description": "The safety guard inside `/visitPage` (`if (!target || target === '/visitPage' ...)`) is missing a `return` statement, so execution always falls through to the unvalidated `res.redirect(target)` call, making the guard ineffective.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The safety guard inside `/visitPage` (`if (!target || target === '/visitPage' ...)`) is missing a `return` statement, so execution always falls through to the unvalidated `res.redirect(target)` call, making the guard ineffective.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "c0ce9e1c9600b3aa981c",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "low",
      "file": "server.js",
      "line": 36,
      "description": "saveUninitialized: true causes a session to be created and stored for every unauthenticated request, which wastes server-side storage and creates unnecessary session tokens that can be abused.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "saveUninitialized: true causes a session to be created and stored for every unauthenticated request, which wastes server-side storage and creates unnecessary session tokens that can be abused.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "03cfc2163b841eb9268f",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "low",
      "file": "server.js",
      "line": 39,
      "description": "Session cookie maxAge is set to 99999999999 milliseconds (~3155 years), effectively creating permanent sessions and increasing the window for session hijacking if a token is compromised.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "Session cookie maxAge is set to 99999999999 milliseconds (~3155 years), effectively creating permanent sessions and increasing the window for session hijacking if a token is compromised.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The session cookie maxAge is set to 99999999999 milliseconds (~3.17 years). This excessively long lifetime means compromised session tokens remain valid for years, dramatically expanding the window of opportunity for session hijacking and token theft exploitation.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "add2fd1ea86cd2230696",
      "projectId": "js-project-purplehaze-find-vulns",
      "projectName": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "ssrf",
      "severity": "high",
      "file": "server.js",
      "line": 140,
      "description": "The fetch call uses redirect:'follow', meaning if a public HTTPS URL responds with a redirect pointing to an internal/private address, the server silently follows the chain and exposes internal resources. Combined with the absence of private-IP filtering, this enables redirect-based SSRF even when the initial hostname looks public.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The fetch call uses redirect:'follow', meaning if a public HTTPS URL responds with a redirect pointing to an internal/private address, the server silently follows the chain and exposes internal resources. Combined with the absence of private-IP filtering, this enables redirect-based SSRF even when the initial hostname looks public.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "3ffc6f4456ca6d9c3a1e",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "prototype-pollution",
      "severity": "medium",
      "file": "app.js",
      "line": 17,
      "description": "User-controlled nested property names are written directly into an object profile.",
      "totalRepetitions": 5,
      "referenceFindingId": "jrb-prototype-pollution-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "User-controlled nested property names are written directly into an object profile.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "e194858509bd07c4be38",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "prototype-pollution",
      "severity": "medium",
      "file": "app.js",
      "line": 17,
      "description": "User-controlled nested property names are written directly into an object profile.",
      "totalRepetitions": 5,
      "referenceFindingId": "jrb-prototype-pollution-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "User-controlled nested property names are written directly into an object profile.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "c3a8ca1a9961db49f78c",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "prototype-pollution",
      "severity": "medium",
      "file": "app.js",
      "line": 17,
      "description": "User-controlled nested property names are written directly into an object profile.",
      "totalRepetitions": 5,
      "referenceFindingId": "jrb-prototype-pollution-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "User-controlled nested property names are written directly into an object profile.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "f6b359024949116745dc",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "low",
      "file": "app.js",
      "line": 9,
      "description": "The handler does not validate the types of req.body.section, req.body.key, or req.body.value before using them as object keys/values, allowing non-string inputs that contribute to the prototype-pollution sink and unexpected behavior.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "The handler does not validate the types of req.body.section, req.body.key, or req.body.value before using them as object keys/values, allowing non-string inputs that contribute to the prototype-pollution sink and unexpected behavior.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Request body fields `section`, `key`, and `value` are used without any type validation or allow-listing. Non-string types or dangerous property names (__proto__, constructor, prototype) are not rejected before being used as object keys.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "d643da1be385cfbaac9b",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "prototype-pollution",
      "severity": "medium",
      "file": "app.js",
      "line": 17,
      "description": "User-controlled nested property names are written directly into an object profile.",
      "totalRepetitions": 5,
      "referenceFindingId": "jrb-prototype-pollution-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "User-controlled nested property names are written directly into an object profile.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "2acc9e63509aa3fd706d",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 8,
      "description": "The POST /imports/profile endpoint has no rate limiting or request throttling. An attacker can send an unlimited number of requests, potentially causing denial of service through resource exhaustion.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The POST /imports/profile endpoint has no rate limiting or request throttling. An attacker can send an unlimited number of requests, potentially causing denial of service through resource exhaustion.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST /imports/profile endpoint has no rate limiting, authentication, or request throttling. Any unauthenticated client can flood the endpoint with unlimited requests, enabling denial-of-service attacks and rapid repeated prototype pollution.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST /imports/profile endpoint has no rate limiting, IP-based throttling, or concurrency controls. An attacker can flood the endpoint to exhaust server resources and cause denial of service.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST /imports/profile endpoint has no rate limiting. An attacker can flood the endpoint with unlimited requests, causing a denial-of-service or amplifying exploitation of the prototype pollution vulnerability. No express-rate-limit or similar middleware is applied.",
          "occurrences": 1
        }
      ],
      "occurrences": 4
    },
    {
      "id": "1a148a45d161895b649f",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 27,
      "description": "Neither endpoint applies rate limiting or request throttling. The express.json() body parser is configured with no explicit size limit override, and no middleware such as express-rate-limit is used, making both endpoints vulnerable to denial-of-service via request flooding.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Neither endpoint applies rate limiting or request throttling. The express.json() body parser is configured with no explicit size limit override, and no middleware such as express-rate-limit is used, making both endpoints vulnerable to denial-of-service via request flooding.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "bbc92b6177d493f5c4b5",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "csrf",
      "severity": "medium",
      "file": "app.js",
      "line": 8,
      "description": "The POST /imports/profile endpoint performs a state-changing operation with no CSRF token validation. In contexts where the endpoint is accessed by authenticated browser sessions, a malicious cross-origin page could forge requests that modify import profiles or trigger prototype pollution.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The POST /imports/profile endpoint performs a state-changing operation with no CSRF token validation. In contexts where the endpoint is accessed by authenticated browser sessions, a malicious cross-origin page could forge requests that modify import profiles or trigger prototype pollution.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST /imports/profile endpoint performs a state-changing operation with no CSRF token validation. There is no anti-CSRF middleware (e.g., csurf), leaving the endpoint vulnerable to cross-site request forgery attacks if the service relies on cookie-based sessions.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "3cc8c7ef5df1145ce6eb",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "high",
      "file": "app.js",
      "line": 9,
      "description": "The 'section', 'key', and 'value' fields from req.body are used without type checking or whitelist validation. 'section' is never restricted to the valid property names ('columns' or 'defaults'), allowing arbitrary property creation on the profile object and enabling the prototype pollution attack path.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The 'section', 'key', and 'value' fields from req.body are used without type checking or whitelist validation. 'section' is never restricted to the valid property names ('columns' or 'defaults'), allowing arbitrary property creation on the profile object and enabling the prototype pollution attack path.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "The `section`, `key`, and `value` parameters are taken from req.body with no type, length, or allowlist validation. `section` is not restricted to known keys (`columns` or `defaults`), `key` has no restrictions, and `value` can be any type (object, array, etc.), enabling prototype pollution and unexpected behavior.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "3094bdd1d794eced8797",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "medium",
      "file": "app.js",
      "line": 17,
      "description": "The `section`, `key`, and `value` fields from req.body are only guarded with a falsy-default (`|| 'columns'`), but their types are never validated. Sending a non-string (e.g. an object or array) for `section` or `key` causes unexpected behavior, can bypass intended logic, and amplifies the prototype pollution risk.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The `section`, `key`, and `value` fields from req.body are only guarded with a falsy-default (`|| 'columns'`), but their types are never validated. Sending a non-string (e.g. an object or array) for `section` or `key` causes unexpected behavior, can bypass intended logic, and amplifies the prototype pollution risk.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "fb85602c7b505fea2855",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "information-exposure",
      "severity": "low",
      "file": "app.js",
      "line": 5,
      "description": "While `x-powered-by` is disabled, no other security headers are set (e.g., Content-Security-Policy, X-Content-Type-Options, X-Frame-Options, Strict-Transport-Security). The helmet middleware or equivalent is absent, reducing the defense-in-depth posture of the application.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "While `x-powered-by` is disabled, no other security headers are set (e.g., Content-Security-Policy, X-Content-Type-Options, X-Frame-Options, Strict-Transport-Security). The helmet middleware or equivalent is absent, reducing the defense-in-depth posture of the application.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "1de2e1051cb663305438",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "information-exposure",
      "severity": "low",
      "file": "app.js",
      "line": 21,
      "description": "The GET /imports/profile endpoint returns internal configuration data (column names, default warehouse mappings) without any authentication or authorization check, exposing application internals to unauthenticated callers.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "The GET /imports/profile endpoint returns internal configuration data (column names, default warehouse mappings) without any authentication or authorization check, exposing application internals to unauthenticated callers.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "The GET /imports/profile endpoint returns internal data (warehouse name 'central', column schema) to any unauthenticated caller with no access control, leaking internal infrastructure details.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "bf8e13de41d8255ac027",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "high",
      "file": "app.js",
      "line": 8,
      "description": "Neither the POST nor GET /imports/profile endpoints require any authentication or authorization. Any unauthenticated user on the network can read and arbitrarily modify import profile configuration.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Neither the POST nor GET /imports/profile endpoints require any authentication or authorization. Any unauthenticated user on the network can read and arbitrarily modify import profile configuration.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Both GET and POST /imports/profile endpoints are publicly accessible with no authentication or authorization middleware. Any unauthenticated party can read or modify the import profile configuration, which is sensitive supplier/warehouse data.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "3d6defbf17a93ef527cd",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "medium",
      "file": "app.js",
      "line": 17,
      "description": "If `section` is any value other than 'columns' or 'defaults', `profile[section]` is undefined and the assignment `undefined[key] = value` throws an uncaught TypeError. There is no try/catch or section allowlist, so this crashes the request handler and can be triggered trivially to cause denial of service on individual requests.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "If `section` is any value other than 'columns' or 'defaults', `profile[section]` is undefined and the assignment `undefined[key] = value` throws an uncaught TypeError. There is no try/catch or section allowlist, so this crashes the request handler and can be triggered trivially to cause denial of service on individual requests.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "If `section` is any value other than `columns` or `defaults` (and not `__proto__`/`constructor`), `profile[section]` is `undefined`, and the subsequent property assignment throws an uncaught TypeError. This crashes the request handler and can be used for denial-of-service. No try/catch or existence check is present.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "e141af5fde56de978692",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "prototype-pollution",
      "severity": "medium",
      "file": "app.js",
      "line": 17,
      "description": "User-controlled nested property names are written directly into an object profile.",
      "totalRepetitions": 5,
      "referenceFindingId": "jrb-prototype-pollution-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "User-controlled nested property names are written directly into an object profile.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "bfd11086e22f56af2b2c",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "low",
      "file": "app.js",
      "line": 6,
      "description": "express.json() is used without a body size limit specified. Although Express defaults to 100kb, there is no explicit rate limiting or request throttling on any endpoint, making the service susceptible to abuse via high-frequency requests.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "express.json() is used without a body size limit specified. Although Express defaults to 100kb, there is no explicit rate limiting or request throttling on any endpoint, making the service susceptible to abuse via high-frequency requests.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "a6beeaf578994ea47a6a",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 8,
      "description": "Neither the POST /imports/profile nor the GET /imports/profile endpoint applies any rate-limiting or request-throttling middleware. An attacker can flood the service with requests, exhausting CPU/memory and causing denial of service.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Neither the POST /imports/profile nor the GET /imports/profile endpoint applies any rate-limiting or request-throttling middleware. An attacker can flood the service with requests, exhausting CPU/memory and causing denial of service.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST /imports/profile endpoint has no rate limiting, allowing any unauthenticated caller to flood the service with requests causing denial of service.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST /imports/profile endpoint has no rate limiting. An attacker can send unlimited requests to exhaust server resources or cause repeated 500 errors (e.g., by passing an invalid 'section' to trigger unhandled TypeErrors), resulting in denial of service.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "53dda61086befb60bbab",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "high",
      "file": "app.js",
      "line": 17,
      "description": "If 'section' is any value other than 'columns' or 'defaults', profile[section] is undefined, and the subsequent property assignment throws an uncaught TypeError. This is trivially exploitable for denial of service by any unauthenticated caller sending arbitrary 'section' values.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "If 'section' is any value other than 'columns' or 'defaults', profile[section] is undefined, and the subsequent property assignment throws an uncaught TypeError. This is trivially exploitable for denial of service by any unauthenticated caller sending arbitrary 'section' values.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "96dabb9b7152c7218e68",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 25,
      "description": "No rate-limiting or request throttling middleware is applied to any route, making the service vulnerable to abuse and amplified denial-of-service attacks.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "No rate-limiting or request throttling middleware is applied to any route, making the service vulnerable to abuse and amplified denial-of-service attacks.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "84c38543226db826d99a",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "csrf",
      "severity": "low",
      "file": "app.js",
      "line": 8,
      "description": "The POST /imports/profile endpoint performs a state-mutating action with no CSRF token validation. Depending on the broader authentication context, cross-site requests could trigger unintended profile mutations.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "The POST /imports/profile endpoint performs a state-mutating action with no CSRF token validation. Depending on the broader authentication context, cross-site requests could trigger unintended profile mutations.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST /imports/profile endpoint performs a state-mutating action but has no CSRF token validation. On internal networks or with permissive CORS configurations, a malicious site can trigger this endpoint on behalf of an authenticated user.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "4df887b4e87ffff9fe26",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "idor",
      "severity": "medium",
      "file": "app.js",
      "line": 21,
      "description": "The GET /imports/profile endpoint returns internal configuration data (column names and warehouse defaults) with no authentication or access control, allowing any unauthenticated user to read potentially sensitive operational data.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The GET /imports/profile endpoint returns internal configuration data (column names and warehouse defaults) with no authentication or access control, allowing any unauthenticated user to read potentially sensitive operational data.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "637b9850a28af69d84e1",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "high",
      "file": "app.js",
      "line": 9,
      "description": "No type or value validation is performed on req.body.section, req.body.key, or req.body.value before use. Any string (including '__proto__', 'constructor', 'toString', etc.) is accepted, enabling prototype pollution and other injection attacks. Additionally, if section resolves to a non-object property, an uncaught TypeError will crash the request handler.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "No type or value validation is performed on req.body.section, req.body.key, or req.body.value before use. Any string (including '__proto__', 'constructor', 'toString', etc.) is accepted, enabling prototype pollution and other injection attacks. Additionally, if section resolves to a non-object property, an uncaught TypeError will crash the request handler.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "No validation is performed on 'section', 'key', or 'value' from req.body. Beyond prototype pollution, if 'section' is any value other than 'columns' or 'defaults', profile[section] is undefined and the subsequent property assignment throws an unhandled TypeError, crashing the request and potentially leaking stack trace information.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "The 'section', 'key', and 'value' fields from req.body are used directly without any type, length, or content validation. Non-string values (arrays, objects) or excessively long strings can cause unexpected behavior or crashes.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "c0bef50a3fb035639ecc",
      "projectId": "js-project-riverbend-find-vulns",
      "projectName": "JS Snippet (Import Profile): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "high",
      "file": "app.js",
      "line": 8,
      "description": "No authentication or authorization is enforced on either endpoint. Any unauthenticated actor can read import profile configuration or write arbitrary values into the profile object, including exploiting prototype pollution.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "No authentication or authorization is enforced on either endpoint. Any unauthenticated actor can read import profile configuration or write arbitrary values into the profile object, including exploiting prototype pollution.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Both endpoints (/imports/profile GET and POST) have no authentication or authorization checks, allowing any network-accessible client to read or modify import profile data.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Both POST and GET endpoints are exposed without any authentication or authorization mechanism. Any unauthenticated client can read and manipulate import profiles.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The POST /imports/profile endpoint has no authentication or authorization controls. Any unauthenticated client can modify import profiles or trigger prototype pollution, making this a publicly exploitable attack surface.",
          "occurrences": 1
        }
      ],
      "occurrences": 4
    },
    {
      "id": "6ef16cf0bd50e3b1773d",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "app.js",
      "line": 8,
      "description": "Hardcoded password used in password.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-creds-2",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Hardcoded password used in password.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "2fd7b5f42989a232ff99",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 13,
      "description": "X-Powered-By header exposes information about the used framework to potential attackers",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-2",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "X-Powered-By header exposes information about the used framework to potential attackers",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "04baf930067e567c1ec1",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "sql-injection",
      "severity": "high",
      "file": "app.js",
      "line": 28,
      "description": "Unsanitized input from an HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-sql-injection-2",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from an HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "2a797350239c2d2084df",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "app.js",
      "line": 8,
      "description": "Hardcoded password used in password.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-creds-2",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Hardcoded password used in password.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "3b88ec942c226e54283f",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 13,
      "description": "X-Powered-By header exposes information about the used framework to potential attackers",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-2",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "X-Powered-By header exposes information about the used framework to potential attackers",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "a3bbcee42463bcb17da5",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "sql-injection",
      "severity": "high",
      "file": "app.js",
      "line": 28,
      "description": "Unsanitized input from an HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-sql-injection-2",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from an HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "8408f72230e7b2214cee",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "app.js",
      "line": 8,
      "description": "Hardcoded password used in password.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-creds-2",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Hardcoded password used in password.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "0534ac03ae420ea514fe",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 13,
      "description": "X-Powered-By header exposes information about the used framework to potential attackers",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-2",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "X-Powered-By header exposes information about the used framework to potential attackers",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "95a6447ae0cd90a3d2e6",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "sql-injection",
      "severity": "high",
      "file": "app.js",
      "line": 28,
      "description": "Unsanitized input from an HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-sql-injection-2",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from an HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "0dc3dfd65e6fd0455b79",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "app.js",
      "line": 8,
      "description": "Hardcoded password used in password.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-creds-2",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Hardcoded password used in password.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "e94a3d7ebbbccf5d243c",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 13,
      "description": "X-Powered-By header exposes information about the used framework to potential attackers",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-2",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "X-Powered-By header exposes information about the used framework to potential attackers",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "bc3b4dd4f385f5f5ff9b",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "sql-injection",
      "severity": "high",
      "file": "app.js",
      "line": 28,
      "description": "Unsanitized input from an HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-sql-injection-2",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from an HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "af58dc22d42d8ede2a44",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 15,
      "description": "The /users endpoint has no rate-limiting or throttling middleware. Combined with the SELECT * query, this allows an unauthenticated attacker to flood the endpoint and exhaust database or server resources.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The /users endpoint has no rate-limiting or throttling middleware. Combined with the SELECT * query, this allows an unauthenticated attacker to flood the endpoint and exhaust database or server resources.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The GET /users endpoint has no rate limiting, authentication, or request throttling. Any unauthenticated client can send unlimited requests, enabling denial-of-service attacks or database resource exhaustion.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The GET /users endpoint has no rate limiting, request throttling, or authentication. Any unauthenticated client can issue unlimited database queries, enabling denial-of-service and enumeration attacks.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "2e2c343901e7be1cba00",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "medium",
      "file": "app.js",
      "line": 16,
      "description": "The `id` query parameter is read from req.query and used without any validation: no type check (expected integer), no null/undefined guard, no length or character-set restrictions. A missing or malformed `id` yields malformed SQL such as `WHERE id = undefined`.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The `id` query parameter is read from req.query and used without any validation: no type check (expected integer), no null/undefined guard, no length or character-set restrictions. A missing or malformed `id` yields malformed SQL such as `WHERE id = undefined`.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "34d010936ea88cf1b3d5",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "critical",
      "file": "pnpm-lock.yaml",
      "line": 231,
      "description": "The lockfile resolves `lodash@4.18.1`, a version that has never been published to the official npm registry (the highest legitimate lodash 4.x release is 4.17.21). The listed integrity hash does not correspond to any known lodash release. This strongly indicates a tampered lockfile, a dependency-confusion/supply-chain substitution attack, or a malicious package introduced as a transitive dependency of knex.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "The lockfile resolves `lodash@4.18.1`, a version that has never been published to the official npm registry (the highest legitimate lodash 4.x release is 4.17.21). The listed integrity hash does not correspond to any known lodash release. This strongly indicates a tampered lockfile, a dependency-confusion/supply-chain substitution attack, or a malicious package introduced as a transitive dependency of knex.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "The lockfile pins lodash@4.18.1, a version that does not exist in the official npm registry (latest 4.x is 4.17.21). The recorded integrity hash does not match any legitimate lodash release. This is consistent with a supply-chain attack where a malicious or tampered package has been injected as a transitive dependency via knex.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "The lockfile resolves `lodash@4.18.1`, a version that does not exist in the public npm registry (latest official is 4.17.21), with an integrity hash that differs from the canonical lodash package. This is a strong indicator of a dependency confusion or supply-chain substitution attack.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "abc72364975e61d0fbd5",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "app.js",
      "line": 8,
      "description": "Hardcoded password used in password.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-creds-2",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Hardcoded password used in password.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "569d9fd767f5caed28da",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 13,
      "description": "X-Powered-By header exposes information about the used framework to potential attackers",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-2",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "X-Powered-By header exposes information about the used framework to potential attackers",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "82b8f0190db147f3cacd",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "sql-injection",
      "severity": "high",
      "file": "app.js",
      "line": 28,
      "description": "Unsanitized input from an HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-sql-injection-2",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized input from an HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "23fffb27ce6e44ac01bc",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 15,
      "description": "The GET /users endpoint has no rate limiting or request throttling, making it vulnerable to denial-of-service attacks and brute-force enumeration of database records.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The GET /users endpoint has no rate limiting or request throttling, making it vulnerable to denial-of-service attacks and brute-force enumeration of database records.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The GET /users endpoint has no rate limiting, authentication, or request throttling. An unauthenticated attacker can send unlimited requests to enumerate user records or exhaust database connection pool resources.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "555888d6387c567c90b9",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "improper-type-validation",
      "severity": "medium",
      "file": "app.js",
      "line": 16,
      "description": "`req.query.id` is used without any type checking or format validation. The value is not verified to be a valid integer (or other expected type) before being passed to the SQL query, making it trivial for attackers to supply arbitrary strings or payloads.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "`req.query.id` is used without any type checking or format validation. The value is not verified to be a valid integer (or other expected type) before being passed to the SQL query, making it trivial for attackers to supply arbitrary strings or payloads.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "f6e5c4b9bb49edb4c69b",
      "projectId": "js-project-shadowfox-find-vulns",
      "projectName": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "high",
      "file": "pnpm-lock.yaml",
      "line": 231,
      "description": "The lockfile pins lodash@4.18.1, a version that does not exist in the official npm registry (latest legitimate release is 4.17.21). This strongly indicates a supply-chain/dependency confusion attack or a tampered lockfile containing a malicious package.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The lockfile pins lodash@4.18.1, a version that does not exist in the official npm registry (latest legitimate release is 4.17.21). This strongly indicates a supply-chain/dependency confusion attack or a tampered lockfile containing a malicious package.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "5538f892ead0eff6308b",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "open-redirect",
      "severity": "medium",
      "file": "app.js",
      "line": 18,
      "description": "A user-controlled query parameter is passed directly to res.redirect.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-open-redirect-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "A user-controlled query parameter is passed directly to res.redirect.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "463fa05406dcbc9f211f",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "open-redirect",
      "severity": "medium",
      "file": "app.js",
      "line": 21,
      "description": "A route parameter is used to build a protocol-relative redirect URL.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-open-redirect-2",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "A route parameter is used to build a protocol-relative redirect URL.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "b8f699ec5640f3361f56",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "origin-validation-error",
      "severity": "medium",
      "file": "app.js",
      "line": 10,
      "description": "The service reflects request origin data into Access-Control-Allow-Origin while allowing credentials.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-cors-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The service reflects request origin data into Access-Control-Allow-Origin while allowing credentials.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "7d09495c48a53ca1ac46",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "open-redirect",
      "severity": "medium",
      "file": "app.js",
      "line": 18,
      "description": "A user-controlled query parameter is passed directly to res.redirect.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-open-redirect-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "A user-controlled query parameter is passed directly to res.redirect.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "eecd9525d1d01bf29579",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "open-redirect",
      "severity": "medium",
      "file": "app.js",
      "line": 21,
      "description": "A route parameter is used to build a protocol-relative redirect URL.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-open-redirect-2",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "A route parameter is used to build a protocol-relative redirect URL.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "f931bc05d7a42ef77756",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "origin-validation-error",
      "severity": "medium",
      "file": "app.js",
      "line": 10,
      "description": "The service reflects request origin data into Access-Control-Allow-Origin while allowing credentials.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-cors-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The service reflects request origin data into Access-Control-Allow-Origin while allowing credentials.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "7653e0e000e800a819d0",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "open-redirect",
      "severity": "medium",
      "file": "app.js",
      "line": 18,
      "description": "A user-controlled query parameter is passed directly to res.redirect.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-open-redirect-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "A user-controlled query parameter is passed directly to res.redirect.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "dfbba28b41d05ded4f79",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "open-redirect",
      "severity": "medium",
      "file": "app.js",
      "line": 21,
      "description": "A route parameter is used to build a protocol-relative redirect URL.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-open-redirect-2",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "A route parameter is used to build a protocol-relative redirect URL.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "d63d1dcd977b39059341",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "origin-validation-error",
      "severity": "medium",
      "file": "app.js",
      "line": 10,
      "description": "The service reflects request origin data into Access-Control-Allow-Origin while allowing credentials.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-cors-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The service reflects request origin data into Access-Control-Allow-Origin while allowing credentials.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "12ecf97a84fa98f1635a",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "csrf",
      "severity": "medium",
      "file": "app.js",
      "line": 11,
      "description": "Access-Control-Allow-Credentials is enabled together with a reflected/wildcard-like Access-Control-Allow-Origin, enabling cross-site authenticated requests against this service with no CSRF protections in place.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Access-Control-Allow-Credentials is enabled together with a reflected/wildcard-like Access-Control-Allow-Origin, enabling cross-site authenticated requests against this service with no CSRF protections in place.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Access-Control-Allow-Credentials is set to true in combination with origin reflection, enabling cross-origin credentialed requests from any site and increasing CSRF/exposure risk for any authenticated routes hosted on this service.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "By reflecting arbitrary origins and allowing credentials, the server enables cross-site requests from any origin with cookies attached, exposing endpoints to CSRF-style attacks from any web site.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Enabling `Access-Control-Allow-Credentials: true` combined with reflected origin removes a key CSRF protection by allowing cross-site authenticated requests with cookies from any origin to read responses.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "Setting Access-Control-Allow-Credentials: true together with a reflected origin permits credentialed cross-origin requests from any site, undermining the browser's same-origin protections against CSRF.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "1dbe54e45f311bfbfb66",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "insecure-transport",
      "severity": "medium",
      "file": "app.js",
      "line": 5,
      "description": "The handoff service is created with a plaintext HTTP server.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-insecure-transport-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The handoff service is created with a plaintext HTTP server.",
          "occurrences": 3
        }
      ],
      "occurrences": 3
    },
    {
      "id": "88779a9f7315e7f3604b",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "open-redirect",
      "severity": "medium",
      "file": "app.js",
      "line": 18,
      "description": "A user-controlled query parameter is passed directly to res.redirect.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-open-redirect-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "A user-controlled query parameter is passed directly to res.redirect.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "e865f72e96395c1c3d13",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "open-redirect",
      "severity": "medium",
      "file": "app.js",
      "line": 21,
      "description": "A route parameter is used to build a protocol-relative redirect URL.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-open-redirect-2",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "A route parameter is used to build a protocol-relative redirect URL.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "5c92e342665c1c132e68",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "origin-validation-error",
      "severity": "medium",
      "file": "app.js",
      "line": 10,
      "description": "The service reflects request origin data into Access-Control-Allow-Origin while allowing credentials.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-cors-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The service reflects request origin data into Access-Control-Allow-Origin while allowing credentials.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "493e3711ddb5f9eb07a6",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "csrf",
      "severity": "high",
      "file": "app.js",
      "line": 11,
      "description": "Setting Access-Control-Allow-Credentials: true alongside a dynamically reflected (any) Access-Control-Allow-Origin header means cross-site requests can include cookies and HTTP authentication credentials. There is no CSRF token or other same-site request validation, so any origin can perform credentialed state-changing requests on behalf of authenticated users.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Setting Access-Control-Allow-Credentials: true alongside a dynamically reflected (any) Access-Control-Allow-Origin header means cross-site requests can include cookies and HTTP authentication credentials. There is no CSRF token or other same-site request validation, so any origin can perform credentialed state-changing requests on behalf of authenticated users.",
          "occurrences": 1
        },
        {
          "severity": "high",
          "description": "Setting Access-Control-Allow-Credentials: true alongside a wildcard-reflected origin (line 10) means credentialed CORS requests from any origin succeed. There is also no CSRF token or SameSite-cookie enforcement, so cross-origin state-changing requests are not protected.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "1d3288b130105aafa118",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "information-exposure",
      "severity": "low",
      "file": "app.js",
      "line": 25,
      "description": "The /status endpoint returns the internal service name ('silvergate') and its operational status in a JSON response without any authentication. This leaks service fingerprinting information that aids attacker reconnaissance.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "The /status endpoint returns the internal service name ('silvergate') and its operational status in a JSON response without any authentication. This leaks service fingerprinting information that aids attacker reconnaissance.",
          "occurrences": 1
        },
        {
          "severity": "low",
          "description": "The /status endpoint returns the internal service name ('silvergate') and its readiness state in a JSON response with no authentication. This aids attacker reconnaissance and service fingerprinting.",
          "occurrences": 1
        }
      ],
      "occurrences": 2
    },
    {
      "id": "34d708072a6d617f1e87",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "origin-validation-error",
      "severity": "high",
      "file": "app.js",
      "line": 10,
      "description": "The fallback value 'null' for Access-Control-Allow-Origin (when no Origin header is present) is dangerous. Browsers assign a null origin to sandboxed iframes (e.g., <iframe sandbox=\"allow-scripts\" src=\"data:...\">) and local files. Combined with Access-Control-Allow-Credentials: true, this allows an attacker page to craft a sandboxed iframe that makes credentialed cross-origin requests which bypass CORS checks.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The fallback value 'null' for Access-Control-Allow-Origin (when no Origin header is present) is dangerous. Browsers assign a null origin to sandboxed iframes (e.g., <iframe sandbox=\"allow-scripts\" src=\"data:...\">) and local files. Combined with Access-Control-Allow-Credentials: true, this allows an attacker page to craft a sandboxed iframe that makes credentialed cross-origin requests which bypass CORS checks.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "87cc4df14c6b4620161a",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "insecure-transport",
      "severity": "medium",
      "file": "app.js",
      "line": 5,
      "description": "The handoff service is created with a plaintext HTTP server.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-insecure-transport-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The handoff service is created with a plaintext HTTP server.",
          "occurrences": 3
        }
      ],
      "occurrences": 3
    },
    {
      "id": "b97c2b31d1784d1b51d0",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "open-redirect",
      "severity": "medium",
      "file": "app.js",
      "line": 18,
      "description": "A user-controlled query parameter is passed directly to res.redirect.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-open-redirect-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "A user-controlled query parameter is passed directly to res.redirect.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "1a792591da63757307ad",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "open-redirect",
      "severity": "medium",
      "file": "app.js",
      "line": 21,
      "description": "A route parameter is used to build a protocol-relative redirect URL.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-open-redirect-2",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "A route parameter is used to build a protocol-relative redirect URL.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "f9a707ccb5a2b6a319fd",
      "projectId": "js-project-silvergate-find-vulns",
      "projectName": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "origin-validation-error",
      "severity": "medium",
      "file": "app.js",
      "line": 10,
      "description": "The service reflects request origin data into Access-Control-Allow-Origin while allowing credentials.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsg-cors-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The service reflects request origin data into Access-Control-Allow-Origin while allowing credentials.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "1c26720228dc4188867a",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "redos",
      "severity": "high",
      "file": "app.js",
      "line": 15,
      "description": "A nested quantified regular expression is evaluated against user-controlled shelf code input.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsk-redos-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "A nested quantified regular expression is evaluated against user-controlled shelf code input.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "2fe7133f374d3883879d",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "redos",
      "severity": "high",
      "file": "app.js",
      "line": 16,
      "description": "A dynamically constructed nested quantified regular expression is evaluated against user-controlled shelf code input.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsk-redos-2",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "A dynamically constructed nested quantified regular expression is evaluated against user-controlled shelf code input.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "66254a31fa635da5e7f5",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "xss",
      "severity": "high",
      "file": "public/dashboard.js",
      "line": 8,
      "description": "A URL search parameter is assigned to a dynamically-created script element source.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsk-dom-xss-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "A URL search parameter is assigned to a dynamically-created script element source.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "c632c29b51f654a3e3f5",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "redos",
      "severity": "high",
      "file": "app.js",
      "line": 15,
      "description": "A nested quantified regular expression is evaluated against user-controlled shelf code input.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsk-redos-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "A nested quantified regular expression is evaluated against user-controlled shelf code input.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "da0b932d2d9c5132d683",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "redos",
      "severity": "high",
      "file": "app.js",
      "line": 16,
      "description": "A dynamically constructed nested quantified regular expression is evaluated against user-controlled shelf code input.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsk-redos-2",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "A dynamically constructed nested quantified regular expression is evaluated against user-controlled shelf code input.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "ff00c000b07e7ce4f0b3",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "xss",
      "severity": "high",
      "file": "public/dashboard.js",
      "line": 8,
      "description": "A URL search parameter is assigned to a dynamically-created script element source.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsk-dom-xss-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "A URL search parameter is assigned to a dynamically-created script element source.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "2786c544edf867f57292",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "redos",
      "severity": "high",
      "file": "app.js",
      "line": 15,
      "description": "A nested quantified regular expression is evaluated against user-controlled shelf code input.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsk-redos-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "A nested quantified regular expression is evaluated against user-controlled shelf code input.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "4fa1a6087c2274cb9b3c",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "redos",
      "severity": "high",
      "file": "app.js",
      "line": 16,
      "description": "A dynamically constructed nested quantified regular expression is evaluated against user-controlled shelf code input.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsk-redos-2",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "A dynamically constructed nested quantified regular expression is evaluated against user-controlled shelf code input.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "0f864731d80b217f8d0e",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "xss",
      "severity": "high",
      "file": "public/dashboard.js",
      "line": 8,
      "description": "A URL search parameter is assigned to a dynamically-created script element source.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsk-dom-xss-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "A URL search parameter is assigned to a dynamically-created script element source.",
          "occurrences": 2
        }
      ],
      "occurrences": 2
    },
    {
      "id": "ecd495e15f5a3283cce2",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 10,
      "description": "The `code` query parameter is read with no length validation and the endpoint has no rate limiting, allowing unbounded input sizes which amplify the ReDoS issue and enable denial-of-service.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The `code` query parameter is read with no length validation and the endpoint has no rate limiting, allowing unbounded input sizes which amplify the ReDoS issue and enable denial-of-service.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "dc3ef17ca9a4360dd2b0",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "code-injection",
      "severity": "critical",
      "file": "dashboard.js",
      "line": 8,
      "description": "DOM-based script injection / XSS: the `widget` query parameter from window.location.search is assigned directly to a dynamically created <script>'s src attribute and appended to document.head. An attacker can craft a URL like /?widget=https://attacker.example/evil.js to load and execute arbitrary JavaScript in the application's origin.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "DOM-based script injection / XSS: the `widget` query parameter from window.location.search is assigned directly to a dynamically created <script>'s src attribute and appended to document.head. An attacker can craft a URL like /?widget=https://attacker.example/evil.js to load and execute arbitrary JavaScript in the application's origin.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "loadDashboardWidget() reads the 'widget' URL query parameter and assigns it directly to script.src, then appends the element to document.head. An attacker can craft a link such as /?widget=https://evil.tld/x.js to load arbitrary remote JavaScript into the application origin, achieving DOM-based XSS / remote script inclusion with full access to the page (cookies, DOM, user actions).",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The 'widget' query string parameter is assigned directly to script.src and appended to document.head, allowing an attacker to load arbitrary remote JavaScript via a crafted URL (DOM-based XSS / script injection).",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The 'widget' query string parameter is taken from window.location.search and assigned directly to a dynamically created <script> element's src, then appended to document.head. An attacker can craft a URL like ?widget=https://evil.com/x.js to execute arbitrary JavaScript in the victim's browser (DOM-based script injection / XSS).",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The 'widget' value is read from window.location.search and assigned directly to script.src, then appended to document.head. An attacker who can get a victim to visit a crafted URL (e.g. ?widget=https://evil.example/x.js) can load and execute arbitrary JavaScript in the application's origin, leading to full client-side compromise (DOM-based remote script inclusion / XSS).",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "ecc7ef771338fe51eac7",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "redos",
      "severity": "high",
      "file": "app.js",
      "line": 15,
      "description": "A nested quantified regular expression is evaluated against user-controlled shelf code input.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsk-redos-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "A nested quantified regular expression is evaluated against user-controlled shelf code input.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "eda9ae87b7c01cf7c2d6",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "redos",
      "severity": "high",
      "file": "app.js",
      "line": 16,
      "description": "A dynamically constructed nested quantified regular expression is evaluated against user-controlled shelf code input.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsk-redos-2",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "A dynamically constructed nested quantified regular expression is evaluated against user-controlled shelf code input.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "ee311c526498414380ba",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "xss",
      "severity": "high",
      "file": "public/dashboard.js",
      "line": 8,
      "description": "A URL search parameter is assigned to a dynamically-created script element source.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsk-dom-xss-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "A URL search parameter is assigned to a dynamically-created script element source.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "314ddf8ddd78fefe9046",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 9,
      "description": "The /shelves/validate endpoint applies no rate limiting or request throttling, making it trivial for an attacker to amplify the ReDoS impact by flooding the server with malicious requests.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The /shelves/validate endpoint applies no rate limiting or request throttling, making it trivial for an attacker to amplify the ReDoS impact by flooding the server with malicious requests.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The /shelves/validate endpoint has no rate limiting, request throttling, or input length validation. This amplifies the ReDoS vulnerability (a single HTTP request with a crafted payload can saturate the CPU) and independently allows resource exhaustion through high-volume request flooding.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The /shelves/validate endpoint imposes no rate limiting and no maximum length restriction on the user-supplied 'code' query parameter. Combined with the ReDoS-vulnerable regexes, an attacker can repeatedly submit large crafted inputs to sustain a denial-of-service condition.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "509378446f32b1ad1621",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 10,
      "description": "The `code` query parameter is accepted without any length restriction (`String(req.query.code || \"\")`), and the `/shelves/validate` endpoint has no rate-limiting middleware. This amplifies the ReDoS vulnerability: attackers can submit arbitrarily long inputs at high frequency, causing sustained CPU exhaustion on the single-threaded Node.js server.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The `code` query parameter is accepted without any length restriction (`String(req.query.code || \"\")`), and the `/shelves/validate` endpoint has no rate-limiting middleware. This amplifies the ReDoS vulnerability: attackers can submit arbitrarily long inputs at high frequency, causing sustained CPU exhaustion on the single-threaded Node.js server.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "6adbb2eaf2035a10ac91",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "redos",
      "severity": "high",
      "file": "app.js",
      "line": 15,
      "description": "A nested quantified regular expression is evaluated against user-controlled shelf code input.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsk-redos-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "A nested quantified regular expression is evaluated against user-controlled shelf code input.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "b7b33946dd5d1a5ec0ef",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "redos",
      "severity": "high",
      "file": "app.js",
      "line": 16,
      "description": "A dynamically constructed nested quantified regular expression is evaluated against user-controlled shelf code input.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsk-redos-2",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "A dynamically constructed nested quantified regular expression is evaluated against user-controlled shelf code input.",
          "occurrences": 4
        }
      ],
      "occurrences": 4
    },
    {
      "id": "2ab4a3f9780262365691",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "xss",
      "severity": "high",
      "file": "public/dashboard.js",
      "line": 8,
      "description": "A URL search parameter is assigned to a dynamically-created script element source.",
      "totalRepetitions": 5,
      "referenceFindingId": "jsk-dom-xss-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "A URL search parameter is assigned to a dynamically-created script element source.",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "30d7892c66300ade27be",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "high",
      "file": "app.js",
      "line": 9,
      "description": "The /shelves/validate endpoint applies no rate limiting, request-size caps, or regex-execution timeouts. An unauthenticated attacker can flood the endpoint with ReDoS payloads, starving the event loop and taking the service offline.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The /shelves/validate endpoint applies no rate limiting, request-size caps, or regex-execution timeouts. An unauthenticated attacker can flood the endpoint with ReDoS payloads, starving the event loop and taking the service offline.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The /shelves/validate endpoint has no rate limiting, request size limit, or timeout. This amplifies the ReDoS risk: an attacker can flood the endpoint with malicious inputs to sustain a Denial of Service with minimal effort.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The /shelves/validate endpoint performs no rate limiting, has no input length cap, and applies two vulnerable regexes against arbitrary user-controlled input. There is nothing preventing an attacker from flooding the server with crafted ReDoS payloads repeatedly.",
          "occurrences": 1
        }
      ],
      "occurrences": 3
    },
    {
      "id": "93668c5c8834d95c0f0d",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "information-exposure",
      "severity": "low",
      "file": "index.html",
      "line": null,
      "description": "No Content-Security-Policy header or meta tag is present. This means there is no browser-enforced restriction on script sources, making the DOM-based XSS in dashboard.js trivially exploitable and preventing any defense-in-depth against script injection attacks.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "No Content-Security-Policy header or meta tag is present. This means there is no browser-enforced restriction on script sources, making the DOM-based XSS in dashboard.js trivially exploitable and preventing any defense-in-depth against script injection attacks.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "e323b949015e8d8b593a",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "information-exposure",
      "severity": "low",
      "file": "index.html",
      "line": 1,
      "description": "No Content-Security-Policy is configured (neither via HTTP header nor <meta> tag), so there is no browser-enforced restriction that would block or mitigate the DOM XSS script injection in dashboard.js. A CSP with a strict script-src directive would provide an important defence-in-depth layer.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "low",
          "description": "No Content-Security-Policy is configured (neither via HTTP header nor <meta> tag), so there is no browser-enforced restriction that would block or mitigate the DOM XSS script injection in dashboard.js. A CSP with a strict script-src directive would provide an important defence-in-depth layer.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "1e194b87df5538551155",
      "projectId": "js-project-skylark-find-vulns",
      "projectName": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "other",
      "severity": "medium",
      "file": "index.html",
      "line": null,
      "description": "No Content-Security-Policy (CSP) header is set anywhere in the application. The absence of a CSP makes the arbitrary script-src injection in dashboard.js trivially exploitable, as browsers will load scripts from any origin without restriction.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "No Content-Security-Policy (CSP) header is set anywhere in the application. The absence of a CSP makes the arbitrary script-src injection in dashboard.js trivially exploitable, as browsers will load scripts from any origin without restriction.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "3cf6f99b4f161b1dc06a",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "command-injection",
      "severity": "critical",
      "file": "app.js",
      "line": 45,
      "description": "User-controlled req.query.host concatenated into shell command passed to exec()",
      "totalRepetitions": 5,
      "referenceFindingId": "js-cmd-injection-1",
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "User-controlled req.query.host concatenated into shell command passed to exec()",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "762d0bd07c9b1438fb73",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "app.js",
      "line": 9,
      "description": "Hardcoded database password in DB_CONFIG object",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-creds-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Hardcoded database password in DB_CONFIG object",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "69802ae581468a188660",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "path-traversal",
      "severity": "high",
      "file": "app.js",
      "line": 37,
      "description": "User-controlled req.query.filename appended to base path without normalization",
      "totalRepetitions": 5,
      "referenceFindingId": "js-path-traversal-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "User-controlled req.query.filename appended to base path without normalization",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "d1be2e95f9b0bb9a8543",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "xss",
      "severity": "high",
      "file": "app.js",
      "line": 31,
      "description": "Unsanitized req.query.name interpolated directly into HTML response",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xss-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized req.query.name interpolated directly into HTML response",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "871ce7a8e323e02645f2",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "sql-injection",
      "severity": "critical",
      "file": "app.js",
      "line": 24,
      "description": "User-supplied 'username' query parameter is directly concatenated into a SQL query string without parameterization or sanitization, allowing SQL injection attacks.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "User-supplied 'username' query parameter is directly concatenated into a SQL query string without parameterization or sanitization, allowing SQL injection attacks.",
          "occurrences": 2
        },
        {
          "severity": "critical",
          "description": "User input (req.query.username) is directly concatenated into an SQL query string without parameterization or sanitization, allowing SQL injection attacks.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "User input from req.query.username is directly concatenated into a SQL query string without parameterization or sanitization, allowing SQL injection attacks.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "User-supplied 'username' query parameter is directly concatenated into a SQL query string without parameterization or sanitization, allowing arbitrary SQL injection.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "efb9e05fa1d231fe02ff",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-6-high",
      "configurationName": "Claude Opus 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "xss",
      "severity": "medium",
      "file": "app.js",
      "line": 47,
      "description": "Output from the exec command is embedded directly in HTML <pre> tags without escaping, which could allow XSS if the command output contains HTML/script content.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Output from the exec command is embedded directly in HTML <pre> tags without escaping, which could allow XSS if the command output contains HTML/script content.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The raw stdout from the exec command is embedded directly into an HTML <pre> tag without output encoding, which could lead to cross-site scripting if the output contains HTML/script content.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The raw stdout from the ping command is embedded directly into an HTML <pre> tag without sanitization, enabling reflected XSS through crafted input that appears in command output.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The raw stdout output from the ping command is embedded directly into an HTML <pre> tag without escaping, creating a secondary XSS vector if the output contains attacker-influenced content.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The stdout from the exec command is rendered as raw HTML inside <pre> tags without escaping, allowing XSS if the output contains HTML/script content.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "784c5ac40dcc744626f5",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "command-injection",
      "severity": "critical",
      "file": "app.js",
      "line": 45,
      "description": "User-controlled req.query.host concatenated into shell command passed to exec()",
      "totalRepetitions": 5,
      "referenceFindingId": "js-cmd-injection-1",
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "User-controlled req.query.host concatenated into shell command passed to exec()",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "5d35ccc18c879ed9d34c",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "app.js",
      "line": 9,
      "description": "Hardcoded database password in DB_CONFIG object",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-creds-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Hardcoded database password in DB_CONFIG object",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "37205501df7bbd6ec2c5",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "path-traversal",
      "severity": "high",
      "file": "app.js",
      "line": 37,
      "description": "User-controlled req.query.filename appended to base path without normalization",
      "totalRepetitions": 5,
      "referenceFindingId": "js-path-traversal-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "User-controlled req.query.filename appended to base path without normalization",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "237e205893a791c3e50a",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "xss",
      "severity": "high",
      "file": "app.js",
      "line": 31,
      "description": "Unsanitized req.query.name interpolated directly into HTML response",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xss-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized req.query.name interpolated directly into HTML response",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "34b29b863f1dfd917a38",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "sql-injection",
      "severity": "critical",
      "file": "app.js",
      "line": 24,
      "description": "User-supplied 'username' query parameter is directly concatenated into a SQL query string without sanitization or parameterized queries, allowing SQL injection.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "User-supplied 'username' query parameter is directly concatenated into a SQL query string without sanitization or parameterized queries, allowing SQL injection.",
          "occurrences": 3
        },
        {
          "severity": "critical",
          "description": "User-supplied 'username' query parameter is directly concatenated into a SQL query string without sanitization or parameterization, allowing SQL injection attacks.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "User-supplied 'username' query parameter is directly concatenated into a SQL query string without sanitization or parameterization, allowing SQL injection.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "a9aeb6605307103eda60",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-6-medium",
      "configurationName": "Claude Opus 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "xss",
      "severity": "medium",
      "file": "app.js",
      "line": 47,
      "description": "Output of the ping command (which includes user-controlled 'host' input) is rendered in HTML inside a <pre> tag without escaping, enabling reflected XSS.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Output of the ping command (which includes user-controlled 'host' input) is rendered in HTML inside a <pre> tag without escaping, enabling reflected XSS.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The stdout from the ping command (which includes the user-controlled host parameter) is interpolated into HTML without escaping, enabling stored/reflected XSS via command output.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The stdout from the ping command is interpolated directly into an HTML <pre> tag without escaping, allowing XSS if an attacker can influence the command output.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The stdout from the ping command is interpolated into an HTML <pre> tag without escaping. If an attacker controls part of the ping output, this could lead to XSS.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The stdout from the ping command is rendered directly into an HTML <pre> tag without escaping, which could allow XSS if an attacker controls part of the output.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "626e44617f5ebf52fe08",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "command-injection",
      "severity": "critical",
      "file": "app.js",
      "line": 45,
      "description": "User-controlled req.query.host concatenated into shell command passed to exec()",
      "totalRepetitions": 5,
      "referenceFindingId": "js-cmd-injection-1",
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "User-controlled req.query.host concatenated into shell command passed to exec()",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "a628f615aa3e47171158",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "app.js",
      "line": 9,
      "description": "Hardcoded database password in DB_CONFIG object",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-creds-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Hardcoded database password in DB_CONFIG object",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "15c9518f2e1d0da845de",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 13,
      "description": "X-Powered-By header exposes information about the used framework to potential attackers",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "X-Powered-By header exposes information about the used framework to potential attackers",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "58885bb37c1e19389dd9",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "path-traversal",
      "severity": "high",
      "file": "app.js",
      "line": 37,
      "description": "User-controlled req.query.filename appended to base path without normalization",
      "totalRepetitions": 5,
      "referenceFindingId": "js-path-traversal-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "User-controlled req.query.filename appended to base path without normalization",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "d715287bd81ca16cb223",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "matched",
      "vulnerabilityClass": "xss",
      "severity": "high",
      "file": "app.js",
      "line": 31,
      "description": "Unsanitized req.query.name interpolated directly into HTML response",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xss-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized req.query.name interpolated directly into HTML response",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "933d81615991ab18da84",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "insecure-transport",
      "severity": "medium",
      "file": "app.js",
      "line": 56,
      "description": "Server listens over plain HTTP without TLS, exposing all traffic (including any credentials/session data) to interception.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Server listens over plain HTTP without TLS, exposing all traffic (including any credentials/session data) to interception.",
          "occurrences": 1
        }
      ],
      "occurrences": 1
    },
    {
      "id": "9bd16b77e7bc0919934f",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "sql-injection",
      "severity": "critical",
      "file": "app.js",
      "line": 24,
      "description": "SQL injection in /users endpoint: req.query.username is concatenated directly into SQL string without parameterization or sanitization.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "SQL injection in /users endpoint: req.query.username is concatenated directly into SQL string without parameterization or sanitization.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The /users endpoint builds a SQL query by string-concatenating the unsanitized 'username' query parameter, allowing attackers to inject arbitrary SQL.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The /users endpoint concatenates the 'username' query parameter directly into a SQL string, allowing arbitrary SQL injection. Use parameterized queries instead.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The /users endpoint concatenates the unsanitized 'username' query parameter directly into a SQL string, allowing SQL injection attacks.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The /users endpoint concatenates the user-controlled 'username' query parameter directly into a SQL string with no parameterization or escaping, allowing arbitrary SQL injection.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "4b9605ddf4da1f51ff27",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "opus-4-7-max",
      "configurationName": "Claude Opus 4.7 Max",
      "status": "unmatched",
      "vulnerabilityClass": "xss",
      "severity": "medium",
      "file": "app.js",
      "line": 47,
      "description": "Command stdout (influenced by user input) is reflected into HTML via <pre>${stdout}</pre> without escaping, enabling XSS in addition to the command injection.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Command stdout (influenced by user input) is reflected into HTML via <pre>${stdout}</pre> without escaping, enabling XSS in addition to the command injection.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The /ping endpoint embeds command stdout into an HTML <pre> response without escaping; attacker-controlled host arguments (e.g., crafted hostnames) could lead to reflected XSS in the rendered output.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The /ping endpoint embeds raw stdout from exec into an HTML <pre> block without escaping; combined with the attacker-controlled host parameter (echoed in ping output), this enables reflected XSS.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The /ping endpoint inserts unescaped command output (stdout, which can be influenced by attacker-controlled 'host') into an HTML <pre> response, allowing reflected XSS.",
          "occurrences": 1
        }
      ],
      "occurrences": 4
    },
    {
      "id": "0e4a645a83c2b7b8ea4d",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 34,
      "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-allocation-of-resources-without-limits-or-throttling-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
          "occurrences": 2
        }
      ],
      "occurrences": 2
    },
    {
      "id": "a09f9476f4dc91238112",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "command-injection",
      "severity": "critical",
      "file": "app.js",
      "line": 45,
      "description": "User-controlled req.query.host concatenated into shell command passed to exec()",
      "totalRepetitions": 5,
      "referenceFindingId": "js-cmd-injection-1",
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "User-controlled req.query.host concatenated into shell command passed to exec()",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "cf42a9dc98dcfe021701",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "app.js",
      "line": 9,
      "description": "Hardcoded database password in DB_CONFIG object",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-creds-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Hardcoded database password in DB_CONFIG object",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "a7746cf92c649d2e8fbf",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 13,
      "description": "X-Powered-By header exposes information about the used framework to potential attackers",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "X-Powered-By header exposes information about the used framework to potential attackers",
          "occurrences": 2
        }
      ],
      "occurrences": 2
    },
    {
      "id": "44f87779c9d11051a2fa",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "path-traversal",
      "severity": "high",
      "file": "app.js",
      "line": 37,
      "description": "User-controlled req.query.filename appended to base path without normalization",
      "totalRepetitions": 5,
      "referenceFindingId": "js-path-traversal-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "User-controlled req.query.filename appended to base path without normalization",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "b3be5a8d4b7a8a0b6d0e",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "matched",
      "vulnerabilityClass": "xss",
      "severity": "high",
      "file": "app.js",
      "line": 31,
      "description": "Unsanitized req.query.name interpolated directly into HTML response",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xss-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized req.query.name interpolated directly into HTML response",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "9a80543460bc56c33d61",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "sql-injection",
      "severity": "critical",
      "file": "app.js",
      "line": 24,
      "description": "The 'username' query parameter is concatenated directly into a SQL string without parameterization or escaping: \"SELECT * FROM users WHERE username = '\" + username + \"'\". An attacker can inject arbitrary SQL (e.g., ' OR '1'='1) to bypass authentication or exfiltrate data.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "The 'username' query parameter is concatenated directly into a SQL string without parameterization or escaping: \"SELECT * FROM users WHERE username = '\" + username + \"'\". An attacker can inject arbitrary SQL (e.g., ' OR '1'='1) to bypass authentication or exfiltrate data.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The /users endpoint builds a SQL query by directly concatenating unsanitized user input (req.query.username) into the query string. An attacker can manipulate the SQL query to dump, modify, or delete database data.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The /users endpoint concatenates unsanitized req.query.username directly into a SQL query string. An attacker can manipulate the query to bypass authentication, dump data, or destroy the database.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The /users endpoint constructs a SQL query by direct string concatenation of the unsanitized 'username' query parameter. An attacker can inject arbitrary SQL to read, modify, or delete database data.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "User-supplied query parameter 'username' is directly concatenated into a raw SQL string without sanitization or parameterized queries. An attacker can inject arbitrary SQL (e.g., ' OR '1'='1) to bypass logic, dump data, or destroy the database.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "44da3f7be31b7daf08fe",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-high",
      "configurationName": "Claude Sonnet 4.6 High",
      "status": "unmatched",
      "vulnerabilityClass": "xss",
      "severity": "high",
      "file": "app.js",
      "line": 47,
      "description": "The stdout output from the exec() call is embedded into an HTML <pre> block and sent to the client without HTML escaping. Combined with the command injection on line 45, an attacker can inject commands that produce output containing malicious HTML/JavaScript tags, resulting in stored or reflected XSS.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "high",
          "description": "The stdout output from the exec() call is embedded into an HTML <pre> block and sent to the client without HTML escaping. Combined with the command injection on line 45, an attacker can inject commands that produce output containing malicious HTML/JavaScript tags, resulting in stored or reflected XSS.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The /ping endpoint embeds raw shell stdout directly into an HTML <pre> block without HTML-escaping. Attacker-influenced command output can inject scripts into the response.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The raw stdout of the shell command in the /ping endpoint is interpolated into an HTML <pre> block without HTML-encoding. Because ping output echoes back the attacker-controlled hostname, this enables reflected XSS even absent full command injection.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The stdout of the ping command is embedded directly into an HTML response without sanitization. Because the attacker controls the command input, they can craft output containing HTML/JavaScript that gets rendered in the victim's browser.",
          "occurrences": 1
        }
      ],
      "occurrences": 4
    },
    {
      "id": "dbba2ee2b39d7cbce0a4",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "allocation-of-resources-without-limits-or-throttling",
      "severity": "medium",
      "file": "app.js",
      "line": 34,
      "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
      "totalRepetitions": 5,
      "referenceFindingId": "js-allocation-of-resources-without-limits-or-throttling-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit.",
          "occurrences": 2
        }
      ],
      "occurrences": 2
    },
    {
      "id": "b231a5eebb50348dca3f",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "command-injection",
      "severity": "critical",
      "file": "app.js",
      "line": 45,
      "description": "User-controlled req.query.host concatenated into shell command passed to exec()",
      "totalRepetitions": 5,
      "referenceFindingId": "js-cmd-injection-1",
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "User-controlled req.query.host concatenated into shell command passed to exec()",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "f436dc505705818d6f19",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "hardcoded-credentials",
      "severity": "high",
      "file": "app.js",
      "line": 9,
      "description": "Hardcoded database password in DB_CONFIG object",
      "totalRepetitions": 5,
      "referenceFindingId": "js-hardcoded-creds-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Hardcoded database password in DB_CONFIG object",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "2ab77f3ebab7fe9e5147",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "information-exposure",
      "severity": "medium",
      "file": "app.js",
      "line": 13,
      "description": "X-Powered-By header exposes information about the used framework to potential attackers",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xpowered-by-header-1",
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "X-Powered-By header exposes information about the used framework to potential attackers",
          "occurrences": 2
        }
      ],
      "occurrences": 2
    },
    {
      "id": "e010b8860456bb4f0e9b",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "path-traversal",
      "severity": "high",
      "file": "app.js",
      "line": 37,
      "description": "User-controlled req.query.filename appended to base path without normalization",
      "totalRepetitions": 5,
      "referenceFindingId": "js-path-traversal-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "User-controlled req.query.filename appended to base path without normalization",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "e74453b7cf3f4783353e",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "matched",
      "vulnerabilityClass": "xss",
      "severity": "high",
      "file": "app.js",
      "line": 31,
      "description": "Unsanitized req.query.name interpolated directly into HTML response",
      "totalRepetitions": 5,
      "referenceFindingId": "js-xss-1",
      "metadataVariants": [
        {
          "severity": "high",
          "description": "Unsanitized req.query.name interpolated directly into HTML response",
          "occurrences": 5
        }
      ],
      "occurrences": 5
    },
    {
      "id": "5b7e87ca058a5e54a7f5",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "sql-injection",
      "severity": "critical",
      "file": "app.js",
      "line": 24,
      "description": "The 'username' query parameter is concatenated directly into a raw SQL string without parameterization or escaping. An attacker can manipulate the query to dump, modify, or delete data (e.g., username=' OR '1'='1).",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "critical",
          "description": "The 'username' query parameter is concatenated directly into a raw SQL string without parameterization or escaping. An attacker can manipulate the query to dump, modify, or delete data (e.g., username=' OR '1'='1).",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The /users endpoint builds a SQL query by directly concatenating unsanitized user input (req.query.username) into the query string. An attacker can manipulate the query to dump, modify, or delete data.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The /users endpoint builds a SQL query by directly concatenating unsanitized user input (req.query.username) using string concatenation: \"SELECT * FROM users WHERE username = '\" + username + \"'\". An attacker can inject arbitrary SQL (e.g., ' OR '1'='1 --) to dump, modify, or delete database contents.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "The /users endpoint concatenates the unsanitized query parameter 'username' directly into a SQL string (\"SELECT * FROM users WHERE username = '\" + username + \"'\"). An attacker can inject arbitrary SQL (e.g. ' OR '1'='1) to bypass authentication, dump data, or modify the database.",
          "occurrences": 1
        },
        {
          "severity": "critical",
          "description": "User-supplied query parameter 'username' is concatenated directly into the SQL query string without sanitization or parameterized queries, allowing an attacker to manipulate the SQL statement arbitrarily.",
          "occurrences": 1
        }
      ],
      "occurrences": 5
    },
    {
      "id": "223464f67bee736a5372",
      "projectId": "js-project-tigerteam-find-vulns",
      "projectName": "JS App: Find Vulnerabilities 1",
      "configurationId": "sonnet-4-6-medium",
      "configurationName": "Claude Sonnet 4.6 Medium",
      "status": "unmatched",
      "vulnerabilityClass": "xss",
      "severity": "medium",
      "file": "app.js",
      "line": 47,
      "description": "The /ping endpoint injects raw command stdout directly into an HTML response inside a <pre> tag without HTML-encoding. If the output or a crafted error message contains HTML/script content, it can result in XSS.",
      "totalRepetitions": 5,
      "referenceFindingId": null,
      "metadataVariants": [
        {
          "severity": "medium",
          "description": "The /ping endpoint injects raw command stdout directly into an HTML response inside a <pre> tag without HTML-encoding. If the output or a crafted error message contains HTML/script content, it can result in XSS.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The /ping endpoint returns the raw stdout of the ping command inside an HTML <pre> tag without HTML-encoding. Because the host parameter is attacker-controlled (and subject to command injection), the stdout output can contain attacker-crafted content that injects HTML/JavaScript into the browser response.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The stdout from the ping command is embedded in an HTML <pre> block without HTML-encoding. If an attacker-controlled hostname or command output contains HTML/script tags, this results in reflected XSS.",
          "occurrences": 1
        },
        {
          "severity": "medium",
          "description": "The stdout output from the shell command (which is influenced by attacker-controlled 'host' input) is embedded into an HTML response inside a <pre> tag without HTML-encoding, enabling secondary XSS via crafted command output.",
          "occurrences": 1
        }
      ],
      "occurrences": 4
    }
  ],
  "projects": [
    {
      "id": "js-project-copperline-find-vulns",
      "name": "JS Snippet (Plugin Installer): Find Vulnerabilities",
      "description": "Small Express plugin installer service with shell-based package installation.",
      "referenceFindings": [
        {
          "id": "jcl-command-injection-1",
          "type": "command-injection",
          "severity": "high",
          "file": "app.js",
          "line": 17,
          "description": "User-controlled plugin package data flows into child_process.spawn through a shell command."
        },
        {
          "id": "jcl-insecure-transport-1",
          "type": "insecure-transport",
          "severity": "medium",
          "file": "app.js",
          "line": 43,
          "description": "The service is created with a plaintext HTTP server."
        },
        {
          "id": "jcl-no-rate-limit-1",
          "type": "allocation-of-resources-without-limits-or-throttling",
          "severity": "medium",
          "file": "app.js",
          "line": 20,
          "description": "The plugin installation endpoint performs expensive command execution without rate limiting."
        }
      ],
      "sourceFiles": [
        "app.js",
        "package.json"
      ],
      "sourceContexts": [
        {
          "findingId": "jcl-command-injection-1",
          "file": "app.js",
          "line": 17,
          "startLine": 15,
          "snippet": "\nfunction runInstaller(command, options) {\n  return cp.spawn(shell(), [\"-c\", command], options);\n}\n"
        },
        {
          "findingId": "jcl-insecure-transport-1",
          "file": "app.js",
          "line": 43,
          "startLine": 41,
          "snippet": "});\n\nconst server = http.createServer(app);\nconst port = process.env.PORT || 3000;\n"
        },
        {
          "findingId": "jcl-no-rate-limit-1",
          "file": "app.js",
          "line": 20,
          "startLine": 18,
          "snippet": "}\n\napp.post(\"/plugins/install\", (req, res) => {\n  const packageName = req.body.package || \"@warehouse/scanner-bridge\";\n  const command = `npm install ${packageName} --prefix ${pluginRoot}`;"
        }
      ]
    },
    {
      "id": "js-project-goldleaf-find-vulns",
      "name": "JS Snippet (Report Preview): Find Vulnerabilities",
      "description": "Small Express report preview service that builds saved dashboard metric objects.",
      "referenceFindings": [
        {
          "id": "jgl-code-injection-1",
          "type": "code-injection",
          "severity": "high",
          "file": "app.js",
          "line": 12,
          "description": "User-controlled report metric data reaches eval and is executed as JavaScript code."
        },
        {
          "id": "jgl-improper-code-sanitization-1",
          "type": "improper-code-sanitization",
          "severity": "medium",
          "file": "app.js",
          "line": 12,
          "description": "JSON.stringify is used as an attempted sanitizer before generated JavaScript is evaluated."
        }
      ],
      "sourceFiles": [
        "app.js",
        "package.json"
      ],
      "sourceContexts": [
        {
          "findingId": "jgl-code-injection-1",
          "file": "app.js",
          "line": 12,
          "startLine": 10,
          "snippet": "  const assignment = `obj[${JSON.stringify(key)}]=42`;\n\n  eval(assignment);\n  return obj;\n}"
        },
        {
          "findingId": "jgl-improper-code-sanitization-1",
          "file": "app.js",
          "line": 12,
          "startLine": 10,
          "snippet": "  const assignment = `obj[${JSON.stringify(key)}]=42`;\n\n  eval(assignment);\n  return obj;\n}"
        }
      ]
    },
    {
      "id": "js-project-ironclad-find-vulns",
      "name": "JS App (Knex/Postgres 3): Find Vulnerabilities",
      "description": "Express.js app with Knex.js and PostgreSQL. Scaffolded from Cursor's Auto MAX mode.",
      "referenceFindings": [
        {
          "id": "js-xpowered-by-header-3",
          "type": "information-exposure",
          "severity": "medium",
          "file": "app.js",
          "line": 14,
          "description": "X-Powered-By header exposes information about the used framework to potential attackers"
        },
        {
          "id": "js-hardcoded-creds-3",
          "type": "hardcoded-credentials",
          "severity": "high",
          "file": "app.js",
          "line": 9,
          "description": "Hardcoded database password in DB config object"
        },
        {
          "id": "js-sql-injection-3",
          "type": "sql-injection",
          "severity": "high",
          "file": "userMode.js",
          "line": 2,
          "description": "Unsanitized input from HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability."
        }
      ],
      "sourceFiles": [
        "app.js",
        "package.json",
        "pnpm-lock.yaml",
        "userMode.js"
      ],
      "sourceContexts": [
        {
          "findingId": "js-xpowered-by-header-3",
          "file": "app.js",
          "line": 14,
          "startLine": 12,
          "snippet": "});\n\nconst app = express();\napp.use(express.json());\n"
        },
        {
          "findingId": "js-hardcoded-creds-3",
          "file": "app.js",
          "line": 9,
          "startLine": 7,
          "snippet": "    host: \"127.0.0.1\",\n    user: \"your_database_user\",\n    password: \"your_database_password\",\n    database: \"myapp_test\",\n  },"
        },
        {
          "findingId": "js-sql-injection-3",
          "file": "userMode.js",
          "line": 2,
          "startLine": 1,
          "snippet": "function fetchUserById(knex, userProvidedValue) {\n  return knex.raw(`SELECT * FROM users WHERE id = ${userProvidedValue}`);\n}\n"
        }
      ]
    },
    {
      "id": "js-project-nightowl-find-vulns",
      "name": "JS Todo App (SQLite 4): Find Vulnerabilities",
      "description": "Todo app with SQLite and file attachments. Scaffolded from Cursor's Auto MAX mode.",
      "referenceFindings": [
        {
          "id": "js-xpowered-by-header-4",
          "type": "information-exposure",
          "severity": "medium",
          "file": "server.js",
          "line": 7,
          "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers."
        },
        {
          "id": "js-alloc-without-limits-4a",
          "type": "allocation-of-resources-without-limits-or-throttling",
          "severity": "medium",
          "file": "server.js",
          "line": 106,
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit."
        },
        {
          "id": "js-alloc-without-limits-4b",
          "type": "allocation-of-resources-without-limits-or-throttling",
          "severity": "medium",
          "file": "server.js",
          "line": 168,
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit."
        },
        {
          "id": "js-alloc-without-limits-4c",
          "type": "allocation-of-resources-without-limits-or-throttling",
          "severity": "medium",
          "file": "server.js",
          "line": 183,
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit."
        },
        {
          "id": "js-path-traversal-4a",
          "type": "path-traversal",
          "severity": "high",
          "file": "server.js",
          "line": 140,
          "description": "Unsanitized input from an HTTP parameter flows into fs.unlink, where it is used as a path. This may result in a Path Traversal vulnerability and allow an attacker to delete arbitrary files."
        },
        {
          "id": "js-path-traversal-4b",
          "type": "path-traversal",
          "severity": "high",
          "file": "server.js",
          "line": 146,
          "description": "Unsanitized input from an HTTP parameter flows into fs.unlink, where it is used as a path. This may result in a Path Traversal vulnerability and allow an attacker to delete arbitrary files."
        },
        {
          "id": "js-path-traversal-4c",
          "type": "path-traversal",
          "severity": "high",
          "file": "server.js",
          "line": 174,
          "description": "Unsanitized input from an HTTP parameter flows into fs.unlink, where it is used as a path. This may result in a Path Traversal vulnerability and allow an attacker to delete arbitrary files."
        }
      ],
      "sourceFiles": [
        ".gitignore",
        "db.js",
        "package.json",
        "pnpm-lock.yaml",
        "public/app.js",
        "public/index.html",
        "public/styles.css",
        "server.js"
      ],
      "sourceContexts": [
        {
          "findingId": "js-xpowered-by-header-4",
          "file": "server.js",
          "line": 7,
          "startLine": 5,
          "snippet": "const { openDb, UPLOADS_DIR } = require(\"./db\");\n\nconst app = express();\nconst db = openDb();\nconst PORT = process.env.PORT || 3000;"
        },
        {
          "findingId": "js-alloc-without-limits-4a",
          "file": "server.js",
          "line": 106,
          "startLine": 104,
          "snippet": "});\n\napp.put(\"/api/todos/:id\", upload.single(\"attachment\"), (req, res) => {\n  const id = req.params.id;\n"
        },
        {
          "findingId": "js-alloc-without-limits-4b",
          "file": "server.js",
          "line": 168,
          "startLine": 166,
          "snippet": "app.delete(\"/api/todos/:id\", (req, res) => {\n  const id = req.params.id;\n  try {\n    const row = q.getStoredAttachmentOnly.get(id);\n    if (!row) return res.status(404).json({ error: \"Not found\" });"
        },
        {
          "findingId": "js-alloc-without-limits-4c",
          "file": "server.js",
          "line": 183,
          "startLine": 181,
          "snippet": "app.get(\"/api/todos/:id/attachment\", (req, res) => {\n  const id = Number(req.params.id);\n  if (!Number.isInteger(id)) return res.status(400).json({ error: \"Invalid id\" });\n  try {\n    const row = q.getAttachmentForDownload.get(id);"
        },
        {
          "findingId": "js-path-traversal-4a",
          "file": "server.js",
          "line": 140,
          "startLine": 138,
          "snippet": "        fs.unlink(path.join(UPLOADS_DIR, existing.attachment_stored_name), () => {});\n      }\n      updates.push(\"attachment_original_name = ?\", \"attachment_stored_name = ?\");\n      values.push(req.file.originalname, req.file.filename);\n    } else if (req.body.removeAttachment === true || req.body.removeAttachment === \"true\") {"
        },
        {
          "findingId": "js-path-traversal-4b",
          "file": "server.js",
          "line": 146,
          "startLine": 144,
          "snippet": "        fs.unlink(path.join(UPLOADS_DIR, existing.attachment_stored_name), () => {});\n      }\n      updates.push(\"attachment_original_name = ?\", \"attachment_stored_name = ?\");\n      values.push(null, null);\n    }"
        },
        {
          "findingId": "js-path-traversal-4c",
          "file": "server.js",
          "line": 174,
          "startLine": 172,
          "snippet": "      fs.unlink(path.join(UPLOADS_DIR, row.attachment_stored_name), () => {});\n    }\n    q.deleteTodo(id);\n    res.status(204).send();\n  } catch (err) {"
        }
      ]
    },
    {
      "id": "js-project-purplehaze-find-vulns",
      "name": "JS Todo App (SQLite 5): Find Vulnerabilities",
      "description": "Uptime and health check app with Express. Scaffolded from Cursor's Auto MAX mode.",
      "referenceFindings": [
        {
          "id": "js-improper-type-validation-5",
          "type": "improper-type-validation",
          "severity": "low",
          "file": "server.js",
          "line": 85,
          "description": "The type of this object, coming from body and the value of its trim property can be controlled by the user. An attacker may craft the properties of the object to crash the application or bypass its logic. Consider checking the type of the object."
        },
        {
          "id": "js-cookie-secure-flag-false-5",
          "type": "information-exposure",
          "severity": "low",
          "file": "server.js",
          "line": 37,
          "description": "Cookie has the Secure attribute set to false. Set it to true to protect the cookie from man-in-the-middle attacks."
        },
        {
          "id": "js-csrf-missing-5",
          "type": "csrf",
          "severity": "medium",
          "file": "server.js",
          "line": 17,
          "description": "CSRF protection is disabled for your Express app. This allows the attackers to execute requests on a user's behalf."
        },
        {
          "id": "js-xpowered-by-header-5",
          "type": "information-exposure",
          "severity": "medium",
          "file": "server.js",
          "line": 17,
          "description": "Disable X-Powered-By header for your Express app (consider using Helmet middleware), because it exposes information about the used framework to potential attackers."
        },
        {
          "id": "js-alloc-without-limits-5a",
          "type": "allocation-of-resources-without-limits-or-throttling",
          "severity": "medium",
          "file": "server.js",
          "line": 176,
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit."
        },
        {
          "id": "js-alloc-without-limits-5b",
          "type": "allocation-of-resources-without-limits-or-throttling",
          "severity": "medium",
          "file": "server.js",
          "line": 186,
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit."
        },
        {
          "id": "js-alloc-without-limits-5c",
          "type": "allocation-of-resources-without-limits-or-throttling",
          "severity": "medium",
          "file": "server.js",
          "line": 221,
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit."
        },
        {
          "id": "js-open-redirect-5",
          "type": "open-redirect",
          "severity": "medium",
          "file": "server.js",
          "line": 218,
          "description": "Unsanitized input from an HTTP parameter flows into redirect, where it is used as input for request redirection. This may result in an Open Redirect vulnerability."
        },
        {
          "id": "js-command-injection-5",
          "type": "command-injection",
          "severity": "high",
          "file": "server.js",
          "line": 124,
          "description": "Unsanitized input from the HTTP request body flows into promisified command execution function, where it is used to build a shell command. This may result in a Command Injection vulnerability."
        },
        {
          "id": "js-hardcoded-secret-5",
          "type": "hardcoded-credentials",
          "severity": "high",
          "file": "server.js",
          "line": 33,
          "description": "Avoid hardcoding values that are meant to be secret. Found a hardcoded string used in express-session."
        },
        {
          "id": "js-ssrf-5",
          "type": "ssrf",
          "severity": "high",
          "file": "server.js",
          "line": 139,
          "description": "Unsanitized input from the HTTP request body flows into fetch, where it is used as an URL to perform a request. This may result in a Server-Side Request Forgery vulnerability."
        }
      ],
      "sourceFiles": [
        ".gitignore",
        "package.json",
        "pnpm-lock.yaml",
        "server.js",
        "views/account.hbs",
        "views/index.hbs",
        "views/layouts/main.hbs",
        "views/results.hbs"
      ],
      "sourceContexts": [
        {
          "findingId": "js-improper-type-validation-5",
          "file": "server.js",
          "line": 85,
          "startLine": 83,
          "snippet": "\nfunction parseTarget(raw) {\n  const input = (raw || '').trim();\n  if (!input) return { error: 'Target is required.' };\n"
        },
        {
          "findingId": "js-cookie-secure-flag-false-5",
          "file": "server.js",
          "line": 37,
          "startLine": 35,
          "snippet": "    resave: false,\n    saveUninitialized: true,\n    cookie: {\n      secure: false,\n      maxAge: 99999999999,"
        },
        {
          "findingId": "js-csrf-missing-5",
          "file": "server.js",
          "line": 17,
          "startLine": 15,
          "snippet": "const startedAt = Date.now();\n\nconst app = express();\n\napp.engine("
        },
        {
          "findingId": "js-xpowered-by-header-5",
          "file": "server.js",
          "line": 17,
          "startLine": 15,
          "snippet": "const startedAt = Date.now();\n\nconst app = express();\n\napp.engine("
        },
        {
          "findingId": "js-alloc-without-limits-5a",
          "file": "server.js",
          "line": 176,
          "startLine": 174,
          "snippet": "});\n\napp.get('/', (req, res) => {\n  res.render('index', {\n    title: 'Health check',"
        },
        {
          "findingId": "js-alloc-without-limits-5b",
          "file": "server.js",
          "line": 186,
          "startLine": 184,
          "snippet": "});\n\napp.get('/account', (req, res) => {\n  let lastPingLabel = 'n/a';\n  if (req.session.lastPingOk === true) lastPingLabel = 'yes';"
        },
        {
          "findingId": "js-alloc-without-limits-5c",
          "file": "server.js",
          "line": 221,
          "startLine": 219,
          "snippet": "});\n\napp.post('/check', async (req, res, next) => {\n  try {\n    const parsed = parseTarget(req.body.target);"
        },
        {
          "findingId": "js-open-redirect-5",
          "file": "server.js",
          "line": 218,
          "startLine": 216,
          "snippet": "    res.redirect(302, '/');\n  }\n    res.redirect(target);\n});\n"
        },
        {
          "findingId": "js-command-injection-5",
          "file": "server.js",
          "line": 124,
          "startLine": 122,
          "snippet": "  const cmd = `ping -c 4 -W 5 ${host}`;\n  try {\n    const { stdout, stderr } = await execAsync(cmd, {\n      timeout: 25000,\n      maxBuffer: 512 * 1024,"
        },
        {
          "findingId": "js-hardcoded-secret-5",
          "file": "server.js",
          "line": 33,
          "startLine": 31,
          "snippet": "\napp.use(\n  session({\n    secret: 'viuvsubvsdaf2392379y8239h2r3ifubviufbv',\n    resave: false,"
        },
        {
          "findingId": "js-ssrf-5",
          "file": "server.js",
          "line": 139,
          "startLine": 137,
          "snippet": "\nasync function fetchSecurityTxtMeta(securityTxtUrl) {\n  const res = await fetch(securityTxtUrl, {\n    redirect: 'follow',\n    headers: { Accept: 'text/plain,*/*' },"
        }
      ]
    },
    {
      "id": "js-project-riverbend-find-vulns",
      "name": "JS Snippet (Import Profile): Find Vulnerabilities",
      "description": "Small Express supplier import profile service with dynamic field mapping.",
      "referenceFindings": [
        {
          "id": "jrb-prototype-pollution-1",
          "type": "prototype-pollution",
          "severity": "medium",
          "file": "app.js",
          "line": 17,
          "description": "User-controlled nested property names are written directly into an object profile."
        }
      ],
      "sourceFiles": [
        "app.js",
        "package.json"
      ],
      "sourceContexts": [
        {
          "findingId": "jrb-prototype-pollution-1",
          "file": "app.js",
          "line": 17,
          "startLine": 15,
          "snippet": "  };\n\n  profile[section][key] = value;\n  res.json({ profile });\n});"
        }
      ]
    },
    {
      "id": "js-project-shadowfox-find-vulns",
      "name": "JS App (Knex/Postgres 2): Find Vulnerabilities",
      "description": "Express.js app with Knex.js and PostgreSQL. Scaffolded from Cursor's Auto MAX mode.",
      "referenceFindings": [
        {
          "id": "js-xpowered-by-header-2",
          "type": "information-exposure",
          "severity": "medium",
          "file": "app.js",
          "line": 13,
          "description": "X-Powered-By header exposes information about the used framework to potential attackers"
        },
        {
          "id": "js-hardcoded-creds-2",
          "type": "hardcoded-credentials",
          "severity": "high",
          "file": "app.js",
          "line": 8,
          "description": "Hardcoded password used in password."
        },
        {
          "id": "js-sql-injection-2",
          "type": "sql-injection",
          "severity": "high",
          "file": "app.js",
          "line": 28,
          "description": "Unsanitized input from an HTTP parameter flows into raw, where it is used in an SQL query. This may result in an SQL Injection vulnerability."
        }
      ],
      "sourceFiles": [
        "app.js",
        "package.json",
        "pnpm-lock.yaml"
      ],
      "sourceContexts": [
        {
          "findingId": "js-xpowered-by-header-2",
          "file": "app.js",
          "line": 13,
          "startLine": 11,
          "snippet": "\nconst app = express();\napp.use(express.json());\n\napp.get(\"/users\", (req, res) => {"
        },
        {
          "findingId": "js-hardcoded-creds-2",
          "file": "app.js",
          "line": 8,
          "startLine": 6,
          "snippet": "    user: \"your_database_user\",\n    password: \"your_database_password\",\n    database: \"myapp_test\",\n  },\n});"
        },
        {
          "findingId": "js-sql-injection-2",
          "file": "app.js",
          "line": 28,
          "startLine": 26,
          "snippet": "});\n\nconst PORT = process.env.PORT || 3000;\napp.listen(PORT, () => console.log(`Server running on port ${PORT}`));\n"
        }
      ]
    },
    {
      "id": "js-project-silvergate-find-vulns",
      "name": "JS Snippet (Redirect Handoff): Find Vulnerabilities",
      "description": "Small Express workspace handoff service with redirect and cross-origin response handling.",
      "referenceFindings": [
        {
          "id": "jsg-insecure-transport-1",
          "type": "insecure-transport",
          "severity": "medium",
          "file": "app.js",
          "line": 5,
          "description": "The handoff service is created with a plaintext HTTP server."
        },
        {
          "id": "jsg-open-redirect-1",
          "type": "open-redirect",
          "severity": "medium",
          "file": "app.js",
          "line": 18,
          "description": "A user-controlled query parameter is passed directly to res.redirect."
        },
        {
          "id": "jsg-open-redirect-2",
          "type": "open-redirect",
          "severity": "medium",
          "file": "app.js",
          "line": 21,
          "description": "A route parameter is used to build a protocol-relative redirect URL."
        },
        {
          "id": "jsg-cors-1",
          "type": "origin-validation-error",
          "severity": "medium",
          "file": "app.js",
          "line": 10,
          "description": "The service reflects request origin data into Access-Control-Allow-Origin while allowing credentials."
        }
      ],
      "sourceFiles": [
        "app.js",
        "package.json"
      ],
      "sourceContexts": [
        {
          "findingId": "jsg-insecure-transport-1",
          "file": "app.js",
          "line": 5,
          "startLine": 3,
          "snippet": "\nconst app = express();\nconst server = http.createServer();\n\napp.disable(\"x-powered-by\");"
        },
        {
          "findingId": "jsg-open-redirect-1",
          "file": "app.js",
          "line": 18,
          "startLine": 16,
          "snippet": "\n  if (target) {\n    return res.redirect(target);\n  }\n"
        },
        {
          "findingId": "jsg-open-redirect-2",
          "file": "app.js",
          "line": 21,
          "startLine": 19,
          "snippet": "  }\n\n  return res.redirect(\"//\" + req.params.workspace);\n});\n"
        },
        {
          "findingId": "jsg-cors-1",
          "file": "app.js",
          "line": 10,
          "startLine": 8,
          "snippet": "\nserver.on(\"request\", (req, res) => {\n  res.setHeader(\"Access-Control-Allow-Origin\", req.headers.origin || \"null\");\n  res.setHeader(\"Access-Control-Allow-Credentials\", true);\n});"
        }
      ]
    },
    {
      "id": "js-project-skylark-find-vulns",
      "name": "JS Snippet (Shelf Validator): Find Vulnerabilities",
      "description": "Small Express shelf validation page with a client-side dashboard widget loader.",
      "referenceFindings": [
        {
          "id": "jsk-dom-xss-1",
          "type": "xss",
          "severity": "high",
          "file": "public/dashboard.js",
          "line": 8,
          "description": "A URL search parameter is assigned to a dynamically-created script element source."
        },
        {
          "id": "jsk-redos-1",
          "type": "redos",
          "severity": "high",
          "file": "app.js",
          "line": 15,
          "description": "A nested quantified regular expression is evaluated against user-controlled shelf code input."
        },
        {
          "id": "jsk-redos-2",
          "type": "redos",
          "severity": "high",
          "file": "app.js",
          "line": 16,
          "description": "A dynamically constructed nested quantified regular expression is evaluated against user-controlled shelf code input."
        }
      ],
      "sourceFiles": [
        "app.js",
        "package.json",
        "public/dashboard.js",
        "public/index.html"
      ],
      "sourceContexts": [
        {
          "findingId": "jsk-dom-xss-1",
          "file": "public/dashboard.js",
          "line": 8,
          "startLine": 6,
          "snippet": "    var script2 = document.createElement(\"script\");\n\n    script2.src = widget;\n    document.head.appendChild(script2);\n  }"
        },
        {
          "findingId": "jsk-redos-1",
          "file": "app.js",
          "line": 15,
          "startLine": 13,
          "snippet": "  const regex2 = new RegExp(/([0-9]+)+\\#/);\n\n  const firstMatch = regex1.test(code);\n  const secondMatch = regex2.test(code);\n  res.json({ valid: firstMatch || secondMatch });"
        },
        {
          "findingId": "jsk-redos-2",
          "file": "app.js",
          "line": 16,
          "startLine": 14,
          "snippet": "\n  const firstMatch = regex1.test(code);\n  const secondMatch = regex2.test(code);\n  res.json({ valid: firstMatch || secondMatch });\n});"
        }
      ]
    },
    {
      "id": "js-project-tigerteam-find-vulns",
      "name": "JS App: Find Vulnerabilities 1",
      "description": "Express.js app for benchmark testing",
      "referenceFindings": [
        {
          "id": "js-xpowered-by-header-1",
          "type": "information-exposure",
          "severity": "medium",
          "file": "app.js",
          "line": 13,
          "description": "X-Powered-By header exposes information about the used framework to potential attackers"
        },
        {
          "id": "js-hardcoded-creds-1",
          "type": "hardcoded-credentials",
          "severity": "high",
          "file": "app.js",
          "line": 9,
          "description": "Hardcoded database password in DB_CONFIG object"
        },
        {
          "id": "js-allocation-of-resources-without-limits-or-throttling-1",
          "type": "allocation-of-resources-without-limits-or-throttling",
          "severity": "medium",
          "file": "app.js",
          "line": 34,
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit."
        },
        {
          "id": "js-allocation-of-resources-without-limits-or-throttling-2",
          "type": "allocation-of-resources-without-limits-or-throttling",
          "severity": "medium",
          "file": "app.js",
          "line": 43,
          "description": "Expensive operation (a file system operation) is performed by an endpoint handler which does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks. Consider using a rate-limiting middleware such as express-limit."
        },
        {
          "id": "js-xss-1",
          "type": "xss",
          "severity": "high",
          "file": "app.js",
          "line": 31,
          "description": "Unsanitized req.query.name interpolated directly into HTML response"
        },
        {
          "id": "js-path-traversal-1",
          "type": "path-traversal",
          "severity": "high",
          "file": "app.js",
          "line": 37,
          "description": "User-controlled req.query.filename appended to base path without normalization"
        },
        {
          "id": "js-cmd-injection-1",
          "type": "command-injection",
          "severity": "critical",
          "file": "app.js",
          "line": 45,
          "description": "User-controlled req.query.host concatenated into shell command passed to exec()"
        }
      ],
      "sourceFiles": [
        "app.js"
      ],
      "sourceContexts": [
        {
          "findingId": "js-xpowered-by-header-1",
          "file": "app.js",
          "line": 13,
          "startLine": 11,
          "snippet": "};\n\nconst app = express();\napp.use(express.urlencoded({ extended: true }));\napp.use(express.json());"
        },
        {
          "findingId": "js-hardcoded-creds-1",
          "file": "app.js",
          "line": 9,
          "startLine": 7,
          "snippet": "  host: \"localhost\",\n  user: \"admin\",\n  password: \"supersecretpassword123\",\n  database: \"users_db\",\n};"
        },
        {
          "findingId": "js-allocation-of-resources-without-limits-or-throttling-1",
          "file": "app.js",
          "line": 34,
          "startLine": 32,
          "snippet": "});\n\napp.get(\"/file\", (req, res) => {\n  const filename = req.query.filename;\n  const basePath = \"/var/app/public/\";"
        },
        {
          "findingId": "js-allocation-of-resources-without-limits-or-throttling-2",
          "file": "app.js",
          "line": 43,
          "startLine": 41,
          "snippet": "});\n\napp.get(\"/ping\", (req, res) => {\n  const host = req.query.host;\n  exec(\"ping -c 1 \" + host, (err, stdout, stderr) => {"
        },
        {
          "findingId": "js-xss-1",
          "file": "app.js",
          "line": 31,
          "startLine": 29,
          "snippet": "app.get(\"/greet\", (req, res) => {\n  const name = req.query.name;\n  res.send(`<html><body><h1>Hello, ${name}!</h1></body></html>`);\n});\n"
        },
        {
          "findingId": "js-path-traversal-1",
          "file": "app.js",
          "line": 37,
          "startLine": 35,
          "snippet": "  const filename = req.query.filename;\n  const basePath = \"/var/app/public/\";\n  fs.readFile(basePath + filename, \"utf8\", (err, data) => {\n    if (err) return res.status(404).send(\"Not found\");\n    res.send(data);"
        },
        {
          "findingId": "js-cmd-injection-1",
          "file": "app.js",
          "line": 45,
          "startLine": 43,
          "snippet": "app.get(\"/ping\", (req, res) => {\n  const host = req.query.host;\n  exec(\"ping -c 1 \" + host, (err, stdout, stderr) => {\n    if (err) return res.status(500).send(\"Error\");\n    res.send(`<pre>${stdout}</pre>`);"
        }
      ]
    }
  ]
}
