MAL-2026-4161 Malicious code in @cap-js/openapi (npm)

Malicious package Published
Package
@cap-js/openapi
Registry
npm

What is MAL-2026-4161?

MAL-2026-4161 is a malicious package in @cap-js/openapi, published on 19 May 2026.

Official description

The package @cap-js/openapi was found to contain malicious code.

This package was compromised as part of the ongoing "Mini Shai-Hulud is back" worm by the TeamPCP threat actor.

The package will steal credentials and then propogate it to every package it has access to. The package also attempts to remain persistent.

What should I do about MAL-2026-4161?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2026-4161 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free