Skip to content
Heist/ feed
Unrated

Malicious code in nx-app (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (8671a9b563cebe9de36365a80edc1f242be492933cadb3e45ea590c8c5e1e115) package.json declares its own name `nx-app` as a dependency whose value is a raw HTTPS URL (`https://repo.securityctrl.com/nx-app`) rather than a semver range against the npm registry. On `npm install`, npm fetches a tarball from that URL and runs any lifecycle scripts it contains, with no version pin, no integrity hash, and no signature check. Whoever controls repo.securityctrl.com controls code executed on the installer's machine at install time. The self-referential dependency key (matching the package's own name) is a dependency-confusion shape that forces resolution to the off-registry URL even when a registry-hosted `nx-app` exists, and the shipped in-tree source is an inert stub so the manifest URL is the sole payload delivery vector. ## Source: ghsa-malware (6c7af1fac9e695388df59eb95fd3170fedc1b9ae8a282f9de84d5259aea78f82) 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.

Announced Group revision 1
Original source ↗

MAL-2026-15516

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-15516

nx-app

Source reference: /affected/0/package/name

Affected versions
9999.0.0-security-test

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "nx-app",
      "purl": "pkg:npm/nx-app",
      "ecosystem": "npm"
    },
    "versions": [
      "9999.0.0-security-test"
    ],
    "database_specific": {
      "cwes": [
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        }
      ],
      "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nx-app/MAL-2026-15516.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "package.json",
            "tlsh": "39e0c2294f52127306cb126b483d946773228fab14047c0a96cb041c955d9b77df929c",
            "sha256": "ce518e40fd9305176294ce52bafefaf7975cbed9336636b484591714ddc89d96"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "f9aa6920f0b5b07280705626fe37ae347a85b24a",
              "sha512_sri": "sha512-axRylTiLa8ZO0M2S7OW08X+FMyuqaPgTTD70PFW0xewFHic/fz8JC1Th3iXMT7gv7GPa84jNk5pr1XCYLxatKQ=="
            },
            "filename": "nx-app-9999.0.0-security-test.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#13619 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement