nuclei-templates/http/exposures/files/npm-shrinkwrap-exposure.yaml

42 lines
1.1 KiB
YAML

id: npm-shrinkwrap-exposure
info:
name: Node Shrinkwrap Exposure
author: DhiyaneshDk,noraj
severity: info
description: |
A file created by npm shrinkwrap. It is identical to package-lock.json.
reference:
- https://docs.npmjs.com/cli/v9/configuring-npm/npm-shrinkwrap-json
classification:
cpe: cpe:2.3:a:npmjs:npm:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: npmjs
product: npm
shodan-query: html:"npm-shrinkwrap.json"
tags: config,exposure,npm,files,node
http:
- method: GET
path:
- "{{BaseURL}}/npm-shrinkwrap.json"
matchers-condition: and
matchers:
- type: word
words:
- "version"
- "dependencies"
condition: and
- type: word
part: header
words:
- "application/json"
- type: status
status:
- 200
# digest: 4a0a0047304502207143a58821d12c44a2b984526aeb7aad5b805db82635bc9ec40abe7cf15ece8e022100da1affb7229ec4d94e318a4696ed04d1e6d31572d7c11a0f61bb7e083d278006:922c64590222798bb761d5b6d8e72950