Skip to main content
Mallory
← Back to News
package-repository-poisoningextension-plugin-hijackdependency-confusion-typosquatremote-access-implant

Malicious Developer Supply-Chain Packages Target VS Code and PyPI Users

Supply Chain Risk · 4 sources · Updated 5mo ago · First seen Jan 25, 2026

Malicious Developer Supply-Chain Packages Target VS Code and PyPI Users

Security researchers reported multiple developer supply-chain threats abusing trusted ecosystems to steal data or deliver malware. In Microsoft’s VS Code Marketplace, two AI-themed extensions—ChatGPT – 中文版 (publisher WhenSunset, ~1.34M installs) and ChatMoss (CodeMoss) (publisher zhukunpeng, ~150K installs)—were found exfiltrating developer data to China-based servers without disclosure or consent. Koi Security attributed the activity to a campaign dubbed “MaliciousCorgi,” noting shared code and common backend infrastructure; the extensions reportedly monitor files opened in VS Code and transmit full contents (Base64-encoded), including subsequent changes.

Separately, malicious PyPI packages spellcheckerpy and spellcheckpy impersonated the legitimate pyspellchecker project and embedded a Base64-encoded downloader inside a seemingly legitimate Basque dictionary resource (resources/eu.json.gz). Aikido reported the attacker first published “dormant” versions (payload present but not executed), then enabled execution in spellcheckpy v1.2.0 by adding an obfuscated trigger that runs on import/initialization (e.g., when importing SpellChecker), ultimately downloading a full-featured Python RAT. Together, the incidents reinforce the risk of installing unvetted extensions and packages, even when they appear functional and reference legitimate upstream repos.

Why it matters

Impact assessment

Developer populations using VS Code extensions and Python packages are directly affected, especially software engineering teams handling proprietary source code, cloud credentials, configuration files, and .env secrets. The impact is high because the VS Code extensions reportedly exfiltrated file contents and edits in real time at large scale, while the PyPI packages delivered a Python RAT capable of persistent remote command execution.

The scope is both widespread and targeted: the VS Code exposure is potentially broad due to roughly 1.5 million combined installs, while the PyPI activity appears more targeted toward developers who installed typosquatted packages. There are reported incidents of active malicious behavior in the wild for both stories, including live exfiltration to attacker infrastructure and staged malware delivery.

Supporting facts

  • Affected products:
    • Microsoft VS Code Marketplace extensions:
      • ChatGPT – 中文版
      • ChatMoss (CodeMoss)
    • PyPI packages:
      • spellcheckerpy
      • spellcheckpy
  • Affected users:
    • Developers using AI-themed VS Code coding assistants
    • Python developers installing spellchecker-related packages from PyPI
    • Organizations with developer workstations containing source code, secrets, and cloud credentials
  • Severity drivers:
    • Source code theft risk
    • Exposure of cloud service credentials and configuration files
    • Exposure of .env files and API keys
    • Remote access trojan deployment with arbitrary code execution
  • Scope indicators:
    • VS Code extensions had about 1,340,869 and 151,751 installs respectively
    • VS Code extensions were still available in the marketplace at time of reporting
    • PyPI packages impersonated a legitimate project and linked to the real upstream GitHub repository to increase trust
  • Known in-the-wild activity:
    • Koi Security reported active exfiltration by the VS Code extensions
    • Aikido reported spellcheckpy v1.2.0 executed a downloader on import/initialization and fetched a stage-2 RAT
Does this reach your builds?Trace attribution and downstream blast radius.
Trace the chain
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

8 events · Nov 1, 2025 – Jan 26, 2026
  1. Jan 26, 202610mo ago

    Koi Security discloses PackageGate package manager zero-days

    By January 26, 2026, Koi Security also disclosed "PackageGate," six zero-day vulnerabilities affecting npm, pnpm, vlt, and Bun that could bypass lifecycle script and lockfile integrity protections. Fixes were released for pnpm, vlt, and Bun, while npm reportedly declined to issue a fix and stated that installing git dependencies implies trust in repository contents.

  2. Jan 26, 202610mo ago

    Microsoft is contacted and later opens investigation into malicious extensions

    When the malicious VS Code extensions were publicly reported, Microsoft had been contacted for comment and the extensions were still available in the marketplace. By January 26, Microsoft had launched an investigation, though the extensions had not yet been removed according to reporting at the time.

  3. Jan 23, 202611mo ago

    Researchers reveal 1.5 million-install VS Code extensions exfiltrate developer data

    Koi Security reported that the two VS Code extensions, installed about 1.5 million times, covertly sent opened file contents and subsequent edits to servers in China. The extensions could also receive a server-side command to harvest up to 50 workspace files, potentially exposing source code, credentials, .env files, and configuration data.

  4. Jan 23, 202611mo ago

    Koi Security uncovers 'MaliciousCorgi' VS Code extension campaign

    By January 2026, Koi Security identified two malicious Visual Studio Code Marketplace extensions, ChatGPT and ChatMoss/CodeMoss, masquerading as AI coding assistants. The extensions shared the same backend infrastructure and data-stealing code, leading researchers to track the activity as the "MaliciousCorgi" campaign.

  5. Jan 21, 202611mo ago

    Researchers detect malicious PyPI packages delivering Python RAT

    On January 20–21, 2026, a malware detection pipeline identified the malicious PyPI packages spellcheckerpy and spellcheckpy. Analysis showed the second-stage RAT performed host fingerprinting, used a custom XOR-obfuscated protocol, disabled TLS certificate validation, and beaconed every five seconds for commands including arbitrary code execution.

  6. Jan 21, 202611mo ago

    spellcheckpy v1.2.0 adds import-triggered RAT execution

    On January 20–21, 2026, spellcheckpy version 1.2.0 introduced obfuscated code that reconstructs and invokes exec at runtime when SpellChecker is imported or instantiated. This change activated the hidden downloader, which fetched a second-stage Python RAT from updatenet[.]work and ran it filelessly.

  7. Jan 20, 202611mo ago

    Malicious PyPI packages are uploaded with dormant payloads

    Before execution was enabled, the PyPI packages spellcheckerpy and spellcheckpy were published while impersonating the legitimate pyspellchecker project and linking to its real GitHub repository. These early releases contained a concealed base64-encoded stage-1 downloader in a Basque dictionary resource file, but the payload was not yet triggered.

  8. Nov 1, 20251y ago

    HelixGuard documents earlier 'spellcheckers' PyPI campaign

    In November 2025, HelixGuard documented a malicious PyPI campaign involving a package named "spellcheckers" that used a similar Python RAT structure but different command-and-control domains. Later analysis suggested the January 2026 packages followed the same threat actor playbook.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

2 linked

Affected products

2 linked
Visual Studio CodeChatgpt

Organizations

1 linked
Python Package Index

Observables

6 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.