id: npmjs

info:
  name: NPMjs User Name Information - Detect
  author: olearycrew
  severity: info
  description: NPMjs 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,npmjs

self-contained: true

http:
  - method: GET
    path:
      - "https://www.npmjs.com/~{{user}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Your profile picture'

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100d555ccea5f3527ec87a564c5e07c3806771eab582e84b59f745d14dbc54c643a0221009451a66aa194728332609c77f999976f7db2dd5a8361a1effbc3194cafd4fde7:922c64590222798bb761d5b6d8e72950