Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@medusajs/user

Latest version: v2.23.2-preview-20261130205001

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: nicolas-gorga, olijuhl, sebrindom, shahednasser, sradevski
37,518 Stars
5,585 Forks
136 Versions
1.4M Downloads
TypeScript Repo language

Scan summary

@medusajs/user was last scanned on 30 Nov 2026 at version 2.23.2-preview-20261130205001. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 136 versions; the latest 5 were published within 4 days (27–30 Nov 2026).
  • Findings: No rules fired in version 2.23.2-preview-20261130205001.
  • Downloads: 1,388,537 downloads.

Versions

136 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.23.2-preview-20261130205001 LATEST 30 Nov 2026 No rules fired
2.23.2-snapshot-20261130133824 30 Nov 2026 No rules fired
2.23.2-snapshot-20261130130543 30 Nov 2026 No rules fired
2.23.2-snapshot-20261127104753 27 Nov 2026 Not shown
2.23.2-snapshot-20261127103409 27 Nov 2026 Not shown

No rules fired in 2.23.2-preview-20261130205001

Findings

Findings for v2.23.2-preview-20261130205001. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 2.23.2-preview-20261130205001; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

User Module for Medusa: manages admin users and invites, including generating and validating invite tokens. It's installed and registered by default with @medusajs/medusa, which passes it the JWT settings from your project config, so Medusa applications use it through the Modules.USER service rather than installing this package directly.

At a glance

Package @medusajs/user
Type Commerce Module
Module key Modules.USER ("user")
Registered by default Yes
Import from @medusajs/medusa/user

Installation

No installation needed. The module ships with @medusajs/medusa and is registered by defineConfig.

Usage

To customize the module's options, such as the invite token's validity, register it in medusa-config.ts:

import { defineConfig } from "@medusajs/framework/utils"

module.exports = defineConfig({
  // ...
  modules: [
    {
      resolve: "@medusajs/medusa/user",
      options: {
        jwt_secret: process.env.JWT_SECRET,
        valid_duration: 60 * 60 * 24,
      },
    },
  ],
})

Configuration

Option Type Description Default
jwt_secret string Secret used to sign invite tokens (or the private key when using asymmetric signing). Required: the module throws on startup if it's missing. projectConfig.http.jwtSecret, then the JWT_SECRET environment variable (set by defineConfig)
jwt_public_key string Public key used to verify invite tokens when using asymmetric signing. projectConfig.http.jwtPublicKey (set by defineConfig)
valid_duration number How long an invite token is valid, in seconds. jwt_options.expiresIn, then 86400 (24 hours)
jwt_options object jsonwebtoken sign options, such as algorithm. projectConfig.http.jwtOptions (set by defineConfig)
jwt_verify_options object jsonwebtoken verify options, such as algorithms. Falls back to jwt_options when not set. projectConfig.http.jwtVerifyOptions (set by defineConfig)

Resources

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @medusajs/user

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229