Malicious code in alisdkcore (PyPI)

alisdkcore Updated 02 Oct 2025

Summary

13/10/2023
CRITICAL
No i
Critical
Not published

MAL-2023-8355: Malicious code in alisdkcore (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 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

alisdkcore is a package available on PyPI that is used by users of Alibaba, AWS, and Telegram. It provides functionality for interacting with the Alibaba, AWS, and Telegram APIs. The package has been found to contain malicious code hidden within strategically chosen functions.

Vulnerability Detail

The malicious code in alisdkcore is designed to target users of Alibaba, AWS, and Telegram. It is distributed through packages published to PyPI. The code is hidden within specific functions and only triggers when these functions are called, making it difficult to detect. The code does not automatically run on installation or import, further evading detection. The malicious code can potentially lead to unauthorized access, data breaches, and other security issues for users of Alibaba, AWS, and Telegram.

How To Fix

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

pip uninstall alisdkcore

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 update to a non-malicious version of alisdkcore to mitigate the risk.

Conclusion

The presence of malicious code in alisdkcore poses a significant security risk for users of Alibaba, AWS, and Telegram. It is crucial to update to a non-malicious version of alisdkcore to mitigate the risk of unauthorized access, data breaches, and other security issues. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for alisdkcore →

Share this vulnerability

FAQ

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your Pipfile.lock, and Vulert will analyze it and alert you in real-time if any open-source vulnerabilities, including this one, are found.

The potential consequences of this vulnerability include unauthorized access, data breaches, and other security issues for users of Alibaba, AWS, and Telegram. It is crucial to update to a non-malicious version of alisdkcore to mitigate these risks.

Yes, the maintainers of alisdkcore have released a fixed version that removes the malicious code. It is recommended to update to the latest version of alisdkcore to fix this vulnerability.

No, the malicious code in alisdkcore is designed to evade detection. It does not automatically run on installation or import, making it difficult to identify. Updating to a non-malicious version of alisdkcore is the best way to mitigate the risk.

This vulnerability was discovered by Phylum. They reported it to the package maintainers and provided the necessary details for remediation.

How To Fix

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

pip uninstall alisdkcore

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