Skip to content
Heist/ feed
Unrated

Malicious code in my-ctf-helper-script-9921 (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (41ee1dafe6dce8750ac695c9d13e13c2808e2f35d94bbbcc41a4444a02541409) On require/import, the package's main module executes a top-level fetch to the hardcoded collector URL https://webhook.site/99e9df7b-fe86-4c60-822a-5352b1f9edf0/, appending document.cookie as a query-string parameter. The package has no other advertised functionality; the sole effect of loading it is to send the ambient cookie value to a third-party webhook capture endpoint controlled by whoever provisioned that webhook.site token. webhook.site is a generic ad-hoc data-collection service, unrelated to any legitimate publisher infrastructure. ## Source: ghsa-malware (539e9def7d4d421fa2797a7c169799095f619a7408339e1c0c390b97a4f088f5) 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 Source revision 1
Original source ↗

MAL-2026-16365

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

my-ctf-helper-script-9921

Source reference: /affected/0/package/name

Affected versions
1.0.0

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": "my-ctf-helper-script-9921",
      "purl": "pkg:npm/my-ctf-helper-script-9921",
      "ecosystem": "npm"
    },
    "versions": [
      "1.0.0"
    ],
    "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/my-ctf-helper-script-9921/MAL-2026-16365.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "index.js",
            "tlsh": "06b012ba3506d838195dc0545329ba0ced9573068c87b54acb35abf40fd11138e841f6",
            "sha256": "969a8ea8d6504dfc91c3cbdd09fc3a086589d30f33c7167610c84062c8d509b1"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "43105e5076382a1fe90fe13cd9cb24d0b670988a",
              "sha512_sri": "sha512-7YpIBzgVkVsH82YB8DBILno3dc7hV9B3vM8al3qoN6SMPoIJ0TFQ/J22xBd5nT33lyic62nibwmOYNP7vLqj4g=="
            },
            "filename": "my-ctf-helper-script-9921-1.0.0.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

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