Skip to main content

Malicious code in @mgor/fw-canary-20260725-394b024b (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:03:32 UTC)
Source: GCVE Database
Product: @mgor/fw-canary-20260725-394b024b

Description

The npm package @mgor/fw-canary-20260725-394b024b version 0.0.2 contains malicious code that executes an unpinned, unverified shell script from a third-party domain during import or require. This behavior contradicts the package's description and README, which falsely claim it is an inert security-test canary with no install scripts or functionality. The execution of this remote script results in arbitrary code execution on the host system of any user installing or importing the package.

Affected software

npmghsa
@mgor/fw-canary-20260725-394b024b
Affected versions
=0.0.2

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/05/2026, 17:14:31 UTC

Technical Analysis

The package @mgor/fw-canary-20260725-394b024b version 0.0.2 has a critical security issue where its main entry point (index.js) unconditionally runs a shell command that downloads and executes a shell script from a non-first-party domain (fewafw.hydege.me) via curl piped into bash. This allows any consumer of the package to execute arbitrary code on their host system without verification or pinning of the script, representing a severe supply chain risk. The package's metadata misleadingly claims no install scripts or functionality, masking the malicious behavior.

Potential Impact

Any user or system that installs or imports this specific version of the package will execute arbitrary code fetched from an attacker-controlled domain, potentially leading to full compromise of the host environment. This is a direct arbitrary code execution vulnerability introduced via a malicious npm package.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately avoid installing or importing @mgor/fw-canary-20260725-394b024b version 0.0.2. Remove any existing installations of this package. Monitor for any unexpected network connections or shell activity related to this package. Consider using package integrity verification and supply chain security tools to prevent installation of untrusted packages. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.

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-12321
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735743bf8831d539159c04

Added to database: 08/05/2026, 15:31:15 UTC

Last enriched: 08/05/2026, 17:14:31 UTC

Last updated: 09/07/2026, 22:16:02 UTC

Views: 17

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