Malicious code in test-supply-npm-lib-4 (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (44f10381ad047460986bbeedafad42f8c71db61fff98fe07c915cd0d3678d268) package.json declares a dependency sourced from a git URL (git+https://git@github.com/agustedone/test-supply-npm-git-prepare-proof-4.git) pinned to commit 0abd2c55e475f12f58fb67ac487db4c1b00cf597, rather than from the npm registry. On `npm install`, npm clones that GitHub repository and runs any lifecycle scripts it contains, including a `prepare` hook indicated by the dependency's name. The dependency source is an individual GitHub account (agustedone/...) unrelated to any established publisher, and the fetched code is not subject to npm registry review or integrity checks against a registry tarball. Whoever controls that GitHub repository controls code executed on the installer's machine at install time.
MAL-2026-17314
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-17314
test-supply-npm-lib-4
Source reference: /affected/0/package/name
- Affected versions
- 3.3.3
Source reference:
/affected/0/versions3.3.4Source reference:
/affected/0/versions3.3.6Source reference:
/affected/0/versions3.3.5Source 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": "test-supply-npm-lib-4",
"purl": "pkg:npm/test-supply-npm-lib-4",
"ecosystem": "npm"
},
"versions": [
"3.3.3",
"3.3.4",
"3.3.6",
"3.3.5"
],
"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/test-supply-npm-lib-4/MAL-2026-17314.json",
"indicators": {
"evidence_files": [
{
"path": "package.json",
"tlsh": "48e05c60d6210c7728c129f0cc613443ff518c234464ad053793516dce491bb40fd63f",
"sha256": "8d90884a76b25c576aecaa0b096d8c7c1d8d934e8c6ac6e11501bc18b6adfc06"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "e350fa83bf9607ab65feda3190e2d7d1bc4fd99e",
"sha512_sri": "sha512-BhsR8kcp0u4pNt6yZ/RiP46Xt2hUNuBZreE1lghxVuCLPV3+CNO1lbgVLlaM27uxYEC4evcfDdVjK4nP+5tGSA=="
},
"filename": "test-supply-npm-lib-4-3.3.3.tgz"
}
]
}
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #36997 · Revision 1
- Added to Heist Feed
- Publisher date