MAL-2026-12289

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/twork-data-services-counterfree/MAL-2026-12289.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12289
Aliases
  • GHSA-5g8h-2mx8-cxhm
Published
2026-08-05T09:15:13Z
Modified
2026-08-26T01:21:16Z
Summary
Malicious code in twork-data-services-counterfree (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (d2736d9321d2c88c7c2ba7202eefb1c7d0f24106f97480043483ee47ca7d19f9)

index.js unconditionally requires./init on load. init.js selects a platform-specific binary path, fetches an opaque payload over HTTPS from attacker-controlled Cloudflare Workers hosts whose hostnames are assembled at runtime by joining short string fragments (e.g. 'oob-worker.cf102' + '-baf.work' + 'ers.' + 'dev' → oob-worker.cf102-baf.workers.dev; sibling hosts oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf99-9b3.workers.dev). If HTTPS mirrors are unreachable, the loader falls back to a DNS-TXT covert channel: it resolves TXT on c. under *.dl.well1.site (tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, win.dl.well1.site) to obtain a chunk count, resolves numbered subdomains to collect base64 chunks, and reassembles the payload. The bytes are written to /tmp or %TEMP% under deceptive names masquerading as system tooling (dotnet_diag.exe on Windows,.cache /.analytics_state on POSIX), chmod 0o755 is applied on POSIX, and the binary is spawned detached via cp.spawn('/bin/sh', ['-c', fp+' &'], {detached:true}).unref() or the Windows cmd equivalent. Fires on require() of the package, so any consumer that installs and loads twork-data-services-counterfree executes attacker-controlled code with the installer's privileges.

Source: ghsa-malware (49fa97e8b4aabf0feff8df0102a3ef0cdf74cd492286830435a4d2bbdfef86de)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-014609",
            "import_time": "2026-08-05T09:28:30.238253944Z",
            "modified_time": "2026-08-05T09:15:13Z",
            "sha256": "d2736d9321d2c88c7c2ba7202eefb1c7d0f24106f97480043483ee47ca7d19f9",
            "source": "amazon-inspector",
            "versions": [
                "20.1.3"
            ]
        },
        {
            "id": "GHSA-5g8h-2mx8-cxhm",
            "import_time": "2026-08-25T17:25:28.087818797Z",
            "modified_time": "2026-08-25T16:31:31Z",
            "sha256": "49fa97e8b4aabf0feff8df0102a3ef0cdf74cd492286830435a4d2bbdfef86de",
            "source": "ghsa-malware",
            "versions": [
                "20.1.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / twork-data-services-counterfree

Package

Name
twork-data-services-counterfree
View open source insights on deps.dev
Purl
pkg:npm/twork-data-services-counterfree

Affected ranges

Affected versions

20.*
20.1.3

Database specific

cwes
[
    {
        "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.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "_init.js",
            "sha256": "f6dfcb35519ccbe0723eb7363b2361bf88ed745cb274ee99655ac1af4a790b16",
            "tlsh": "33a1a69a156a711847b0a7e4c7174415f65bf6633380c294f79ca5980fb312482b2ffc"
        }
    ],
    "package_integrity": [
        {
            "filename": "twork-data-services-counterfree-20.1.3.tgz",
            "hashes": {
                "sha1": "7e20fdef9fb6c2c99b313961d7432d828b5f8ca0",
                "sha512_sri": "sha512-hgl2DYi+OPkX0VSlKnKet9iK7K7DLOdmnPXKHwsm08IfdhPSOReoJomf56dASvNd+RPbn7ccueS1lpG6XpSStg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/twork-data-services-counterfree/MAL-2026-12289.json"