Files
nuclei-templates/http/exposures/configs/pre-commit-config.yaml
2024-12-01 13:57:55 +00:00

39 lines
998 B
YAML

id: pre-commit-config
info:
name: Pre-commit Configuration File - Detect
author: DhiyaneshDk
severity: info
description: Pre-commit configuration file was detected.
reference: https://pre-commit.com/
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
cwe-id: CWE-200
metadata:
verified: true
max-request: 2
tags: exposure,devops,config,cicd
http:
- 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:"
condition: and
- type: status
status:
- 200
# digest: 4a0a00473045022100d904036df050a83ed77a07fe0dcc8b7f6a49971cad9d15d16cfdbba6c934a14002201424a104894115c73cd12fee05cfc4d65b293b3717a845a0ce54026a3b320660:922c64590222798bb761d5b6d8e72950