Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-46412— Malicious code in @beproduct/nestjs-auth (0.1.2 through 0.1.19) — Mini Shai-Hulud worm

Quick assessment

Affected
BeProduct beproduct-org-nestjs-auth
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

BeProduct @beproduct/nestjs-auth是BeProduct公司的一款基于NestJS框架的身份验证模块。 BeProduct @beproduct/nestjs-auth 0.1.2版本至0.1.19版本存在处理逻辑错误漏洞,该漏洞源于被破坏的npm发布令牌导致发布了18个恶意版本,其安装后有效载荷试图收集npm令牌、GitHub个人访问令牌、OAuth令牌、Actions OIDC令牌、AWS凭证、HashiCorp Vault令牌及环境变量中的其他机密。

CVSS 10.0 · Critical EPSS 0.77% · P54

Affected Version Matrix 1

VendorProduct Version RangeStatus
BeProduct beproduct-org-nestjs-auth >= 0.1.2, <= 0.1.19 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-46412

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Malicious code in @beproduct/nestjs-auth (0.1.2 through 0.1.19) — Mini Shai-Hulud worm
Source: CVE Program / CVE List V5
Vulnerability Description
@beproduct/nestjs-auth is a NestJS authentication module for BeProduct IDS (Identity Server) with OpenID Connect support. Between 2026-05-11 20:19 UTC and 22:56 UTC, an attacker used a compromised npm publish token to publish 18 malicious versions of `@beproduct/nestjs-auth` (0.1.2 through 0.1.19). The postinstall payload attempted to harvest npm tokens (from `~/.npmrc`); GitHub personal access tokens, OAuth tokens (`gho_*`), and Actions OIDC tokens; AWS credentials (from environment variables and `~/.aws/credentials`); HashiCorp Vault tokens; and other secrets present in environment variables. Version `0.1.20` is a clean republish from the original `0.1.1` source tree. Anyone who installed any version in the range `>=0.1.2 <=0.1.19` should remove the package and clean the npm cache; install the clean version; rotate every credential present in the install environment, including all npm publish tokens, all GitHub PATs and OAuth tokens, AWS access keys, HashiCorp Vault tokens, and any other secret that was in env vars or config files at install time; scan affected hosts for indicators of compromise and, if any are found, treat the host as compromised and reimage; and check committed repository history for unexpected additions in `.claude/` or `.vscode/` directories. The worm is known to commit `setup.mjs` + hook configs to PR branches via automated agent runtimes.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
内嵌的恶意代码
Source: CVE Program / CVE List V5
Vulnerability Title
BeProduct @beproduct/nestjs-auth 处理逻辑错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
BeProduct @beproduct/nestjs-auth是BeProduct公司的一款基于NestJS框架的身份验证模块。 BeProduct @beproduct/nestjs-auth 0.1.2版本至0.1.19版本存在处理逻辑错误漏洞,该漏洞源于被破坏的npm发布令牌导致发布了18个恶意版本,其安装后有效载荷试图收集npm令牌、GitHub个人访问令牌、OAuth令牌、Actions OIDC令牌、AWS凭证、HashiCorp Vault令牌及环境变量中的其他机密。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
BeProduct beproduct-org-nestjs-auth >= 0.1.2, <= 0.1.19 -

II. Public POCs for CVE-2026-46412

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8512 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-46412

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-46412 (1)

Security Blog Posts for CVE-2026-46412 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-46412

No comments yet


Leave a comment