Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in idnna (PyPI)

0
Critical
Published: 08/07/2026 (08/07/2026, 07:05:56 UTC)
Source: GCVE Database
Product: idnna

Description

The PyPI package 'idnna' is a malicious typosquatting package impersonating the popular 'idna' library. During installation, it executes obfuscated code that downloads and runs a remote binary from an unrelated GitHub repository. This binary is executed with elevated permissions and is reported to exfiltrate cryptocurrency wallet data and potentially other sensitive information. The malicious behavior triggers automatically upon 'pip install' of affected versions.

Affected software

PyPIghsa
idnna
Affected versions
=0.1.1=0.1.2=0.2.0=0.3.0

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

AILast updated: 08/07/2026, 15:40:30 UTC

Technical Analysis

The 'idnna' package on PyPI mimics the name of the legitimate 'idna' package and advertises itself as HTTP client utilities, but contains only a trivial module. Its setup.py overrides the install command to execute a base64-decoded hidden payload. This payload downloads an opaque binary named 'something' from a personal GitHub repository unrelated to the package's stated purpose, sets executable permissions, and runs it detached. The downloaded artifact is unpinned by hash, and the payload is obfuscated to evade detection. The executed binary reportedly exfiltrates cryptocurrency wallet data and possibly other sensitive information. This malicious code activates automatically during the installation of versions 0.1.1, 0.1.2, 0.2.0, and 0.3.0.

Potential Impact

Installation of the 'idnna' package results in execution of a remote, unverified binary that can exfiltrate sensitive data such as cryptocurrency wallet information. This compromises the confidentiality of user data and may lead to financial loss or further system compromise. The attack is triggered automatically during package installation, increasing risk of inadvertent infection.

Mitigation Recommendations

Users should avoid installing the 'idnna' package and verify package names carefully to avoid typosquatting. Remove any installed versions of 'idnna' (0.1.1, 0.1.2, 0.2.0, 0.3.0) from environments. Since no official patch or fix exists, the best mitigation is to rely on trusted sources and package names. Monitor for suspicious activity if the package was installed. There is no vendor advisory or patch available; patch status is not yet confirmed — check vendor advisories or PyPI security notices for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-13488
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["PyPI"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a75f711bf8831d53984fb12

Added to database: 08/07/2026, 15:17:37 UTC

Last enriched: 08/07/2026, 15:40:30 UTC

Last updated: 08/08/2026, 03:40:59 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses