MAL-2026-13624
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (267188642a5aa8db495698be0d44bd4fed45e0e247572d44da6b76e3d1b72a5e)
This package is an automated 'DepUp' republish of memfs whose lib/index.js and lib/index.d.ts have been stripped of the upstream source and rewritten to require nine '@jsonjoy.com/fs-' packages (fs-node, fs-core, fs-node-utils, fs-fsa, fs-node-to-fsa, fs-fsa-to-node, fs-print, fs-snapshot, fs-node-builtins), all pinned to 4.67.0 — a version tag that matches memfs itself rather than any real release history of those names. Upstream memfs bundles its own source and does not depend on these packages. The republished lib/index.js contains only require() calls to the '@jsonjoy.com/fs-' names, so installing this package and importing memfs resolves and executes whatever code is published under those names at 4.67.0. The package.json 'depup.changes' metadata also records bumping @jsonjoy.com/json-pack and @jsonjoy.com/util from ^1.11.0/^1.9.0 to ^18.28.0, non-contiguous jumps well beyond the real published range of those libraries, consistent with steering the resolver toward attacker-published versions. Installing or requiring @depup/memfs pulls in and runs code from a set of newly-introduced dependency names controlled by the republisher, with no lifecycle hook needed — a dependency-chain dropper shape via a memfs lookalike.
- CWE-506 - The product contains code that appears to be malicious in nature.
{
"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": "package.json",
"sha256": "2cc3703dc36bf558064b642a1ae190bb5a25d221e4c659f8a309c740c5a08158",
"tlsh": "4da1c011c828dce319d9298db879034262a99ad34d81bc5c73dd975c8f0d1af22fae6d"
}
],
"package_integrity": [
{
"filename": "memfs-4.67.0-depup.0.tgz",
"hashes": {
"sha1": "628bea0010442c6d423bd08ee6c2ca469ae35d93",
"sha512_sri": "sha512-B3165FsZxJXs0TOja4I95c1nHcUMnFmobBueT2c5eoO2GhUXU/p+6VCMZQg24S2xaHsmcg8HrQJfEesFFyzyrw=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "@depup/memfs"
},
"versions": [
"4.67.0-depup.0"
]
}
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-017132",
"import_time": "2026-08-07T17:51:00.189934168Z",
"modified_time": "2026-08-07T17:25:09Z",
"sha256": "267188642a5aa8db495698be0d44bd4fed45e0e247572d44da6b76e3d1b72a5e",
"source": "amazon-inspector",
"versions": [
"4.67.0-depup.0"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (267188642a5aa8db495698be0d44bd4fed45e0e247572d44da6b76e3d1b72a5e)\nThis package is an automated \u0027DepUp\u0027 republish of memfs whose lib/index.js and lib/index.d.ts have been stripped of the upstream source and rewritten to require nine \u0027@jsonjoy.com/fs-*\u0027 packages (fs-node, fs-core, fs-node-utils, fs-fsa, fs-node-to-fsa, fs-fsa-to-node, fs-print, fs-snapshot, fs-node-builtins), all pinned to 4.67.0 \u2014 a version tag that matches memfs itself rather than any real release history of those names. Upstream memfs bundles its own source and does not depend on these packages. The republished lib/index.js contains only require() calls to the \u0027@jsonjoy.com/fs-*\u0027 names, so installing this package and importing memfs resolves and executes whatever code is published under those names at 4.67.0. The package.json \u0027depup.changes\u0027 metadata also records bumping @jsonjoy.com/json-pack and @jsonjoy.com/util from ^1.11.0/^1.9.0 to ^18.28.0, non-contiguous jumps well beyond the real published range of those libraries, consistent with steering the resolver toward attacker-published versions. Installing or requiring @depup/memfs pulls in and runs code from a set of newly-introduced dependency names controlled by the republisher, with no lifecycle hook needed \u2014 a dependency-chain dropper shape via a memfs lookalike.\n",
"id": "MAL-2026-13624",
"modified": "2026-08-07T17:25:09Z",
"published": "2026-08-07T17:25:09Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@depup/memfs/v/4.67.0-depup.0"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in @depup/memfs (npm)"
}
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.