id: rubygems-api-key info: name: RubyGems API Key author: DhiyaneshDK severity: info reference: - https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/rubygems.yml - https://guides.rubygems.org/rubygems-org-api/ - https://guides.rubygems.org/api-key-scopes/ metadata: verified: true max-request: 1 tags: rubygems,token,exposure,ruby http: - method: GET path: - "{{BaseURL}}" extractors: - type: regex part: body regex: - "(rubygems_[a-f0-9]{48})" # digest: 490a004630440220123961dfef1d64318dcfe764b32556f4e9e0e21f9a2bdf6cc4c435543f1db09802201e58351ce5e1c0d9b08c55926f4bece10bcbd68e1dbe51329ceb1649516f2d5c:922c64590222798bb761d5b6d8e72950