Embedded Malicious Code Affecting cdn-icon-fetch package, versions *


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Attacked

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-CDNICONFETCH-9292266
  • published5 Mar 2025
  • disclosed5 Mar 2025
  • creditUnknown

Introduced: 5 Mar 2025

New Malicious CVE NOT AVAILABLE CWE-506  (opens in a new tab)
First added by Snyk

How to fix?

Avoid using cdn-icon-fetch altogether.

Overview

cdn-icon-fetch is a Malicious package.

Affected versions of this package are vulnerable to Embedded Malicious Code. Once this package is installed and executed, it downloads a Javascript file from a cdn-static-server.vercel.app URL, which appears to be an image hosting site. However, by using a specific custom header, as described in the library, the JavaScript file is downloaded as a first-stage loader. This loader subsequently downloads a .npl file, which acts as a second-stage loader written in Python. Ultimately, a third Python file, which is the actual payload and referenced in a specific Medium article, is executed.

CVSS Base Scores

version 4.0
version 3.1