VYPR

npm · Malicious package advisory

Malware

confluence-rest

GHSA-wxw7-x2qj-6jh2

Malicious code in confluence-rest (npm)

Details

**Severity:** Critical

**Affected versions:** `= 30.0.0`

## Source: amazon-inspector (5d314e75faa527b1c10dbc34b2867180fb0726f2547d9b0edd0564aec3e38fd8)
package.json declares a self-referential dependency whose key equals the package's own name (`confluence-rest`) and whose value is the bare HTTPS URL `https://repo.securityctrl.com/confluence-rest` rather than a semver range. On `npm install`, npm resolves that URL and installs whatever tarball the host returns, running any lifecycle scripts inside it, with no version pin and no integrity check. The shipped index.js is an inert stub, so the manifest URL is the entire code-delivery path for the package. Whoever controls repo.securityctrl.com controls code that executes on the installer's machine at install time, and the self-referential dependency-confusion shape (same name as the published package, version 30.0.0 sufficient to win resolution against a legitimate internal package of the same name) indicates targeting of internal-package resolution.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/d75ebb673b0185a99abe46e9e4a60aaa467fa7d8/osv/malicious/npm/confluence-rest/MAL-2026-15532.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/d75ebb673b0185a99abe46e9e4a60aaa467fa7d8/osv/malicious/npm/confluence-rest/MAL-2026-15532.json
- https://www.npmjs.com/package/confluence-rest/v/30.0.0
- https://github.com/advisories/GHSA-wxw7-x2qj-6jh2

Compromised versions (1)

  • = 30.0.0

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