id: webpack-mix-js

info:
  name: Webpack Mix File Disclosure
  author: DhiyaneshDk
  severity: info
  classification:
    cpe: cpe:2.3:a:webpack.js:webpack:*:*:*:*:node.js:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: webpack.js
    product: webpack
    shodan-query: html:"webpack.mix.js"
  tags: config,exposure,devops,files

http:
  - method: GET
    path:
      - "{{BaseURL}}/webpack.mix.js"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Mix Asset Management"
          - "const mix"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a0046304402205205e564af5925cb395e1967281bd6173953dc4ec2623d472869d3d98a737ad20220663db0fbd2d9bf97ca6b81c680dceb03d4c01185601bf220ffeb172114ed149e:922c64590222798bb761d5b6d8e72950