id: scrutinizer-config

info:
  name: Scrutinizer Config - Detect
  author: DhiyaneshDK
  severity: info
  description: Scrutinizer configuration information was detected.
  reference:
    - https://scrutinizer-ci.com/docs/configuration
    - https://scrutinizer-ci.com/
  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: 1
    shodan-query: html:"scrutinizer.yml"
  tags: exposure,scrutinizer,config

http:
  - method: GET
    path:
      - '{{BaseURL}}/.scrutinizer.yml'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'build:'
          - 'filter:'
          - 'tools:'
        condition: and

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100e7476b3190eb6d9e956dedaf97f2dcf3dba85cdf39b7127cfb03e3c7e8666994022100a3d192b5d391d6c139eadfe5566f8ad5a50ee1e54e679589b05fb0d351e4b3cd:922c64590222798bb761d5b6d8e72950