Critical Malicious Code Vulnerability in tcsp-draw-test Package

tcsp-draw-test Updated 25 Nov 2025

Summary

24/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191019: Malicious code in tcsp-draw-test (npm). Affects tcsp-draw-test versions 1.0.5. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The tcsp-draw-test package is an npm library designed for drawing tests in various applications. It is utilized for creating visual representations and testing graphical outputs. However, it has been found to contain malicious code that compromises the security of any system where it is installed.

Vulnerability Detail

The tcsp-draw-test package has been identified as containing embedded malicious code, which poses a severe security risk. This vulnerability originates from two sources: Amazon Inspector and GHSA Malware reports. Any system running this package is considered fully compromised, with potential unauthorized access to sensitive information such as secrets and keys. The malicious code can lead to further exploitation and data breaches, making it imperative for users to take immediate action.

How To Fix

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

npm uninstall tcsp-draw-test

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 workaround, users should immediately uninstall the tcsp-draw-test package using the following command: npm uninstall tcsp-draw-test. Additionally, ensure that all sensitive data is secured and rotated to prevent unauthorized access.

Conclusion

The tcsp-draw-test package has been identified as a significant security risk due to embedded malicious code. Immediate action is required to uninstall the package and secure any sensitive information. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.

See every vulnerability recorded for tcsp-draw-test →

Share this vulnerability

FAQ

The tcsp-draw-test package is an npm library used for drawing tests in applications, allowing developers to create visual representations and test graphical outputs.

The malicious code can compromise your system's security, allowing unauthorized access to sensitive information and potentially leading to data breaches.

If you have the tcsp-draw-test package installed, you should uninstall it immediately and rotate any sensitive information stored on your system.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check if your application is affected by visiting the Vulert playground at Vulert Scanner without needing to sign up.

While uninstalling the package is crucial, there is no guarantee that it will remove all malicious software that may have been installed as a result of the compromise.

How To Fix

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

npm uninstall tcsp-draw-test

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