---
title: "CVE-2026-46412: Malicious code in @beproduct/nestjs-auth (0.1.2 through 0.1.19) — Mini Shai-Hulud worm"
url: https://erroneo.us/security/cve/CVE-2026-46412/
description: "CVE-2026-46412 (@beproduct/nestjs-auth (npm)): @beproduct/nestjs-auth is a NestJS authentication module for BeProduct IDS (Identity Server) with OpenID…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-07-20
date_modified: 2026-07-20
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-46412"
kev: false
cvss: 10
epss: 0.00765
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.8% , percentile 55: FIRST’s model estimates a 0.8% chance of exploitation activity in the next 30 days, higher than 55% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes @beproduct/nestjs-auth (npm) >= 0.1.2, <= 0.1.19, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

@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

## Affected packages

- npm `@beproduct/nestjs-auth` >= 0.1.2, <= 0.1.19 → fixed: none listed

## Affected products (CVE record)

- BeProduct beproduct-org-nestjs-auth: >= 0.1.2, <= 0.1.19

## Severity

- GitHub_M CVSS 3.1: 10 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 10.0 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.77% probability of exploitation activity in the next 30 days; percentile 55.

## Sources

- [GitHub Advisory GHSA-6xwp-cp5h-q856](https://github.com/advisories/GHSA-6xwp-cp5h-q856)
- [CVE.org record CVE-2026-46412](https://www.cve.org/CVERecord?id=CVE-2026-46412)
- [NVD entry CVE-2026-46412](https://nvd.nist.gov/vuln/detail/CVE-2026-46412)
- [github.com](https://github.com/BeProduct/beproduct-org-nestjs-auth/security/advisories/GHSA-6xwp-cp5h-q856)
- [aikido.dev](https://www.aikido.dev/blog/checklist-github-actions)
- [aikido.dev](https://www.aikido.dev/blog/mini-shai-hulud-is-back-tanstack-compromised)

---
Source page: https://erroneo.us/security/cve/CVE-2026-46412/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
