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