Malicious code in @alphaspace/core (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (42d10ba1427af01794dfb0a6b39a05f969547455e9d86d75f18601b1d035c507) preinstall.js runs unconditionally on npm install and POSTs a JSON payload to a hardcoded Pipedream collector at https://f5778d1d81cc30c39dcdd0da5ca1d49a.m.pipedream.net. The payload includes os.hostname(), os.userInfo() username, platform/arch/node version, process.env.INIT_CWD, process.cwd(), the consumer project's package.json name and version, whether the consumer declares an @alphaspace dependency, npm registry hosts parsed from ~/.npmrc, CI-related environment variable names, and proxy host configuration. The same script performs DNS resolution against a hardcoded list of *.yahoo.com and *.ouryahoo.com internal hostnames (including istio-system.prod1-gq1.omega.yahoo.com and buildr.corp.yahoo.com), and for any banana.stand.*.yahoo.com name that resolves it issues an https.request with rejectUnauthorized:false, capturing the response status, Server header, and first 512 bytes of the body and forwarding them in a banana_proof field of the exfil payload. The @alphaspace scope name and an in-file 'authorized security research' banner form a dependency-confusion lure aimed at Yahoo internal builds; the installer-side behavior — host fingerprinting, npmrc/registry disclosure, and TLS-verification-disabled internal-network probing from the installer's host — fires against any machine that resolves this package.
MAL-2026-17169
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-17169
@alphaspace/core
Source reference: /affected/0/package/name
- Affected versions
- 99.0.0
Source reference:
/affected/0/versions99.0.1Source reference:
/affected/0/versions99.0.2Source reference:
/affected/0/versions99.0.3Source 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.
[
{
"package": {
"name": "@alphaspace/core",
"purl": "pkg:npm/%40alphaspace/core",
"ecosystem": "npm"
},
"versions": [
"99.0.0",
"99.0.1",
"99.0.2",
"99.0.3"
],
"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/@alphaspace/core/MAL-2026-17169.json",
"indicators": {
"evidence_files": [
{
"path": "preinstall.js",
"tlsh": "44815f3b85582d303ae0c57c6657114913a6f46b3e1466a4b28d324d6fccaee02b3abc",
"sha256": "df9c95871cbcaed41914a65d50a746aee20b4a90becb0faf624018e87b3aff49"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "558f50057e5ac0cb8f3de9a22b04b95c12943a4b",
"sha512_sri": "sha512-jm/lwDl6bVQybqhx+ZKboXVApqs9hrtFX8fVxrbdrpSFsWKNA2HxKOroN6z4bsLkj+LaBHjV200sFfYuH0NiTg=="
},
"filename": "core-99.0.0.tgz"
}
]
}
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #18971 · Revision 1
- Added to Heist Feed
- Publisher date