Malicious code in cryptgraphy (PyPI)
A malicious PyPI package named 'cryptgraphy' impersonates legitimate cryptography and AWS-related packages using typosquatting and falsified metadata. Upon installation, it executes a custom install script that delays for five minutes before downloading and running an ELF binary from an unrelated external server. The binary attempts to establish persistence, potentially via systemd services, and is associated with malicious activities such as cryptocurrency mining and network propagation. The package itself contains only stub functions, with the real malicious behavior occurring during installation. This campaign exhibits clear malicious intent and anti-forensic techniques.
AI Analysis
Technical Summary
The 'cryptgraphy' PyPI package is a typosquatting malicious package that mimics legitimate cryptography and AWS packages by using similar names and falsified author metadata. Its setup.py installs a custom command that, upon installation, writes a shell script to /tmp which sleeps for five minutes before downloading an ELF binary from a suspicious external URL. This binary is staged as /tmp/systemd-helper, made executable, and launched detached. The binary's behavior suggests attempts at persistence through systemd-like services, cryptocurrency mining, and network scanning or propagation. The Python module itself is a no-op stub, indicating the malicious payload is delivered solely via the installation process. The campaign is linked to similar previous campaigns and uses delayed execution and systemd-mimicking filenames as anti-forensic measures.
Potential Impact
Installation of this package results in execution of a remote ELF binary that may establish persistence on the infected system, perform cryptocurrency mining, and scan or propagate over the network. The package's malicious behavior occurs during installation, potentially compromising the host system without user awareness. The use of typosquatting increases the risk of accidental installation by users expecting legitimate packages. There is no confirmed active exploitation in the wild reported yet.
Mitigation Recommendations
No official patch or fix is available since this is a malicious package impersonating legitimate software. The primary mitigation is to avoid installing packages with suspicious or typosquatted names. Users and organizations should verify package authenticity before installation, prefer official package names, and use tools that detect typosquatting or malicious packages. Monitoring package sources and employing supply chain security measures can help prevent installation of such malicious packages.
Malicious code in cryptgraphy (PyPI)
Description
A malicious PyPI package named 'cryptgraphy' impersonates legitimate cryptography and AWS-related packages using typosquatting and falsified metadata. Upon installation, it executes a custom install script that delays for five minutes before downloading and running an ELF binary from an unrelated external server. The binary attempts to establish persistence, potentially via systemd services, and is associated with malicious activities such as cryptocurrency mining and network propagation. The package itself contains only stub functions, with the real malicious behavior occurring during installation. This campaign exhibits clear malicious intent and anti-forensic techniques.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'cryptgraphy' PyPI package is a typosquatting malicious package that mimics legitimate cryptography and AWS packages by using similar names and falsified author metadata. Its setup.py installs a custom command that, upon installation, writes a shell script to /tmp which sleeps for five minutes before downloading an ELF binary from a suspicious external URL. This binary is staged as /tmp/systemd-helper, made executable, and launched detached. The binary's behavior suggests attempts at persistence through systemd-like services, cryptocurrency mining, and network scanning or propagation. The Python module itself is a no-op stub, indicating the malicious payload is delivered solely via the installation process. The campaign is linked to similar previous campaigns and uses delayed execution and systemd-mimicking filenames as anti-forensic measures.
Potential Impact
Installation of this package results in execution of a remote ELF binary that may establish persistence on the infected system, perform cryptocurrency mining, and scan or propagate over the network. The package's malicious behavior occurs during installation, potentially compromising the host system without user awareness. The use of typosquatting increases the risk of accidental installation by users expecting legitimate packages. There is no confirmed active exploitation in the wild reported yet.
Defensive Guidance
No official patch or fix is available since this is a malicious package impersonating legitimate software. The primary mitigation is to avoid installing packages with suspicious or typosquatted names. Users and organizations should verify package authenticity before installation, prefer official package names, and use tools that detect typosquatting or malicious packages. Monitoring package sources and employing supply chain security measures can help prevent installation of such malicious packages.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14388
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8c4c74acd9273b499c0e15
Added to database: 08/24/2026, 13:51:48 UTC
Last enriched: 08/24/2026, 14:27:20 UTC
Last updated: 08/25/2026, 02:51:59 UTC
Views: 25
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.