LangChain LangSmith Bug Exposes API Keys in Major LLM Security Flaw

Critical 'AgentSmith' Vulnerability in LangChain’s LangSmith Exposed API Keys; New WormGPT Variants Emerge

  • Security researchers uncovered and reported a critical flaw in LangChain’s LangSmith platform that exposed API keys and user data.
  • The vulnerability, known as AgentSmith, allowed attackers to capture sensitive information with a CVSS risk score of 8.8 out of 10.
  • The exploit worked by adding malicious agents with hidden proxy servers to the platform, which intercepted user communications.
  • LangChain addressed the issue with a backend fix and implemented new warnings regarding custom proxy configurations.
  • Meanwhile, new variants of the WormGPT Malware, powered by xAI Grok and Mistral AI Mixtral, have appeared in underground forums.

Cybersecurity researchers identified a severe vulnerability in the LangSmith platform from LangChain, which allowed attackers to access sensitive user information. The flaw, now fixed, was found to affect how users interacted with AI agents and exposed confidential details like API keys and prompts.

- Advertisement -

According to analysis by Noma Security, the vulnerability, labeled AgentSmith, received a risk score of 8.8 out of 10 on the Common Vulnerability Scoring System (CVSS). Attackers could upload compromised AI agents to the LangChain Hub, which any user could then access. If a user tried out one of these agents, a hidden proxy server intercepted all their data.

Researchers Sasi Levi and Gal Moyal explained, "Once adopted, the malicious proxy discreetly intercepted all user communications – including sensitive data such as API keys (including OpenAI API Keys), user prompts, documents, images, and voice inputs – without the victim’s knowledge." (source). This meant attackers could gain access to the victim’s OpenAI environment, risking theft of proprietary information and possible financial loss if API resources were misused.

The problem was responsibly reported on October 29, 2024, and LangChain released a backend patch on November 6, 2024. The update added a prompt to warn users about potential data exposure when cloning agents with custom proxy settings. If users cloned a malicious agent into their organization, the data leak could continue without their knowledge.

Researchers noted that risks included not just unauthorized access to datasets, but also potential legal and reputational consequences. They said, "Malicious actors could gain persistent access to internal datasets uploaded to OpenAI, proprietary models, trade secrets and other intellectual property, resulting in legal liabilities and reputational damage."

Separately, security analysts from Cato Networks reported that cybercriminals have introduced new versions of the WormGPT malware, now powered by both xAI Grok and Mistral AI Mixtral models. Originally launched in mid-2023, WormGPT enabled attackers to create phishing campaigns and malware, and even though the original project was shut down, new versions continue to circulate on cybercrime forums. These versions use existing large language models to generate uncensored, and often illegal, content, adapting them for malicious use (source).

WormGPT is described by security researchers as a brand for uncensored LLM tools, built by modifying established models to evade limits and produce unethical outputs.

- Advertisement -

✅ Follow BITNEWSBOT on Telegram, Facebook, LinkedIn, X.com, and Google News for instant updates.

Previous Articles:

- Advertisement -

Latest

Bitcoin Drops to $103K as Traders Brace for Fed Rate Decision

Bitcoin fell to $103,300 as traders reduced risk ahead of the Federal Open Market Committee (FOMC) decision.Technical indicators suggest Bitcoin may rebound between $102,000...

Philippines to Adopt OECD Crypto Tax Rules by 2028, Says DOF

The Philippines will implement the OECD's global cryptocurrency tax framework by 2028. This move aims to fight cross-border tax evasion and illicit financial flows involving...

Czech PM Faces No Confidence Vote Amid $47M Bitcoin Scandal

Czech Prime Minister Petr Fiala denied minimizing the impact of a $47 million Bitcoin donation from a convicted criminal. The bitcoin was donated to Justice...

Shiba Inu (SHIB) Drops 3.5% Amid Global Crypto Sell-Off

Shiba Inu (SHIB) dropped over 3.5%, reaching its lowest price since April 9.The broader cryptocurrency market and U.S. stock indices also faced significant losses.Geopolitical...

Ubyx Raises $10M Seed Round to Streamline Stablecoin Transfers

Ubyx raised $10 million in seed funding led by Galaxy Ventures.The company's platform aims to make moving money between bank accounts and stablecoins easier,...

Must Read

How To Buy a Handshake Domain: A Step-by-Step Guide

Handshake Domains | Benefits | Drawbacks | How To Buy | Supported BrowsersIn this step-by-step guide, I am going to show you how to...