Skip to content
Heist/ feed
Unrated

Malicious code in test-agency-assignment-02 (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e9944ea8ca21c0670c4b718a12427e8ca7330571ef5a9198a60b05f75038fe73) The tarball contains only package.json and 4444.vbs; the declared main entry (index.js) is absent. package.json defines a postinstall script `wscript.exe 4444.vbs`, so on `npm install` on Windows the VBScript executes automatically. 4444.vbs is heavily obfuscated (colon-delimited XOR-encoded CreateObject strings, embedded AES S-box and ChaCha20-IETF routines, and 600+ base64 fragments reconstructed at runtime) and presents cover strings identifying itself as `Device Telemetry Aggregator / Verdant Signals Corp.`. It reconstructs an encrypted payload, writes it to %TEMP% as a `pf*.dat` file, and invokes powershell.exe to perform process hollowing of the decoded loader. The package ships no library code — its only reachable behavior is the install-time dropper.

Announced Group revision 1
Original source ↗

MAL-2026-17297

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-17297

test-agency-assignment-02

Source reference: /affected/0/package/name

Affected versions
1.0.5

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.

[
  {
    "package": {
      "name": "test-agency-assignment-02",
      "purl": "pkg:npm/test-agency-assignment-02",
      "ecosystem": "npm"
    },
    "versions": [
      "1.0.5"
    ],
    "database_specific": {
      "cwes": [
        {
          "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/test-agency-assignment-02/MAL-2026-17297.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "package.json",
            "tlsh": "01d0a7274945563369f446640935991ab5128f2f51314c0bb2f3651890e37b24889b06",
            "sha256": "ab92d275016fd5c87f726eaacc6d7a83ad87f62002a4cee7a07de79a8ee8ef5c"
          },
          {
            "path": "4444.vbs",
            "tlsh": "daf4f034658a68abb63bcafeace6c72935147c053040606c35deb6581bfdcd15bda0f8",
            "sha256": "89a31ec0719b2137938c892385823ffb993d2d903e1fdfe17b246ba88531609a"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "02e66c207376d2e743cca7df0001733c0d24fb53",
              "sha512_sri": "sha512-pPlsB2BA0XQxORXa91N7mwr/AxfDsnPgfW/jddsANiFpHMcPNP+91cIojl+spJej3DfUTosTyNnV7sbB6hdKBA=="
            },
            "filename": "test-agency-assignment-02-1.0.5.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

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