mal-2026-6190
Vulnerability from ossf_malicious_packages
Published
2026-06-19 03:59
Modified
2026-06-19 03:59
Summary
Malicious code in mjs-eslint-helper (npm)
Details
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (3320fa37492448acdf24a86f8a8735a3fc4d3b329ad156e299a8089df39e2f28)
The package decodes base64 string literals via Buffer.from(..., 'base64').toString() and pipes the resulting content into execSync('bash...') and execSync('zsh...') invocations in index.js (lines 9, 101, 117, 194, 195). This is the canonical fingerprint of an install-time/import-time dropper: an obfuscated payload is decoded and executed through a shell interpreter, giving the publisher arbitrary code execution on any machine that installs or requires this package. The package name impersonates the eslint helper namespace, consistent with a typosquat lure delivering an active payload. No legitimate eslint helper requires shelling out to bash/zsh from a base64-decoded blob.
CWE
- CWE-506 - The product contains code that appears to be malicious in nature.
Credits
{
"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": "index.js",
"sha256": "e15d42c5fa856a6b729a9bf44094c58d67694984c628e29250f613d10c98c851",
"tlsh": "83e166a901162135d6f1f7f8e7560416f79ed2137202cb4276ac4ac92f77528e1d2eec"
}
],
"package_integrity": [
{
"filename": "mjs-eslint-helper-4.0.1.tgz",
"hashes": {
"sha1": "6eff8f994efdcaa4d16613da7fee14bfdb677b7e",
"sha512_sri": "sha512-edCO7/y1kXGlW1cS6ll4KSAcGEQj0drS37h9r6B5eM/fSiQErQm1VYt3r0G54LyvEwLNC6RXi2iEE7nxjfesZw=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "mjs-eslint-helper"
},
"versions": [
"4.0.1"
]
}
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-007042",
"import_time": "2026-06-19T05:16:48.243232251Z",
"modified_time": "2026-06-19T03:59:02Z",
"sha256": "3320fa37492448acdf24a86f8a8735a3fc4d3b329ad156e299a8089df39e2f28",
"source": "amazon-inspector",
"versions": [
"4.0.1"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3320fa37492448acdf24a86f8a8735a3fc4d3b329ad156e299a8089df39e2f28)\nThe package decodes base64 string literals via Buffer.from(..., \u0027base64\u0027).toString() and pipes the resulting content into execSync(\u0027bash...\u0027) and execSync(\u0027zsh...\u0027) invocations in index.js (lines 9, 101, 117, 194, 195). This is the canonical fingerprint of an install-time/import-time dropper: an obfuscated payload is decoded and executed through a shell interpreter, giving the publisher arbitrary code execution on any machine that installs or requires this package. The package name impersonates the eslint helper namespace, consistent with a typosquat lure delivering an active payload. No legitimate eslint helper requires shelling out to bash/zsh from a base64-decoded blob.\n",
"id": "MAL-2026-6190",
"modified": "2026-06-19T03:59:02Z",
"published": "2026-06-19T03:59:02Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/mjs-eslint-helper/v/4.0.1"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in mjs-eslint-helper (npm)"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
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.
Loading…
Loading…