Create npm-anonymous-cli.yaml

patch-1
Dhiyaneshwaran 2022-10-11 02:04:00 +05:30 committed by GitHub
parent 6ab6aa6aa3
commit 9612e58d61
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-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