Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in @depup/memfs (npm)

0
High
Published: 08/07/2026 (08/07/2026, 17:25:09 UTC)
Source: GCVE Database
Product: @depup/memfs

Description

The @depup/memfs npm package is a malicious republish of the legitimate memfs package. It replaces the original source code with requires to attacker-controlled packages under the @jsonjoy.com namespace, causing installation or import to execute malicious code from these dependencies. This repackaging effectively creates a dependency-chain dropper that runs attacker-published code without lifecycle hooks. The affected version is exactly 4.67.0-depup.0.

Affected software

npmghsa
@depup/memfs
Affected versions
=4.67.0-depup.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 15:37:24 UTC

Technical Analysis

The @depup/memfs package is an automated republish of the memfs library that strips the original source code and replaces it with require calls to nine attacker-controlled packages (@jsonjoy.com/fs-*), all pinned to version 4.67.0, which does not correspond to legitimate releases. This republished package also updates other dependencies to versions far beyond their real published ranges, steering the resolver to attacker-published versions. Installing or importing @depup/memfs results in executing arbitrary code from these malicious dependencies, effectively acting as a dependency-chain dropper without requiring lifecycle hooks.

Potential Impact

Users who install or import the @depup/memfs package version 4.67.0-depup.0 will unknowingly execute malicious code from attacker-controlled dependencies. This can lead to arbitrary code execution within the context of the affected environment, potentially compromising system integrity and security.

Mitigation Recommendations

Avoid using the @depup/memfs package version 4.67.0-depup.0. Instead, use the official memfs package from its legitimate source. Since no official patch or fix is indicated, users should remove this malicious package and audit their dependencies to ensure no other republished or malicious packages are present.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-13624
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a774329bf8831d539b45ddc

Added to database: 08/08/2026, 14:54:33 UTC

Last enriched: 08/08/2026, 15:37:24 UTC

Last updated: 08/08/2026, 20:00:42 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses