Malicious code in pdf2teste (npm)

pdf2teste Updated 02 Oct 2025

Summary

04/12/2023
CRITICAL
No i
Critical
Not published

MAL-2023-8662: Malicious code in pdf2teste (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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

pdf2teste is an npm package that is used for PDF manipulation. It provides functionality to create, modify, and extract content from PDF files. The package is widely used in various applications for handling PDF documents.

Vulnerability Detail

The pdf2teste package has been found to contain malicious code. Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

How To Fix

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

npm uninstall pdf2teste

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

There is no known workaround for this vulnerability. It is essential to follow the recommended steps for fixing the issue.

Conclusion

The pdf2teste npm package has been identified to contain malicious code, compromising the security of any computer with the package installed. It is crucial to remove the package and rotate all secrets and keys stored on the affected computer. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for pdf2teste →

Share this vulnerability

FAQ

pdf2teste is an npm package used for PDF manipulation, allowing users to create, modify, and extract content from PDF files.

The malicious code in pdf2teste compromises the security of the affected computer, giving full control to an outside entity. This can lead to unauthorized access, data theft, and potential damage to the system.

If you have pdf2teste installed, it is crucial to remove the package immediately from your computer. Additionally, all secrets and keys stored on that computer should be rotated from a different, secure computer.

There is no guarantee that removing the pdf2teste package will remove all malicious software resulting from its installation. It is recommended to take additional measures to ensure the security of the compromised system.

To prevent similar vulnerabilities, it is essential to regularly update and monitor the packages used in your applications. Stay informed about security advisories and promptly apply patches or remove packages with known vulnerabilities.

How To Fix

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

npm uninstall pdf2teste

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