id: api-vercel

info:
  name: Vercel - API Detection
  author: dwisiswant0
  severity: info
  description: Vercel API was detected.
  reference:
    - https://vercel.com/docs/rest-api
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: token-spray,vercel

self-contained: true

http:
  - method: GET
    path:
      - "https://api.vercel.com/www/user"

    headers:
      Authorization: Bearer {{token}}
    matchers:
      - type: word
        part: body
        words:
          - '"user":'
          - '"username":'
          - '"email":'
        condition: and
# digest: 4a0a00473045022100c2cd7a992433fc01b13d0307d3d5a87886e527ffeb604f35c892024308db311f02207546c011a04548c446d60fa0f487d964931d346fdd77bf651f99c8d51b4563a8:922c64590222798bb761d5b6d8e72950