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

31 lines
635 B
YAML

id: npm-log-file
info:
name: Publicly accessible NPM Log file
author: sheikhrishad,DhiyaneshDk
severity: low
reference:
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
metadata:
max-request: 2
verified: true
shodan-query: html:"npm-debug.log"
tags: npm,logs,exposure
http:
- method: GET
path:
- "{{BaseURL}}/npm-debug.log"
- "{{BaseURL}}/assets/npm-debug.log"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- "info it worked if it ends with ok"
- type: status
status:
- 200