# GHSA-M6VR-GMW5-VFV7: Malicious code in retry-utils-testmetest (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-20
- Modified: 2026-11-20

## Affected versions

- retry-utils-testmetest (npm): 1.0.3

## Description

## Source: amazon-inspector (f0ca64d501c3b7cb6078a6e17deca6f52a201698a52ba20e025db67c466f8f31)
The package advertises itself as a lightweight retry utility but ships no library code consistent with that purpose. binding.gyp declares a stub target with no native sources (.c/.cc/.cpp) and uses GYP command-expansion syntax (`<!(node index.js...)`) in an action, causing npm's automatic `node-gyp rebuild` to execute index.js at install time. index.js is a multi-layer obfuscated loader: a Caesar-shifted string is passed to eval; the decoded loader AES-128-GCM-decrypts an in-file blob (yielding a getBunPath helper), then AES-128-GCM-decrypts and brotli-decompresses lib_native.dat into a second-stage script, writes it to a temporary file, and spawns it. Execution is routed through the Bun runtime (via getBunPath()) rather than Node, evading Node-based install-time inspection. The ~319 KB lib_native.dat is named to masquerade as a native shared library but contains high-entropy AES-128-GCM ciphertext with no plaintext strings. The combination — stub binding.gyp with no native sources used only to trigger install-time execution, Caesar+AES+Brotli layered obfuscation, encrypted payload disguised as a native library, and alternate-runtime execution via Bun — is a dropper delivering attacker-controlled code to any machine that runs `npm install` on this package.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6a29b90f18642a9862088bc4c1f3888ea8ac07f3/osv/malicious/npm/retry-utils-testmetest/MAL-2026-20279.json))

## References

- https://github.com/ossf/malicious-packages/blob/6a29b90f18642a9862088bc4c1f3888ea8ac07f3/osv/malicious/npm/retry-utils-testmetest/MAL-2026-20279.json
- https://www.npmjs.com/package/retry-utils-testmetest/v/1.0.3
- https://github.com/advisories/GHSA-m6vr-gmw5-vfv7

Page: https://cve.now/GHSA-M6VR-GMW5-VFV7

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