Create npm-anonymous-cli.yaml
parent
6ab6aa6aa3
commit
9612e58d61
|
@ -0,0 +1,33 @@
|
||||||
|
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
|
||||||
|
shodan-query: html:"anonymous-cli-metrics.json"
|
||||||
|
tags: exposure,file,npm,config
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- 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: status
|
||||||
|
status:
|
||||||
|
- 200
|
Loading…
Reference in New Issue