cvelo
P2 · HighMalware

Malicious code in compress-template (PyPI)

  • GHSA-2436-x2w9-pr9j

Summary

The GitHub advisory GHSA-2436-x2w9-pr9j classifies the PyPI package compress-template as malicious rather than vulnerable. According to the record, executing the package during import triggers an obfuscated command that downloads a script, which in turn downloads and runs a malicious executable. The campaign is categorized as malicious with clear malware intent, and no CVSS score is assigned. The record is attributed to OpenSSF's malicious-packages project. It is not listed in the CISA known exploited vulnerabilities catalog. Teams should check whether this package is installed in any environment, remove it, and investigate systems where it was imported for signs of the downloaded payloads.

AI summary · verify against the vendor advisory

Description

During import, package executes an obfuscated command that downloads a script, which then downloads a malicious executable. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-12-compress-template Reasons (based on the campaign): - Downloads and executes a remote executable. - obfuscation - Downloads and executes a remote malicious script. - malware --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/823e99f789317d4f04837e2f49d90a56e094e874/osv/malicious/pypi/compress-template/MAL-2026-21158.json))

Text from the GitHub Advisory record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • compress-templatePyPI

    No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.