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,vuln

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: 4a0a00473045022048ab5f3c16b8887e06eee899dd6014a2814f0ea3bb98e30a9a20e322b3ce9324022100f52e8bdcda0d27b46f04c528691a2d2a52cb8f09167ba85b2b7e9b1cbbf0f17c:922c64590222798bb761d5b6d8e72950