npm-debug-log: NPM Debug Log Disclosure

日期: 2025-08-01 | 影响软件: npm debug log | POC: 已公开

漏洞描述

NPM Debug log file exposed.

PoC代码[已公开]

id: npm-debug-log

info:
  name: NPM Debug Log Disclosure
  author: Hardik-Solanki
  severity: low
  description: NPM Debug log file exposed.
  reference:
    - https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
    - https://docs.npmjs.com/generating-and-locating-npm-debug.log-files
  classification:
    cpe: cpe:2.3:a:npmjs:npm:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: npmjs
    product: npm
    github-query: filename:npm-debug.log
  tags: exposure,npm,logs,debug,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/npm-debug.log"
      - "{{BaseURL}}/assets/npm-debug.log"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'verbose cli'
          - 'verbose stack'
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a0047304502207e6686c4e3c5bd891749eb7f1d6747fa5f71bb7df6382c7b33a75c5cea67afab0221008c02c4dec9c7bce699ffe3642487cba04354883fb38836f97f857d85a42c8e2d:922c64590222798bb761d5b6d8e72950