Malicious Code in visapyw (PyPI)

visapyw Updated 02 Oct 2025

Summary

24/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-7859: Malicious code in visapyw (PyPI). 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

visapyw is a Python package available on PyPI. It is used for interacting with Visa APIs and provides functionalities for payment processing, transaction management, and other financial operations. The package is widely used in various applications that require integration with Visa services.

Vulnerability Detail

A malicious code injection has been discovered in the visapyw package. This vulnerability is a result of the package being compromised by the EsqueleSquad group, who published nearly 6000 malicious PyPi and NPM packages. The injected code executes spyware and information-stealing malware, posing a significant risk to applications that utilize visapyw. The malicious code can potentially compromise sensitive user data, financial information, and expose the affected system to further attacks.

How To Fix

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

pip uninstall visapyw

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 crucial to update the package to a secure version as soon as possible.

Conclusion

The malicious code injection in the visapyw package poses a significant security risk to applications utilizing this package. It is crucial to update to a non-compromised version of visapyw as soon as possible to mitigate the potential consequences. Additionally, it is advisable to scan the affected system for any signs of compromise and take appropriate security measures. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for visapyw →

Share this vulnerability

FAQ

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert analyzes your Pipfile.lock and provides real-time alerts for open-source vulnerabilities.

The malicious code injected in visapyw can lead to the compromise of sensitive user data, financial information, and expose the affected system to further attacks. It is crucial to address this vulnerability promptly to mitigate these risks.

At this time, there is no specific evidence of exploitation in the wild. However, given the widespread distribution of the compromised packages, it is essential to take immediate action to prevent any potential exploitation.

There may be alternative packages or libraries available for interacting with Visa APIs. It is recommended to research and evaluate other options based on your specific requirements and consider their security track record before making a switch.

If you come across any suspicious activity or have additional information related to this vulnerability, you can report it to the package maintainers or reach out to the Checkmarx team at supplychainsecurity@checkmarx.com.

How To Fix

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

pip uninstall visapyw

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