nuclei-templates/http/exposures/configs/package-json.yaml

41 lines
926 B
YAML
Raw Normal View History

id: package-json
info:
name: npm Config - Detect
2021-06-09 12:20:56 +00:00
author: geeknik,afaq
severity: info
description: npm configuration information was detected. All npm packages contain a file, usually in the project root, called package.json - this file holds various metadata relevant to the project.
reference: https://www.npmjs.com
classification:
2023-03-03 15:27:54 +00:00
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cvss-score: 0.0
cwe-id: CWE-200
2021-04-06 06:46:11 +00:00
tags: config,exposure
metadata:
max-request: 2
http:
- method: GET
path:
- "{{BaseURL}}/package.json"
2021-01-07 18:56:47 +00:00
- "{{BaseURL}}/package-lock.json"
matchers-condition: and
matchers:
- type: word
words:
- "name"
- "version"
condition: and
- type: word
words:
- "application/json"
part: header
- type: status
status:
- 200
# Enhanced by mp on 2023/02/05