---
canonical: "https://firewall.lpm.dev/npm/@petitcode/eb-retry"
markdown: "https://firewall.lpm.dev/npm/@petitcode/eb-retry/report.md"
package: "@petitcode/eb-retry"
report_status: "published"
title: "@petitcode/eb-retry@1.3.6 npm security report"
verdict: "malicious"
version: "1.3.6"
---

# @petitcode/eb-retry@1.3.6 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Blocked by malware advisory** — OpenSSF/OSV malware advisory MAL-2026-6310 identifies this version as malicious and supplies the Firewall block.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Trusted malware advisory block
- **Public report status:** Published
- **Threat category:** Malware
- **Selected version:** 1.3.6
- **Selected version is latest:** Yes
- **Analysis source:** OpenSSF/OSV Malicious Advisory (OpenSSF/OSV)

OpenSSF/OSV malware advisory MAL-2026-6310 identifies this version as malicious and supplies the Firewall block.

OpenSSF/OSV advisory MAL-2026-6310 confirms this npm version as malicious. @petitcode/eb-retry (malicious version 1.3.5, published by petitcode-eq1efk@wshu.net) is a trojanized npm package belonging to the wshu.net credential-stealer campaign. The campaign published trojanized look-alike utility packages across 12+ scopes whose publisher accounts all follow the pattern \<scope\>-\<6 random chars\>@wshu.net, with every scope created on June 4, 2026 in a ~40-minute burst...

## Latest scan
- **Scanner version:** external-osv-malicious-v1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 100.0%
- **Started:** 2026-06-30T15:00:00.099Z
- **Finished:** 2026-06-30T15:00:00.099Z
- **Download time:** Not available
- **Static scan time:** Not available
- **AI review time:** Not available
- **Total time:** Not available

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

No additional public attack-surface or AI-review details are available.

## Affected versions and remediation

This report applies to @petitcode/eb-retry@1.3.6.

The same advisory and Firewall decision cover these 4 recorded versions: 1.3.3, 1.3.4, 1.3.5, 1.3.6.

- Avoid installing @petitcode/eb-retry@1.3.6. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.

## Public findings

### 1. High: Osv Malicious Advisory
- **Category:** External Intel
- **Confidence:** 100.0%

@petitcode/eb-retry (malicious version 1.3.5, published by petitcode-eq1efk@wshu.net) is a trojanized npm package belonging to the wshu.net credential-stealer campaign. The campaign published trojanized look-alike utility packages across 12+ scopes whose publisher accounts all follow the pattern \<scope\>-\<6 random chars\>@wshu.net, with every scope created on June 4, 2026 in a ~40-minute burst. This package masquerades as a retry wrapper (a decoy copy of the popular retry utility) and ships real, working utility code so it passes a glance, while bundling a much larger malicious payload at lib/warmup.js. package.json declares a postinstall hook ("node lib/warmup.js") that runs the payload automatically on npm install. It is additionally a dual-trigger variant: even if postinstall is skipped with --ignore-scripts, the payload still executes at require-time the first time application code calls retry(). The payload is heavily obfuscated with javascript-obfuscator (hex-named identifiers, a while (!!\[\]) array-rotation IIFE, base64+RC4 string decoding, control-flow flattening, and runtime-decrypted module resolution to stay out of the static module graph). At runtime it is a Chromium browser credential stealer: it reads Chromium Cookies and Login Data and decrypts saved passwords protected by AES-256-GCM (the v10/v11 app-bound key schemes), then exfiltrates them over HTTPS using a spoofed Mozilla/5.0 user agent. Malicious payload lib/warmup.js SHA-256: 32d02f806d58a6670f7cc9b93f1d85b22e0e0f535e1f90a62d86918033896f54.

---

\#\# Source: amazon-inspector (4386267addad1d2b89d4d471966e028ea201469edd6ece252f9710cd679c20aa) Package advertises itself as a small retry/exponential-backoff helper (lib/index.js is ~50 lines) but ships a 282KB obfuscator.io-packed lib/warmup.js (and matching lib/warmup.mjs at 250KB) whose runPrepare() is invoked unconditionally on every require('@petitcode/eb-retry'). The same file is self-executing as a standalone script via \`if (require.main === module) onInstall();\` so it also runs during postinstall flows. The packed code contains AES-256-GCM decryption of an embedded encrypted blob (which carries a remote URL), an HTTPS fetch of additional payload bytes, and a child\_process.spawn of process.execPath with the original argv — i.e. it re-runs Node against attacker-supplied code. Obfuscator.io packing (1267-element rotated string array, RC4-style decoder, control-flow flattening, self-defending console overrides, debug-protection timer that crashes under devtools/inspector) is used to hide the URL, key derivation, and exec invocation. The package.json points repository, bugs, and homepage URLs at github.com/tim-kos/node-retry — an unrelated legitimate project by Tim Koschützki — while the actual publisher is \`petitcode \<petitcode@pm.me\>\`, a deliberate impersonation to lure developers searching for retry utilities. Any installer that runs \`npm install @petitcode/eb-retry\` or any code path that requires the package will execute the dropper.

\#\# Source: ghsa-malware (5adfb1426fa89276ce6f680e31d163dadabd04cff4e7ab5b9b7a18e53c9b2d94) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** @petitcode/eb-retry
- **Ecosystem:** npm
- **Version:** 1.3.6
- **Version published:** 2026-06-18T08:08:07.401Z
- **Package first seen:** 2026-06-30T15:00:00.099Z
- **Package last seen:** 2026-06-30T15:00:00.099Z
- **Known versions:** 4
- **Latest version:** 1.3.6
- **Appeal under review:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@petitcode/eb-retry>)
- [OpenSSF/OSV advisory](<https://osv.dev/vulnerability/MAL-2026-6310>)
- [PACKAGE](<https://www.npmjs.com/package/@petitcode/eb-retry/v/1.3.4>)
- [PACKAGE](<https://www.npmjs.com/package/@petitcode/eb-retry/v/1.3.5>)
- [PACKAGE](<https://www.npmjs.com/package/@petitcode/eb-retry/v/1.3.6>)
- [PACKAGE](<https://www.npmjs.com/package/@petitcode/eb-retry/v/1.3.3>)
- [REPORT](<https://safedep.io/wshu-net-npm-credential-stealer-campaign/>)
- [PACKAGE](<https://www.npmjs.com/package/@petitcode/eb-retry>)
- [ADVISORY](<https://github.com/advisories/GHSA-vfmg-ghq7-3rv3>)
