Malicious Code Detected in csport Package - Security Alert

csport Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-17785: Malicious code in csport (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The csport package is an npm library designed for specific functionalities within JavaScript applications. It is utilized by developers for various tasks, but its recent identification as containing malicious code raises significant security concerns. This vulnerability could potentially compromise applications that rely on this package, making it crucial for users to be aware of its implications.

Vulnerability Detail

The csport package has been found to contain malicious code, which poses a serious risk to applications using it. This vulnerability originated from the package's codebase, which was compromised, allowing attackers to execute harmful actions within the user's environment. The ramifications of this vulnerability include unauthorized access to sensitive data, potential data breaches, and the possibility of further exploitation within the application ecosystem.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall csport

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary measure, users can remove the csport package from their project until a secure version is available. This can be done with the command: 'npm uninstall csport'. Additionally, consider using alternative packages that provide similar functionality without the security risks.

Conclusion

The discovery of malicious code within the csport package highlights the importance of maintaining vigilance regarding open-source dependencies. Users are urged to take immediate action by updating or removing the affected package to safeguard their applications from potential threats.

See every vulnerability recorded for csport →

Share this vulnerability

FAQ

csport is an npm package used in JavaScript applications for various functionalities. However, it has recently been flagged for containing malicious code.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application against the csport vulnerability using the Vulert playground at Vulert Scanner.

If you are using csport, it is critical to update the package to the latest version immediately or remove it from your project until a secure version is released.

Using a compromised package like csport can lead to unauthorized access to sensitive data, data breaches, and further exploitation of your application.

Yes, Vulert provides a service that allows you to monitor your dependencies for vulnerabilities without needing to access the code or installation.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall csport

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback