VYPR

npm · Malicious package advisory

Malware

ir-annuities-client-authentication-module

GHSA-7q78-68r2-9222

Malicious code in ir-annuities-client-authentication-module (npm)

Details

**Severity:** Critical

**Affected versions:** `= 30.0.0`

## Source: amazon-inspector (0d813fc9c0831847a602c97803b7e53603edfb6acef4386e4cde2927c2a7a297)
package.json declares a dependency whose key equals the package's own name (`ir-annuities-client-authentication-module`) and whose value is a plain HTTPS URL to a non-registry host (`https://repo.securityctrl.com/ir-annuities-client-authentication-module`) instead of a semver range. On `npm install`, npm fetches whatever bytes that URL currently returns and installs them as this dependency, with no version pin, no integrity hash, and no registry provenance; any lifecycle scripts contained in the fetched artifact execute on the installer. The dependency key matching the package's own name creates a dependency-confusion shape that can win resolution against an internal package of the same name. The shipped index.js is an inert stub, so the manifest itself is the delivery mechanism — the absence of local scripts does not prevent the fetch or its lifecycle execution.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/d75ebb673b0185a99abe46e9e4a60aaa467fa7d8/osv/malicious/npm/ir-annuities-client-authentication-module/MAL-2026-15536.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/d75ebb673b0185a99abe46e9e4a60aaa467fa7d8/osv/malicious/npm/ir-annuities-client-authentication-module/MAL-2026-15536.json
- https://www.npmjs.com/package/ir-annuities-client-authentication-module/v/30.0.0
- https://github.com/advisories/GHSA-7q78-68r2-9222

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.