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

37 lines
789 B
YAML
Raw Normal View History

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
metadata:
verified: true
max-request: 1
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