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

- Database: OpenSSF
- Malicious package: yes
- Published: 2026-05-19
- Modified: 2026-05-19

## Affected versions

- @cap-js/openapi (npm): 1.4.1

## Description

---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (243c059793e8b277fc77959046b7b064cb740d568fa53e4d30b9075660d9dab5)
The package @cap-js/openapi was found to contain malicious code.

## Source: google-open-source-security (847ef6b381d410bf176f7414a6f0fbbcf46a5f39b6d9011e126b279bd2d781df)
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.

## References

- https://socket.dev/blog/antv-packages-compromised
- https://safedep.io/mini-shai-hulud-strikes-again-314-npm-packages-compromised/
- https://opensourcemalware.com/blog/teampcp-compromises-npm-maintainer-with-over-540-packages

Page: https://cve.now/MAL-2026-4161

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
