Merge pull request #5065 from projectdiscovery/pre-commit-config

Create pre-commit-config.yaml
patch-1
Prince Chaddha 2022-08-11 15:34:58 -07:00 committed by GitHub
commit 05c6490777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
id: pre-commit-config
info:
name: Pre Commit Configuration File Exposure
author: DhiyaneshDk
severity: low
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:"
condition: and
- type: status
status:
- 200