id: rubygems

info:
  name: RubyGems User Name Information - Detect
  author: cheesymoon
  severity: info
  description: RubyGems.org 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,rubygems

self-contained: true

http:
  - method: GET
    path:
      - "https://rubygems.org/profiles/{{user}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Total gems"
          - "RubyGems"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a004630440220308504f650fbbfb3a2c8bfc98f804ab65487de3d5196e3046b5f2a6579095a55022073f24df1f32ae82c14edea4726300c19d3f9f712d476d8b57b0cb87885cb6ee2:922c64590222798bb761d5b6d8e72950