Files
nuclei-templates/http/exposures/files/npm-anonymous-cli.yaml
2024-12-01 13:57:55 +00:00

37 lines
981 B
YAML

id: npm-anonymous-cli
info:
name: NPM Anonymous CLI Metrics Exposure
author: DhiyaneshDK
severity: info
reference:
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
metadata:
verified: true
max-request: 2
shodan-query: html:"anonymous-cli-metrics.json"
tags: exposure,npm,config,files
http:
- method: GET
path:
- '{{BaseURL}}/.npm/anonymous-cli-metrics.json'
- '{{BaseURL}}/anonymous-cli-metrics.json'
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"metricId":'
- '"metrics":'
- '"successfulInstalls":'
condition: and
- type: word
part: header
words:
- "application/json"
# digest: 490a0046304402202e553e56e736b042b95afbd1ac386305580c0f9b800c81a8efe23c14fb856c6d022036c5a9317f3bfddfca12e3b76da60b2cadbe78474a9c4b77a5e3a20a36c2dcdf:922c64590222798bb761d5b6d8e72950