GolangCI-Lint Configuration File - Detect
ID: golangci-config
Severity: info
Author: Hardik-Solanki
Tags: exposure,golang,devops,cicd
Description
Section titled “Description”GolangCI-Lint configuration file was detected.
YAML Source
Section titled “YAML Source”id: golangci-config
info: name: GolangCI-Lint Configuration File - Detect author: Hardik-Solanki severity: info description: GolangCI-Lint configuration file was detected. reference: - https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt - https://golangci-lint.run/usage/configuration/ 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: 4 github-query: filename:golangci.yml tags: exposure,golang,devops,cicd
http: - method: GET path: - "{{BaseURL}}/.golangci.yml" - "{{BaseURL}}/.golangci.yaml" - "{{BaseURL}}/.golangci.toml" - "{{BaseURL}}/.golangci.json"
stop-at-first-match: true
matchers-condition: and matchers: - type: word part: body words: - 'linters:' - 'linters-settings:' condition: and
- type: status status: - 200# digest: 4a0a00473045022057a97e592c9eeace98cfe7af3bb2e2723d31bab63a57605a5fabed488c2a9e2d022100cc09d0654a233df92a8cf993dfb157f88b2f52e1ac01d03f2c8cc7704c6f0b6d:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposures/configs/golangci-config.yaml"