{"id":"CVE-2026-46412","sourceIdentifier":"security-advisories@github.com","published":"2026-07-20T16:17:01.000","lastModified":"2026-10-24T20:10:00.137","vulnStatus":"Awaiting Analysis","cveTags":[],"descriptions":[{"lang":"en","value":"@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."},{"lang":"es","value":"“@beproduct/nestjs-auth” es un módulo de autenticación de NestJS para BeProduct IDS (Identity Server) con soporte OpenID Connect. Entre el 11-05-2026 20:19 UTC y las 22:56 UTC, un atacante utilizó un token de publicación de npm comprometido para publicar 18 versiones maliciosas de “@beproduct/nestjs-auth” (0.1.2 a 0.1.19). La carga útil de postinstalación intentó recolectar tokens de npm (de “~/.npmrc”); tokens de acceso personal de GitHub, tokens de OAuth (“gho_*”), y tokens OIDC de Actions; credenciales de AWS (de variables de entorno y “~/.aws/credentials”); tokens de HashiCorp Vault; y otros secretos presentes en las variables de entorno. La versión “0.1.20” es una republicación limpia del árbol de código fuente original “0.1.1”. Cualquiera que haya instalado cualquier versión en el rango “>=0.1.2 menor o igual que 0.1.19” debería eliminar el paquete y limpiar la caché de npm; instalar la versión limpia; rotar cada credencial presente en el entorno de instalación, incluyendo todos los tokens de publicación de npm, todos los PATs y tokens de OAuth de GitHub, claves de acceso de AWS, tokens de HashiCorp Vault, y cualquier otro secreto que estuviera en las variables de entorno o archivos de configuración en el momento de la instalación; escanear los hosts afectados en busca de indicadores de compromiso y, si se encuentra alguno, tratar el host como comprometido y reinstalar la imagen; y verificar el historial del repositorio en busca de adiciones inesperadas en los directorios “.claude/” o “.vscode/”. Se sabe que el gusano realiza commits de “setup.mjs” + configuraciones de hook a las ramas de PR a través de tiempos de ejecución de agentes automatizados."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"BeProduct","product":"beproduct-org-nestjs-auth","versions":[{"version":">= 0.1.2, <= 0.1.19","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","baseScore":10.0,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":6.0}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-20T15:32:17.643031Z","id":"CVE-2026-46412","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Primary","description":[{"lang":"en","value":"CWE-506"}]}],"references":[{"url":"https://github.com/BeProduct/beproduct-org-nestjs-auth/security/advisories/GHSA-6xwp-cp5h-q856","source":"security-advisories@github.com"},{"url":"https://www.aikido.dev/blog/checklist-github-actions","source":"security-advisories@github.com"},{"url":"https://www.aikido.dev/blog/mini-shai-hulud-is-back-tanstack-compromised","source":"security-advisories@github.com"}]}