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

43 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: 4b0a00483046022100be8c7af965335ed157714bfa31dda10b0e5eb81c3b5c1aeb37f88a2aacb47884022100a91344fb45fa4d8e9fee2b6eb3d317b4e92afed22d813fac680609f7f71bc8a1:922c64590222798bb761d5b6d8e72950