id: sass-lint

info:
  name: Sass Lint File Exposure
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/sasstools/sass-lint/blob/develop/docs/sass-lint.yml
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"sass-lint.yml"
  tags: exposure,sass,devops,cicd,files

http:
  - method: GET
    path:
      - "{{BaseURL}}/.sass-lint.yml"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'options:'
          - 'formatter:'
          - 'files:'
        condition: and

      - type: status
        status:
          - 200

# digest: 4a0a004730450220180dd2ff542e00f8d57c6b2cb8debbc5ed79154fa4ad52be3e0527fa50d740ff022100e09b20ac3f2d4f2890a7246627805cde4d0e737ad36a3c47bb0222fef8d807f7:922c64590222798bb761d5b6d8e72950
