Merge pull request #6320 from HardikSolanki96/npm-debug-log

Npm debug log
patch-1
Ritik Chaddha 2022-12-12 23:28:02 +05:30 committed by GitHub
commit d36a2c92a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
id: npm-debug-log
info:
name: NPM Debug Log Disclosure
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
metadata:
verified: true
github-query: filename:npm-debug.log
tags: exposure,npm,log,debug
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