Malicious code in another-very-long-name (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (eea9e3cf3d973c07d09048435d4ddc496574ce222d650c228b1400d866ea3ccf) another-very-long-name@1.0.1 ships a beacon.cjs that is invoked both from the declared postinstall lifecycle script and from the module's require()-time entry (index.js). On execution it collects host identifiers — hostname, install path, process.cwd(), process.version, OS metadata, and the package name — and POSTs them as JSON to the hardcoded cleartext endpoint http://185.158.107.175:8787/_ah/dc. The package exposes no genuine functionality: index.js returns a Proxy whose get handler returns a no-op for every property so that bundlers consuming the package do not fail, and an author comment states that a build that completes and calls back is cleaner evidence. The destination is a bare-IP HTTP endpoint with no first-party relationship to any declared publisher, and the stub-plus-beacon shape is consistent with a dependency-confusion reconnaissance probe rather than a compatibility shim.
- Products
- another-very-long-name
- Affected versions
- 1.0.1, 1.1.0, 2.0.0, 2.0.1
- Fixed versions
- Not specified
- CVEs
- Not specified
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 01:56 UTC · Revision 1
Source evidence
Malicious code in another-very-long-name (npm)
core-osv · Original sourcePublished 11 Oct 2026, 13:54 UTC
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (eea9e3cf3d973c07d09048435d4ddc496574ce222d650c228b1400d866ea3ccf) another-very-long-name@1.0.1 ships a beacon.cjs that is invoked both from the declared postinstall lifecycle script and from the module's require()-time entry (index.js). On execution it collects host identifiers — hostname, install path, process.cwd(), process.version, OS metadata, and the package name — and POSTs them as JSON to the hardcoded cleartext endpoint http://185.158.107.175:8787/_ah/dc. The package exposes no genuine functionality: index.js returns a Proxy whose get handler returns a no-op for every property so that bundlers consuming the package do not fail, and an author comment states that a build that completes and calls back is cleaner evidence. The destination is a bare-IP HTTP endpoint with no first-party relationship to any declared publisher, and the stub-plus-beacon shape is consistent with a dependency-confusion reconnaissance probe rather than a compatibility shim.
osv:MAL-2026-17767
another-very-long-name
Fixed versions: Not specified
Complete source record
{
"id": "c058a31fb4b67954369a42786ee6955b73f5fda7503c94f3763c03e0a19f8ca5",
"url": "https://osv.dev/vulnerability/MAL-2026-17767",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Malicious code in another-very-long-name (npm)",
"summary": "--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (eea9e3cf3d973c07d09048435d4ddc496574ce222d650c228b1400d866ea3ccf) another-very-long-name@1.0.1 ships a beacon.cjs that is invoked both from the declared postinstall lifecycle script and from the module's require()-time entry (index.js). On execution it collects host identifiers — hostname, install path, process.cwd(), process.version, OS metadata, and the package name — and POSTs them as JSON to the hardcoded cleartext endpoint http://185.158.107.175:8787/_ah/dc. The package exposes no genuine functionality: index.js returns a Proxy whose get handler returns a no-op for every property so that bundlers consuming the package do not fail, and an author comment states that a build that completes and calls back is cleaner evidence. The destination is a bare-IP HTTP endpoint with no first-party relationship to any declared publisher, and the stub-plus-beacon shape is consistent with a dependency-confusion reconnaissance probe rather than a compatibility shim.",
"evidence": "osv:MAL-2026-17767",
"products": [
{
"name": {
"value": "another-very-long-name",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.0",
"evidence": "/affected/0/versions"
},
{
"value": "1.0.1",
"evidence": "/affected/0/versions"
},
{
"value": "2.0.1",
"evidence": "/affected/0/versions"
},
{
"value": "1.1.0",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "MAL-2026-17767",
"aliases": [
"MAL-2026-17767"
],
"affected": [
{
"package": {
"name": "another-very-long-name",
"purl": "pkg:npm/another-very-long-name",
"ecosystem": "npm"
},
"versions": [
"2.0.0",
"1.0.1",
"2.0.1",
"1.1.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."
},
{
"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/another-very-long-name/MAL-2026-17767.json",
"indicators": {
"evidence_files": [
{
"path": "beacon.cjs",
"tlsh": "4c3161eba8e1e0489aaa7098c54f1409b27af0068401af50fd5c82959f6293c33fa8dc",
"sha256": "9c3e88c3e9ee9bb8c9e808cee834304e84bb1b90f2c936d82a33898146c2cdeb"
},
{
"path": "index.js",
"tlsh": "2201d0d7225661b10b5221a4978f43c4a3b99d74027941d0d84a9226365108c463b8ee",
"sha256": "a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "d96abbde2d1ffa3dad3722507d52ffda50b963cf",
"sha512_sri": "sha512-9b5+L5ky33lmpyR+U3qwVT4eyQITC183BBzmNL0PKJctiOunrDCcSWSjT0NT0C9834M+Qk44xEraliNUw5/3kQ=="
},
"filename": "another-very-long-name-2.0.0.tgz"
}
]
}
}
}
],
"modified": "2026-10-11T14:30:07.619716672Z",
"provider": "osv",
"references": [
"https://www.npmjs.com/package/another-very-long-name/v/2.0.0",
"https://www.npmjs.com/package/another-very-long-name/v/1.0.1",
"https://www.npmjs.com/package/another-very-long-name/v/2.0.1",
"https://www.npmjs.com/package/another-very-long-name/v/1.1.0"
],
"provider_metadata": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-021408",
"sha256": "6988ed51b76af3ebc9669995197300dc5fc6033d22ddae47452d29eb1805d8b8",
"source": "amazon-inspector",
"versions": [
"2.0.0"
],
"import_time": "2026-10-11T14:18:03.165996858Z",
"modified_time": "2026-10-11T13:54:57Z"
},
{
"id": "IN-MAL-2026-021414",
"sha256": "eea9e3cf3d973c07d09048435d4ddc496574ce222d650c228b1400d866ea3ccf",
"source": "amazon-inspector",
"versions": [
"1.0.1"
],
"import_time": "2026-10-11T14:18:03.613823077Z",
"modified_time": "2026-10-11T13:55:51Z"
},
{
"id": "IN-MAL-2026-021415",
"sha256": "6aca6f0008885dfc94cb075eafd3046583b8145832841e9b6bdcdcd7d3f6b677",
"source": "amazon-inspector",
"versions": [
"2.0.1"
],
"import_time": "2026-10-11T14:18:03.683945708Z",
"modified_time": "2026-10-11T13:55:58Z"
},
{
"id": "IN-MAL-2026-021411",
"sha256": "91f6c27f7806ad8e28214d0f55858f9cc7255639414dc1425ff5301919df5aff",
"source": "amazon-inspector",
"versions": [
"1.1.0"
],
"import_time": "2026-10-11T14:18:03.394239261Z",
"modified_time": "2026-10-11T13:55:22Z"
}
]
}
},
"related_cves": [],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 286043,
"published_at": "2026-10-11T13:54:57+00:00"
}