Malicious code in @ecg-internal/aurora-js-formatters (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (02325fb617beffd55194047faca7300b33934cd471de94bab66a24954200cba0) The package uses an internal-looking scope (@ecg-internal) and an implausibly high version (99.0.1) consistent with dependency-confusion targeting. On install, the declared postinstall script executes beacon.cjs, which POSTs a JSON payload containing the package name, os.hostname(), __dirname install path, process.cwd(), and process.version to the hardcoded plain-HTTP bare-IP endpoint http://185.158.107.175:8787/_ah/dc. The main entry index.js additionally invokes beacon.cjs.fire() at top level on require/import, so the callback also fires when the module is loaded by a bundler or build process even if lifecycle scripts are disabled with --ignore-scripts. index.js exports a Proxy of no-op functions so consuming code and bundlers do not fail, allowing the beacon to run silently inside build pipelines. The destination IP is unrelated to any publisher infrastructure and has no TLS. The payload identifies the installing host and build environment to the operator of that endpoint, enabling enumeration of internal environments that resolved this scoped name from the public registry. ## Source: ghsa-malware (a62187d1781539a34c8628cdf04cf2797250060a55eddcc1736b7f04b21b5bfa) 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 i
- Products
- @ecg-internal/aurora-js-formatters
- 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
- 31 Oct 2026, 20:41 UTC · Revision 1
Source evidence
Malicious code in @ecg-internal/aurora-js-formatters (npm)
core-osv · Original sourcePublished 23 Oct 2026, 02:01 UTC
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (02325fb617beffd55194047faca7300b33934cd471de94bab66a24954200cba0) The package uses an internal-looking scope (@ecg-internal) and an implausibly high version (99.0.1) consistent with dependency-confusion targeting. On install, the declared postinstall script executes beacon.cjs, which POSTs a JSON payload containing the package name, os.hostname(), __dirname install path, process.cwd(), and process.version to the hardcoded plain-HTTP bare-IP endpoint http://185.158.107.175:8787/_ah/dc. The main entry index.js additionally invokes beacon.cjs.fire() at top level on require/import, so the callback also fires when the module is loaded by a bundler or build process even if lifecycle scripts are disabled with --ignore-scripts. index.js exports a Proxy of no-op functions so consuming code and bundlers do not fail, allowing the beacon to run silently inside build pipelines. The destination IP is unrelated to any publisher infrastructure and has no TLS. The payload identifies the installing host and build environment to the operator of that endpoint, enabling enumeration of internal environments that resolved this scoped name from the public registry. ## Source: ghsa-malware (a62187d1781539a34c8628cdf04cf2797250060a55eddcc1736b7f04b21b5bfa) 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 i
osv:MAL-2026-18207
@ecg-internal/aurora-js-formatters
Fixed versions: Not specified
Complete source record
{
"id": "83cff98bcbc2637b2a554427b767a06430212d06914acff3d83274996e83b5f1",
"url": "https://osv.dev/vulnerability/MAL-2026-18207",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Malicious code in @ecg-internal/aurora-js-formatters (npm)",
"summary": "--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (02325fb617beffd55194047faca7300b33934cd471de94bab66a24954200cba0) The package uses an internal-looking scope (@ecg-internal) and an implausibly high version (99.0.1) consistent with dependency-confusion targeting. On install, the declared postinstall script executes beacon.cjs, which POSTs a JSON payload containing the package name, os.hostname(), __dirname install path, process.cwd(), and process.version to the hardcoded plain-HTTP bare-IP endpoint http://185.158.107.175:8787/_ah/dc. The main entry index.js additionally invokes beacon.cjs.fire() at top level on require/import, so the callback also fires when the module is loaded by a bundler or build process even if lifecycle scripts are disabled with --ignore-scripts. index.js exports a Proxy of no-op functions so consuming code and bundlers do not fail, allowing the beacon to run silently inside build pipelines. The destination IP is unrelated to any publisher infrastructure and has no TLS. The payload identifies the installing host and build environment to the operator of that endpoint, enabling enumeration of internal environments that resolved this scoped name from the public registry. ## Source: ghsa-malware (a62187d1781539a34c8628cdf04cf2797250060a55eddcc1736b7f04b21b5bfa) 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 i",
"evidence": "osv:MAL-2026-18207",
"products": [
{
"name": {
"value": "@ecg-internal/aurora-js-formatters",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "99.0.1",
"evidence": "/affected/0/versions"
},
{
"value": "2.0.0",
"evidence": "/affected/0/versions"
},
{
"value": "1.0.0",
"evidence": "/affected/0/versions"
},
{
"value": "2.0.1",
"evidence": "/affected/0/versions"
},
{
"value": "3.0.0",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "MAL-2026-18207",
"aliases": [
"GHSA-9976-3w38-mrmj",
"MAL-2026-18207"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "@ecg-internal/aurora-js-formatters",
"purl": "pkg:npm/%40ecg-internal/aurora-js-formatters",
"ecosystem": "npm"
},
"versions": [
"99.0.1",
"2.0.0",
"1.0.0",
"2.0.1",
"3.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."
},
{
"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/@ecg-internal/aurora-js-formatters/MAL-2026-18207.json",
"indicators": {
"evidence_files": [
{
"path": "beacon.cjs",
"tlsh": "b73161eba8f1a0089aab7098c54f0409f27af0078401ab54f95c92919f7293c33fa8dc",
"sha256": "5519e4e2f40798d353fdeccf47939abc98088122a93098522833d9648c72e224"
},
{
"path": "index.js",
"tlsh": "2201d0d7225661b10b5221a4978f43c4a3b99d74027941d0d84a9226365108c463b8ee",
"sha256": "a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "56f0c2d469e35526258856980e6019e3f001de90",
"sha512_sri": "sha512-F2zAqQwNJU6O6qZgCAQtXt1JqEVrLNEXhDEu/YeOKsJcl9yeLj/FXH6YCY9tZ5OKERkhSPoXm31WrE09S+TVQA=="
},
"filename": "aurora-js-formatters-99.0.1.tgz"
}
]
}
}
}
],
"modified": "2026-10-23T02:45:04.191787026Z",
"provider": "osv",
"references": [
"https://www.npmjs.com/package/@ecg-internal/aurora-js-formatters/v/99.0.1",
"https://www.npmjs.com/package/@ecg-internal/aurora-js-formatters/v/2.0.0",
"https://www.npmjs.com/package/@ecg-internal/aurora-js-formatters/v/1.0.0",
"https://www.npmjs.com/package/@ecg-internal/aurora-js-formatters/v/2.0.1",
"https://www.npmjs.com/package/@ecg-internal/aurora-js-formatters/v/3.0.0",
"https://github.com/advisories/GHSA-9976-3w38-mrmj"
],
"provider_metadata": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-021611",
"sha256": "02325fb617beffd55194047faca7300b33934cd471de94bab66a24954200cba0",
"source": "amazon-inspector",
"versions": [
"99.0.1"
],
"import_time": "2026-10-23T02:25:39.491302571Z",
"modified_time": "2026-10-23T02:01:35Z"
},
{
"id": "IN-MAL-2026-021609",
"sha256": "2b9ca7557d8dd70d7b1ef0d885864394f8751643520637bf036092f3f9234538",
"source": "amazon-inspector",
"versions": [
"2.0.0"
],
"import_time": "2026-10-23T02:25:39.325526822Z",
"modified_time": "2026-10-23T02:01:21Z"
},
{
"id": "IN-MAL-2026-021618",
"sha256": "38b207fd73b5b0f8409b6637afacc2254c2835eefb40e8071ea24885e62f1528",
"source": "amazon-inspector",
"versions": [
"99.0.1"
],
"import_time": "2026-10-23T02:25:39.904013006Z",
"modified_time": "2026-10-23T02:06:35Z"
},
{
"id": "IN-MAL-2026-021610",
"sha256": "6f550b1552dd525f2a4cb1ad491222ec4889536d541985f80aa0b852cbf656ac",
"source": "amazon-inspector",
"versions": [
"1.0.0"
],
"import_time": "2026-10-23T02:25:39.408981372Z",
"modified_time": "2026-10-23T02:01:28Z"
},
{
"id": "IN-MAL-2026-021608",
"sha256": "7c9c948c8ecc4f7bf0df48e329f05d916f0a877fe97cacf92eb5e1b79df11302",
"source": "amazon-inspector",
"versions": [
"2.0.1"
],
"import_time": "2026-10-23T02:25:39.266752205Z",
"modified_time": "2026-10-23T02:01:15Z"
},
{
"id": "IN-MAL-2026-021612",
"sha256": "94a4e5ecd2deb013e2027af202dbb3f66e66f918dd31afc457853da0846eed2e",
"source": "amazon-inspector",
"versions": [
"3.0.0"
],
"import_time": "2026-10-23T02:25:39.550091704Z",
"modified_time": "2026-10-23T02:01:37Z"
},
{
"id": "GHSA-9976-3w38-mrmj",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"sha256": "a62187d1781539a34c8628cdf04cf2797250060a55eddcc1736b7f04b21b5bfa",
"source": "ghsa-malware",
"import_time": "2026-10-23T02:36:25.372787019Z",
"modified_time": "2026-10-23T02:05:20Z"
}
]
}
},
"related_cves": [],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 411755,
"published_at": "2026-10-23T02:01:15+00:00"
}