nuclei-templates/http/exposures/logs/npm-debug-log.yaml

41 lines
1.1 KiB
YAML

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
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: 490a0046304402202a29ae60a209baf69f0a5328f6c18935bdb95a7c87a8dc7cff86ca00a888b3cb02204b082ca3d92fb12d54aa0b55a77736a608aff004edbb5e18641077f3020facc0:922c64590222798bb761d5b6d8e72950