2022-12-10 13:57:13 +00:00
|
|
|
id: npm-debug-log
|
|
|
|
|
|
|
|
info:
|
2022-12-10 17:07:49 +00:00
|
|
|
name: NPM Debug Log Disclosure
|
2022-12-10 13:57:13 +00:00
|
|
|
author: Hardik-Solanki
|
|
|
|
severity: low
|
|
|
|
reference:
|
|
|
|
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
|
|
|
|
- https://docs.npmjs.com/generating-and-locating-npm-debug.log-files
|
2022-12-12 17:55:36 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
github-query: filename:npm-debug.log
|
2022-12-16 18:00:59 +00:00
|
|
|
tags: exposure,npm,logs,debug
|
2022-12-10 13:57:13 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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
|