MAL-2026-20420
Vulnerability from ossf_malicious_packages – Published: 2026-11-24 04:14 – Updated: 2026-11-24 04:14 – Source website| Ecosystem | Package | Versions |
|---|---|---|
| npm |
env-helper-friend
|
0.2.0
|
On npm install, env-helper-friend's postinstall script serializes the entire process.env to JSON, truncates it to 200 characters, embeds the payload as a subdomain label of a hardcoded host (*.ygyrsdtjvygv.oeh), and performs a DNS lookup of the resulting hostname. Although the TLD does not resolve, recursive DNS resolvers on the install path still receive and typically log/forward the queried label, exfiltrating the environment contents (which commonly contain CI tokens, cloud credentials, and other secrets) to any resolver operator on the lookup chain and to any operator who controls the destination zone. The destination host is also overridable via the URLLY environment variable, allowing redirection to an arbitrary attacker-controlled label. README self-identifies the package as a test/research artifact, but the install-time exfiltration mechanism executes on any default npm install regardless of that label.
| Type | Indicator | Hashes |
|---|---|---|
| Evidence file |
scripts/postinstall.js
|
sha256
0c22854cb08795407a1a8c36ed287a54726f48d82d347091b1b64c7139b76cf0tlsh
f231661c6976a61a26f1a4f40a9f0033672543352f95fae026cc53180ecaf3cd5519ff |
| Evidence file |
README.md
|
sha256
0c956f20c8fd8e108df80c8c69e372e8f8c0bec286f6c31d7071f1cfac12f187tlsh
fc31d942d7f0623312722ab2b96625d15d3a907a13a02de5b2cb0c2e13dfed0128b54e |
| Package archive |
env-helper-friend-0.2.0.tgz
|
sha1
aa4da5b72624cbda74db1ccea93dc7ed2491a22esha512_sri
sha512-jgudWx0seHuevQp9b7qMjEMsFr3Da5kr9SOfGbt9bLNK3YxPP7v/6wHSbFa1dFC+dSUryStSX3YSLCqY2Vnbaw== |
- CWE-506 - Embedded Malicious Code
| URL | Tags |
|---|---|
| https://www.npmjs.com/package/env-helper-friend/v/0.2.0 | PACKAGE |
{
"affected": [
{
"database_specific": {
"cwes": [
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
],
"indicators": {
"evidence_files": [
{
"path": "scripts/postinstall.js",
"sha256": "0c22854cb08795407a1a8c36ed287a54726f48d82d347091b1b64c7139b76cf0",
"tlsh": "f231661c6976a61a26f1a4f40a9f0033672543352f95fae026cc53180ecaf3cd5519ff"
},
{
"path": "README.md",
"sha256": "0c956f20c8fd8e108df80c8c69e372e8f8c0bec286f6c31d7071f1cfac12f187",
"tlsh": "fc31d942d7f0623312722ab2b96625d15d3a907a13a02de5b2cb0c2e13dfed0128b54e"
}
],
"package_integrity": [
{
"filename": "env-helper-friend-0.2.0.tgz",
"hashes": {
"sha1": "aa4da5b72624cbda74db1ccea93dc7ed2491a22e",
"sha512_sri": "sha512-jgudWx0seHuevQp9b7qMjEMsFr3Da5kr9SOfGbt9bLNK3YxPP7v/6wHSbFa1dFC+dSUryStSX3YSLCqY2Vnbaw=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "env-helper-friend"
},
"versions": [
"0.2.0"
]
}
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-023070",
"import_time": "2026-11-24T04:37:05.74335548Z",
"modified_time": "2026-11-24T04:14:04Z",
"sha256": "cdf9cf4146dc3e76fdd362acd19b90ff841abcb88ef3ef5c0e05b300cfc64d70",
"source": "amazon-inspector",
"versions": [
"0.2.0"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cdf9cf4146dc3e76fdd362acd19b90ff841abcb88ef3ef5c0e05b300cfc64d70)\nOn npm install, env-helper-friend\u0027s postinstall script serializes the entire process.env to JSON, truncates it to 200 characters, embeds the payload as a subdomain label of a hardcoded host (*.ygyrsdtjvygv.oeh), and performs a DNS lookup of the resulting hostname. Although the TLD does not resolve, recursive DNS resolvers on the install path still receive and typically log/forward the queried label, exfiltrating the environment contents (which commonly contain CI tokens, cloud credentials, and other secrets) to any resolver operator on the lookup chain and to any operator who controls the destination zone. The destination host is also overridable via the URLLY environment variable, allowing redirection to an arbitrary attacker-controlled label. README self-identifies the package as a test/research artifact, but the install-time exfiltration mechanism executes on any default npm install regardless of that label.\n",
"id": "MAL-2026-20420",
"modified": "2026-11-24T04:14:04Z",
"published": "2026-11-24T04:14:04Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/env-helper-friend/v/0.2.0"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in env-helper-friend (npm)"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.