Malicious Plugins on JetBrains Marketplace Steal AI Provider API Keys

Supply Chain Attack: Malicious JetBrains Plugins Steal AI Provider API Keys from Developers

HIGH
June 19, 2026
5m read
Supply Chain AttackMalwareCloud Security

Impact Scope

People Affected

70,000 developers

Industries Affected

Technology

Related Entities

Organizations

JetBrains Aikido Security

Products & Tech

JetBrains MarketplaceGoogle AI

Other

OpenAI AnthropicDeepSeekSiliconFlow

Full Report

Executive Summary

A significant software supply chain attack has been identified on the JetBrains Marketplace, where at least 15 malicious plugins were found stealing sensitive API keys from developers. These plugins, disguised as AI coding assistants, were downloaded by an estimated 70,000 users. Active since at least October 2025, the plugins covertly exfiltrated API keys for major AI services like OpenAI, Anthropic, and Google AI. The stolen credentials were sent over unencrypted HTTP to a hardcoded command-and-control (C2) server. In response to the discovery by Aikido Security, JetBrains has taken down the malicious plugins, banned the publisher, and is working to improve its marketplace security. This incident highlights the growing risk of supply chain attacks targeting the developer ecosystem.

Threat Overview

The attack leveraged the trust developers place in the JetBrains Marketplace ecosystem. The threat actor published 15 plugins with names designed to mimic legitimate AI tools, such as 'CodeGPT AI Assistant' and 'DeepSeek AI Assist'. The attack flow was as follows:

  1. Deceptive Lure: The plugins provided their advertised functionality, lulling developers into a false sense of security.
  2. Credential Entry: The developer would enter their personal or corporate API key for an AI service (e.g., OpenAI) into the plugin's settings within their IDE (e.g., IntelliJ IDEA, PyCharm).
  3. Exfiltration: Upon saving the settings, the plugin would immediately send the API key in a plaintext JSON payload via an unencrypted HTTP POST request to the C2 server at 39.107.60[.]51.
  4. Evasion: To bypass security warnings, some plugins installed a custom trust manager to suppress TLS certificate validation errors, indicating a degree of sophistication.

Researchers also found evidence that the attackers may have been monetizing the stolen keys by reselling access to the AI services through their own plugins.

Technical Analysis

This attack is a classic example of a trojanized software supply chain attack. By compromising a trusted distribution channel (JetBrains Marketplace), the attackers gained direct access to the developer's local environment. The use of unencrypted HTTP for exfiltration is simple yet effective, as outbound port 80 traffic is often permitted in corporate environments.

The most concerning technical aspect is the direct targeting of developer credentials. Stolen AI API keys can lead to significant financial loss through fraudulent usage, as well as the potential for corporate espionage if the keys provide access to proprietary models or data.

MITRE ATT&CK Techniques:

Impact Assessment

The impact on affected developers and their employers can be substantial:

  • Financial Loss: Attackers can use the stolen API keys to rack up enormous bills on AI service accounts, with costs potentially running into thousands of dollars per day.
  • Data Leakage: If the API keys provided access to fine-tuned models or proprietary datasets hosted on AI platforms, this could lead to a major intellectual property breach.
  • Loss of Trust: This incident erodes trust in the security of third-party developer tools and marketplaces, potentially slowing down development workflows as organizations implement stricter vetting.
  • Further Compromise: Stolen keys could be used to interact with internal company services that are integrated with the AI provider, potentially leading to further network intrusion.

IOCs — Directly from Articles

Type
IP Address
Value
39.107.60.51
Description
C2 Server

Cyber Observables — Hunting Hints

Security teams should hunt for the following to identify potential compromise:

  • Log Source: Firewall logs, Proxy logs, DNS logs.
  • Observable: Any outbound network connections from developer workstations or build servers to the IP address 39.107.60[.]51.
  • Observable: Unencrypted HTTP POST requests to unknown IP addresses originating from Java processes (java.exe), which power JetBrains IDEs.
  • Observable: Review installed plugins on developer machines for any of the 15 malicious plugins (a full list may be available from JetBrains or Aikido Security).

Detection & Response

  • Network Monitoring: Block the C2 IP address 39.107.60[.]51 at the network perimeter. Monitor for any historical connections to this IP.
  • Credential Rotation: Any developer who used one of the malicious plugins must immediately revoke the compromised API key from the respective AI service provider (OpenAI, Google AI, etc.) and generate a new one.
  • Audit Usage: Review billing and usage logs from AI service providers for any anomalous activity or unexpected cost spikes.
  • Plugin Audit: Conduct an audit of all third-party plugins installed in developer IDEs across the organization. Remove any non-essential or unvetted plugins.
  • D3FEND Techniques: Employ D3-OTF: Outbound Traffic Filtering to block connections to known-bad IPs and D3-UA: URL Analysis on proxy logs to spot suspicious connections.

