Malicious code in some-very-long-package-name (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (58c08ea2abb307f6ecb9a1896fcc3980e9a1eaf8b29044db67cd985654e1db16) The package is a stub whose main module exports a Proxy that returns a no-op for every property access, providing none of the functionality implied by the package name or its 'compatibility shim' description. Its only real behavior is beacon.cjs, which collects host and install identifiers (hostname, install path, process.cwd(), process.version, package name/user-agent) and POSTs them to the hardcoded bare-IP HTTP endpoint http://185.158.107.175:8787/_ah/dc. The beacon fires both automatically at install time via scripts.postinstall and again when the module is loaded via require(), because index.js invokes beacon.fire(). The shape — stub module, hardcoded non-DNS bare-IP C2 over plain HTTP, collection of installer host identifiers at install and require time — is consistent with a dependency-confusion / internal-name-squat reconnaissance beacon reporting successful installation inside private build environments.
- Products
- some-very-long-package-name
- Affected versions
- 1.0.0, 2.0.0, 2.0.1, 3.0.0, 99.0.1
- Fixed versions
- Not specified
- CVEs
- Not specified
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 05:16 UTC · Revision 1
Source evidence
Malicious code in some-very-long-package-name (npm)
core-osv · Original sourcePublished 11 Oct 2026, 13:54 UTC
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (58c08ea2abb307f6ecb9a1896fcc3980e9a1eaf8b29044db67cd985654e1db16) The package is a stub whose main module exports a Proxy that returns a no-op for every property access, providing none of the functionality implied by the package name or its 'compatibility shim' description. Its only real behavior is beacon.cjs, which collects host and install identifiers (hostname, install path, process.cwd(), process.version, package name/user-agent) and POSTs them to the hardcoded bare-IP HTTP endpoint http://185.158.107.175:8787/_ah/dc. The beacon fires both automatically at install time via scripts.postinstall and again when the module is loaded via require(), because index.js invokes beacon.fire(). The shape — stub module, hardcoded non-DNS bare-IP C2 over plain HTTP, collection of installer host identifiers at install and require time — is consistent with a dependency-confusion / internal-name-squat reconnaissance beacon reporting successful installation inside private build environments.
osv:MAL-2026-17778
some-very-long-package-name
Fixed versions: Not specified
Complete source record
{
"id": "bcf7b104373bffb2e3704e6bbc601e20092fbef1ae0c5dc3814570896fe15a93",
"url": "https://osv.dev/vulnerability/MAL-2026-17778",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Malicious code in some-very-long-package-name (npm)",
"summary": "--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (58c08ea2abb307f6ecb9a1896fcc3980e9a1eaf8b29044db67cd985654e1db16) The package is a stub whose main module exports a Proxy that returns a no-op for every property access, providing none of the functionality implied by the package name or its 'compatibility shim' description. Its only real behavior is beacon.cjs, which collects host and install identifiers (hostname, install path, process.cwd(), process.version, package name/user-agent) and POSTs them to the hardcoded bare-IP HTTP endpoint http://185.158.107.175:8787/_ah/dc. The beacon fires both automatically at install time via scripts.postinstall and again when the module is loaded via require(), because index.js invokes beacon.fire(). The shape — stub module, hardcoded non-DNS bare-IP C2 over plain HTTP, collection of installer host identifiers at install and require time — is consistent with a dependency-confusion / internal-name-squat reconnaissance beacon reporting successful installation inside private build environments.",
"evidence": "osv:MAL-2026-17778",
"products": [
{
"name": {
"value": "some-very-long-package-name",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.0",
"evidence": "/affected/0/versions"
},
{
"value": "1.0.0",
"evidence": "/affected/0/versions"
},
{
"value": "3.0.0",
"evidence": "/affected/0/versions"
},
{
"value": "2.0.1",
"evidence": "/affected/0/versions"
},
{
"value": "99.0.1",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "MAL-2026-17778",
"aliases": [
"MAL-2026-17778"
],
"affected": [
{
"package": {
"name": "some-very-long-package-name",
"purl": "pkg:npm/some-very-long-package-name",
"ecosystem": "npm"
},
"versions": [
"2.0.0",
"1.0.0",
"3.0.0",
"2.0.1",
"99.0.1"
],
"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."
},
{
"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."
},
{
"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/some-very-long-package-name/MAL-2026-17778.json",
"indicators": {
"evidence_files": [
{
"path": "beacon.cjs",
"tlsh": "88314deba8e0a008aaaa7498d54f1409b27af0079401af50f95c82919f6193c33ba8dc",
"sha256": "361835d3d97ac10514094bbe705d86b9274ea5242bc0a7171ae69e3e7522b72f"
},
{
"path": "index.js",
"tlsh": "2201d0d7225661b10b5221a4978f43c4a3b99d74027941d0d84a9226365108c463b8ee",
"sha256": "a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "79da1179b5d812a1cf39a9cc850d0978ba57b9ea",
"sha512_sri": "sha512-tRPTsZErPtx+oIe/EB3rxEta4NHM05C0grp94a9Rlxq28xuTRzPPuMtRRDEiYoo4WGQxj0PhNz1lkKGRuQ9wtg=="
},
"filename": "some-very-long-package-name-2.0.0.tgz"
}
]
}
}
}
],
"modified": "2026-10-11T17:30:47.993377130Z",
"provider": "osv",
"references": [
"https://www.npmjs.com/package/some-very-long-package-name/v/2.0.0",
"https://www.npmjs.com/package/some-very-long-package-name/v/1.0.0",
"https://www.npmjs.com/package/some-very-long-package-name/v/3.0.0",
"https://www.npmjs.com/package/some-very-long-package-name/v/2.0.1",
"https://www.npmjs.com/package/some-very-long-package-name/v/99.0.1"
],
"provider_metadata": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-021407",
"sha256": "1ce120698c1be7e98866ccdff0987f7b77f53377e525284f311363b79f5ea397",
"source": "amazon-inspector",
"versions": [
"2.0.0"
],
"import_time": "2026-10-11T14:18:03.047903557Z",
"modified_time": "2026-10-11T13:54:49Z"
},
{
"id": "IN-MAL-2026-021437",
"sha256": "5ff2c62f8ba9aff2b9a3d40aabc54116bf6522b9e048c362999642dcfcbe8f27",
"source": "amazon-inspector",
"versions": [
"1.0.0"
],
"import_time": "2026-10-11T14:18:05.867751424Z",
"modified_time": "2026-10-11T13:59:32Z"
},
{
"id": "IN-MAL-2026-021438",
"sha256": "60ddbb54f68f4722fff212d66ceabc2675695a0f899749b34980f6176126024e",
"source": "amazon-inspector",
"versions": [
"3.0.0"
],
"import_time": "2026-10-11T14:18:06.00540939Z",
"modified_time": "2026-10-11T13:59:42Z"
},
{
"id": "IN-MAL-2026-021435",
"sha256": "f81246a5c2ed84f640a9ab381bb84122a2f0c75fce7cb992dafcdc6b6736fcab",
"source": "amazon-inspector",
"versions": [
"2.0.1"
],
"import_time": "2026-10-11T14:18:05.71519449Z",
"modified_time": "2026-10-11T13:59:10Z"
},
{
"id": "IN-MAL-2026-021449",
"sha256": "58c08ea2abb307f6ecb9a1896fcc3980e9a1eaf8b29044db67cd985654e1db16",
"source": "amazon-inspector",
"versions": [
"99.0.1"
],
"import_time": "2026-10-11T17:15:51.662346786Z",
"modified_time": "2026-10-11T16:53:21Z"
}
]
}
},
"related_cves": [],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 296390,
"published_at": "2026-10-11T13:54:49+00:00"
}