nuclei-templates/exposures/configs/pre-commit-config.yaml

39 lines
823 B
YAML
Raw Normal View History

2022-08-10 02:18:12 +00:00
id: pre-commit-config
info:
name: Pre-commit Configuration File - Detect
2022-08-10 02:18:12 +00:00
author: DhiyaneshDk
2023-03-02 20:58:29 +00:00
severity: info
description: Pre-commit configuration file was detected.
2023-03-02 20:58:29 +00:00
classification:
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
reference: https://pre-commit.com/
2022-08-10 02:18:12 +00:00
metadata:
verified: true
tags: exposure,devops,config,cicd
requests:
- method: GET
path:
- "{{BaseURL}}/.pre-commit-config.yaml"
- "{{BaseURL}}/pre-commit-config.yaml"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "repos:"
- "hooks:"
- "rev:"
2022-08-10 05:28:07 +00:00
condition: and
2022-08-10 02:18:12 +00:00
- type: status
status:
- 200
# Enhanced by md on 2023/02/22