Mitigation

  1. Plugin Vetting: Establish a corporate policy for vetting and approving third-party IDE plugins. Maintain an internal allowlist of trusted plugins.
  2. Principle of Least Privilege: When generating API keys, grant them the minimum scope of permissions necessary for their function. Use short-lived keys for development and testing where possible.
  3. Secrets Management: Avoid storing API keys directly in IDE settings. Use a dedicated secrets management solution (e.g., HashiCorp Vault, AWS Secrets Manager) and have the IDE retrieve them at runtime.
  4. Network Egress Filtering: Implement stricter egress filtering rules for developer environments, denying outbound connections by default and only allowing traffic to approved services and domains.
  5. Developer Education: Train developers on the risks of third-party plugins and the importance of verifying the publisher and permissions before installation.

Timeline of Events

1
October 1, 2025
The malicious campaign is believed to have started.
2
June 10, 2026
The malicious plugins were observed to be active until at least this date.
3
June 16, 2026
JetBrains removes the malicious plugins from its marketplace and remotely disables them.
4
June 19, 2026
This article was published

MITRE ATT&CK Mitigations

Vet third-party plugins before installation and maintain an organizational allowlist of approved developer tools.

Implement strict network egress filtering to block outbound connections to untrusted IP addresses and domains, preventing data exfiltration.

Educate developers on the risks associated with third-party plugins and the importance of using secure secrets management practices.

Use dedicated secrets management tools instead of storing sensitive credentials like API keys in IDE configuration files.

D3FEND Defensive Countermeasures

To directly counter the exfiltration method used by the malicious JetBrains plugins, organizations must implement strict outbound traffic filtering for developer environments. The C2 server IP 39.107.60.51 should be blocked immediately at the perimeter firewall. More strategically, security teams should configure a default-deny policy for outbound traffic from developer workstations and build servers. An explicit allowlist should be created for only necessary destinations, such as code repositories (GitHub, GitLab), package managers (NPM, Maven), and required cloud services. This approach would have blocked the unencrypted HTTP POST request to the attacker's unknown IP, preventing the theft of the API keys even after the plugin was installed. Monitoring for and alerting on any attempts to connect to non-allowlisted destinations is crucial for detection.

While JetBrains plugins are not traditional executables, the principle of allowlisting can be applied to the IDE's ecosystem. Organizations should establish a formal vetting process for all third-party plugins. This involves creating an internal 'approved' repository or list of plugins that have been reviewed for security, functionality, and publisher reputation. Developers should be restricted from installing any plugin not on this list. This moves from a model of 'trust by default' to 'trust by exception,' significantly reducing the attack surface. This preventative control stops the malicious software from ever being installed, which is the most effective way to thwart this type of supply chain attack.

Developers and organizations should harden the configuration of their IDEs by externalizing secrets. API keys and other sensitive credentials should never be stored in plaintext within IDE configuration files or settings panels. Instead, use a dedicated secrets management tool (e.g., HashiCorp Vault, Doppler, AWS Secrets Manager). The IDE can be configured to retrieve these secrets dynamically at runtime using a secure authentication method. This practice ensures that even if a malicious plugin gains the ability to read configuration files or intercept settings, there are no plaintext credentials to steal. This decouples the secret from the developer's local environment, providing a robust defense against credential theft.

Timeline of Events

1
October 1, 2025

The malicious campaign is believed to have started.

2
June 10, 2026

The malicious plugins were observed to be active until at least this date.

3
June 16, 2026

JetBrains removes the malicious plugins from its marketplace and remotely disables them.

Sources & References

Top 5 Cybersecurity News Stories June 19, 2026
DieSec (diesec.com) June 19, 2026
JetBrains plug-ins steal API keys from AI services
Techzine (techzine.eu) June 18, 2026
Attackers Exploit JetBrains Plugins To Steal AI Provider Keys
Open Source For U (opensourceforu.com) June 19, 2026

Article Author

Jason Gomes

Jason Gomes

• Cybersecurity Practitioner

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.

Threat Intelligence & AnalysisSecurity Orchestration (SOAR/XSOAR)Incident Response & Digital ForensicsSecurity Operations Center (SOC)SIEM & Security AnalyticsCyber Fusion & Threat SharingSecurity Automation & IntegrationManaged Detection & Response (MDR)

Tags

JetBrainsSupply Chain AttackAPI KeysMalwareOpenAIDevSecOpsIDE

📢 Share This Article

Help others stay informed about cybersecurity threats

🎯 MITRE ATT&CK Mapped

Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.

🧠 Enriched & Analyzed

Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.

🛡️ Actionable Guidance

Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.

🔗 STIX Visualizer

Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.

Sigma Generator

Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.