VYPR

npm · Malicious package advisory

Malware

oracle-redis

GHSA-8m7m-r8mw-mvq2

Malicious code in oracle-redis (npm)

Details

**Severity:** Critical

**Affected versions:** `= 5.11.3`

## Source: amazon-inspector (c800d0651330b1c1cd5d9c5cb2b6966eecefb2d2c28949d0670f485d820db3a6)
The package publishes as `oracle-redis` but ships a verbatim copy of the ioredis README, source tree, and repository URL (`git://github.com/luin/ioredis.git`), presenting itself as ioredis under a different name. The `package.json` declares two additional runtime dependencies that are not part of ioredis's real dependency set and are never imported anywhere in the shipped `built/` source: `redis-type-intel` ^1.10.5 and `pino-ulid` ^2.12.2. Because they are ordinary `dependencies` with caret ranges, `npm install oracle-redis` resolves and installs those two packages (and their transitive graph) into the installer's `node_modules`, executing whatever lifecycle scripts they declare, even though nothing in the ioredis code being wrapped ever loads them. The combination of a name-squat lure over a popular library plus unused, caret-pinned extra dependencies is a dependency-delivery shape: the harm, if any, arrives through the transitive install of the extra names rather than through this tarball's own code.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/39358a8292b2512d6ac0a00210489c0550399f2d/osv/malicious/npm/oracle-redis/MAL-2026-16390.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/39358a8292b2512d6ac0a00210489c0550399f2d/osv/malicious/npm/oracle-redis/MAL-2026-16390.json
- https://www.npmjs.com/package/oracle-redis/v/5.11.3
- https://github.com/advisories/GHSA-8m7m-r8mw-mvq2

Compromised versions (1)

  • = 5.11.3

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.