Merge pull request #5065 from projectdiscovery/pre-commit-config
Create pre-commit-config.yamlpatch-1
commit
05c6490777
|
@ -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
|
Loading…
Reference in New Issue