惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
阮一峰的网络日志
阮一峰的网络日志
博客园_首页
Last Week in AI
Last Week in AI
月光博客
月光博客
D
DataBreaches.Net
WordPress大学
WordPress大学
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 叶小钗
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
U
Unit 42
Recent Announcements
Recent Announcements
宝玉的分享
宝玉的分享
MyScale Blog
MyScale Blog
C
Check Point Blog
F
Fortinet All Blogs
B
Blog
小众软件
小众软件
Vercel News
Vercel News
罗磊的独立博客
有赞技术团队
有赞技术团队

www.infosecurity-magazine.com

Just Three Ransomware Gangs Accounted for 40% of Attacks Last Month Google Chrome Rolls Out Protection Against Infostealers Targeting Session Cookies STX RAT Targets Finance Sector With Advanced Stealth Tactics Bitcoin Depot Reports $3.6m Crypto Theft After System Breach Atomic Stealer MacOS ClickFix Attack Bypasses Apple Security Warnings Middle East Hack-for-Hire Operation Traced to South Asian Cyber Espionage Group Governance Gaps Emerge as AI Agents Drive 76% Increase in NHIs Google Warns of New Threat Group Targeting BPOs and Helpdesks Google API Keys Quietly Gain Access to Gemini on Android Devices Critical Vulnerability in Ninja Forms Exposes WordPress Sites Anthropic Launches Project Glasswing to Use AI to Find and Fix Critical Software Vulnerabilities US Thwarts DNS Hijacking Network Controlled by Russian APT28 Hackers Claude Discovers Apache ActiveMQ Bug Hidden for 13 Years Iran‑Backed Threat Actors Hit US CNI Providers via Internet‑Facing OT Assets Russian APT28 Hackers Hijack Routers to Steal Credentials, UK Security Agency Warns GPU Rowhammer Attack Enables Privilege Escalation and Full System Compromise GrafanaGhost Exploit Bypasses AI Guardrails for Silent Data Exfiltration Over $17bn Lost to Cyber Fraud in the Last Year, Warns FBI Storm-1175 Exploits Flaws in High-Velocity Medusa Attacks Fortinet Releases Emergency Patch After FortiClient EMS Bug Is Exploited New Phishing Platform Used in Credential Theft Campaigns Against C-Suite Execs New 'Storm' Infostealer Remotely Decrypts Stolen Credentials NCSC Issues Security Alert Over Hackers Targeting WhatsApp and Signal Accounts Apple Expands iOS 18 Security Updates Amid DarkSword Threat Researchers Observe Sub-One-Hour Ransomware Attacks GitHub Used as Covert Channel in Multi-Stage Malware Campaign Most CNI Firms Face Up to £5m in Downtime from OT Attacks Google Introduces Android Dev Verification Amid Openness Debate New Venom Stealer MaaS Platform Automates Continuous Data Theft Chinese Hackers Target European Governments in Espionage Campaigns
ContextCrush Flaw Exposes AI Development Tools to Attacks
Alessandro Mascellino · 2026-03-05 · via www.infosecurity-magazine.com

A critical vulnerability affecting the Context7 MCP Server, a widely used tool for delivering documentation to AI coding assistants, has been disclosed by security researchers.

The issue, dubbed ContextCrush, could allow attackers to inject malicious instructions into AI development tools through a trusted documentation channel.

The flaw was discovered by Noma Labs researchers in the Context7 platform operated by Upstash. Context7 is used by developers to provide AI assistants such as Cursor, Claude Code and Windsurf with up-to-date library documentation directly inside integrated development environments.

With around 50,000 GitHub stars and more than 8 million npm downloads, the server has become a common component in AI-assisted development workflows.

How the ContextCrush Vulnerability Works

The issue stems from the platform's “Custom Rules" feature, which allows library maintainers to provide AI-specific instructions to help assistants better interpret documentation. Researchers found these instructions were delivered to AI agents exactly as submitted, without filtering or sanitization.

Because the instructions were transmitted through a trusted MCP server, AI agents could interpret them as legitimate guidance and execute them with the permissions available on a developer's machine.

Read more on AI supply chain security: Huge "Shadow Layer" of Organizations Hit by Supply Chain Attacks

In practice, this meant attackers could plant malicious rules within the documentation registry and rely on Context7's infrastructure to distribute them to developers' AI tools. The attack did not require direct interaction with a victim system.

The researchers outlined a typical attack chain:

  • Register a new library using a GitHub account on Context7

  • Insert malicious instructions into the Custom Rules section

  • Wait for developers to query the library through their AI coding assistant

When triggered, the injected instructions could cause the AI assistant to perform harmful actions using its existing system access.

Demonstrated Impact and Security Concerns

During testing, the researchers demonstrated how a poisoned library entry could compromise a development environment.

The AI assistant was instructed to search for sensitive .env files, transmit their contents to an attacker-controlled repository and then delete local files under the pretext of performing a Cleanup task. Because the commands were delivered alongside legitimate documentation, the AI agent had no reliable way to differentiate them.

Security analysts warn that the architecture of MCP servers creates an inherent trust problem. Tools that aggregate user-generated content and deliver it through a trusted channel can unintentionally transform documentation into executable instructions for AI agents.

Noma Labs researchers also highlighted that signals such as GitHub reputation, popularity rankings and trust scores can be manipulated, potentially allowing malicious libraries to appear credible.

Following disclosure on February 18, Upstash began remediation the next day and deployed a fix on February 23, introducing rule sanitisation and additional safeguards for the platform. There is no evidence that the flaw was exploited in real-world attacks.