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