id: mastodon-api

info:
  name: Mastodon-API User Name Information - Detect
  author: dwisiswant0
  severity: info
  description: Mastodon-API user name information check was conducted.
  classification:
    cvss-metrics: CVSS:3.1/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: osint,osint-social,mastodon-api

self-contained: true

http:
  - method: GET
    path:
      - "https://mastodon.social/api/v2/search?q={{user}}"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        part: body
        words:
          - "display_name"

# digest: 4a0a0047304502202065fdc4674dcbb30e4a3aa9950e07e4cb4ef0dc375864ff4dd536c2dbb529cf022100b7e28881ee5791e740e426938433679650c979d7c87ff85c42730a8ad1178d30:922c64590222798bb761d5b6d8e72950
