id: vercel-config-file

info:
  name: Vercel Config File - File Disclosure
  author: DhiyaneshDk
  severity: low
  description: |
    Vercel Config file is exposed.
  reference:
    - https://vercel.com/docs/project-configuration
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"vercel.json"
  tags: exposure,files,vercel

http:
  - method: GET
    path:
      - '{{BaseURL}}/vercel.json'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"builds": ['
          - '"routes": ['
          - '"use": "@vercel'
        condition: and
        case-insensitive: true

      - type: word
        part: content_type
        words:
          - 'application/json'
# digest: 4a0a00473045022052706895af5261d0df58568831d8f7189f897e12b200d23fba6fef1fbf5f3b5e022100eab35b69366b9c09c60dcebac1e18d67b7c811ab9367ba8f63377f9d5f5661d1:922c64590222798bb761d5b6d8e72950