2022-12-10 13:46:16 +00:00
|
|
|
id: golangci-config
|
|
|
|
|
|
|
|
info:
|
2023-02-09 21:07:20 +00:00
|
|
|
name: GolangCI-Lint Configuration File - Detect
|
2022-12-10 13:46:16 +00:00
|
|
|
author: Hardik-Solanki
|
2023-02-13 16:45:35 +00:00
|
|
|
severity: info
|
2023-02-09 21:07:20 +00:00
|
|
|
description: GolangCI-Lint configuration file was detected.
|
2022-12-10 13:46:16 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
|
|
|
|
- https://golangci-lint.run/usage/configuration/
|
2023-02-13 16:45:35 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
2023-10-14 11:27:55 +00:00
|
|
|
cvss-score: 0
|
2023-02-13 16:45:35 +00:00
|
|
|
cwe-id: CWE-200
|
2022-12-12 17:49:20 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 4
|
2022-12-12 17:49:20 +00:00
|
|
|
github-query: filename:golangci.yml
|
2022-12-10 13:46:16 +00:00
|
|
|
tags: exposure,golang,devops,cicd
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-12-10 13:46:16 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.golangci.yml"
|
|
|
|
- "{{BaseURL}}/.golangci.yaml"
|
|
|
|
- "{{BaseURL}}/.golangci.toml"
|
2022-12-10 16:42:01 +00:00
|
|
|
- "{{BaseURL}}/.golangci.json"
|
2022-12-10 13:46:16 +00:00
|
|
|
|
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-12-10 13:46:16 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'linters:'
|
|
|
|
- 'linters-settings:'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402205d5aa6bf2de57b26125d3757839c5c19d7302b22861b7dc8c947d2de76883c50022005328b1b52b568178c7327e8e3d42b883ae76bb9104f4acf3930c95a72adc787:922c64590222798bb761d5b6d8e72950
|