Skip to content

NPM Anonymous CLI Metrics Exposure

ID: npm-anonymous-cli

Severity: info

Author: DhiyaneshDK

Tags: exposure,npm,config,files

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

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/files/npm-anonymous-cli.yaml"

View on Github