MAL-2023-8370

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/tencent-cloud-python-sdk/MAL-2023-8370.json
JSON Data
https://api.test.osv.dev/v1/vulns/MAL-2023-8370
Published
2023-10-13T03:23:13Z
Modified
2023-10-13T03:23:13Z
Summary
Malicious code in tencent-cloud-python-sdk (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: google-open-source-security (bf236cca18e4d157a57cd3de7abed8ad967103c42b9ae53f5026174af46b64a4)

Attack targeted at users of Alibaba, AWS and Telegram via malicious packages published to PyPI.

The malicious code was hidden in strategicly chosen functions and would only trigger when these functions were called. The malicious code does not automatically run on install or import, helping the packages evade detection.

Database specific
{
    "iocs": {
        "urls": [
            "https://api.aliyun-sdk-requests.xyz/tencent",
            "https://api.aliyun-sdk-requests.xyz/aliyun",
            "https://api.aliyun-sdk-requests.xyz/aws",
            "https://tg.aliyun-sdk-requests.xyz/telegram"
        ]
    },
    "malicious-packages-origins": [
        {
            "modified_time": "2023-10-13T03:23:13Z",
            "import_time": "2023-10-13T03:24:19.52733522Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "source": "google-open-source-security",
            "sha256": "bf236cca18e4d157a57cd3de7abed8ad967103c42b9ae53f5026174af46b64a4"
        }
    ]
}
References
Credits

Affected packages

PyPI / tencent-cloud-python-sdk

Package

Name
tencent-cloud-python-sdk
View open source insights on deps.dev
Purl
pkg:pypi/tencent-cloud-python-sdk

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected