Andrew Ng's Context Hub Creates Supply Chain Attack Vector for AI Coding Agents

Available in: 中文
2026-03-29T19:57:10.655Z·1 min read
Context Hub delivers documentation to AI agents through an MCP server. Contributors submit docs via GitHub pull requests, maintainers merge them, and agents fetch content on demand. The problem: ze...

Context Hub, Andrew Ng's new service for providing API documentation to AI coding agents, has been found to contain a critical supply chain vulnerability. A proof-of-concept attack demonstrates that poisoned documentation can trick coding agents into incorporating malicious dependencies into projects.

The Service

Context Hub delivers documentation to AI agents through an MCP server. Contributors submit docs via GitHub pull requests, maintainers merge them, and agents fetch content on demand. The problem: zero content sanitization at any stage.

The Attack

Proof of Concept

Mickey Shmueli (creator of lap.sh) published a PoC demonstrating:

  1. Attacker creates a PR with fake dependencies in documentation
  2. If merged (58 of 97 closed PRs were merged), the poisoning is complete
  3. AI agents fetch the poisoned docs and incorporate malicious packages into configuration files
  4. "The response looks completely normal. Working code. Clean instructions. No warnings."

Why It Works

The Broader Risk

This is a variation of indirect prompt injection — the unsolved risk of AI models being manipulated through external content they consume. As coding agents become more autonomous, the attack surface grows.

Context

Andrew Ng launched Context Hub two weeks ago to solve the problem of AI agents using outdated APIs and hallucinating parameters. The security concerns suggest the solution may be worse than the problem.

Source: The Register

↗ Original source · 2026-03-29T00:00:00.000Z
← Previous: Junior Developer Hot-Swaps Robot Battery During Live Defense Demo: Machine Face-PlantsNext: AI Code Is Not More Secure: 74 CVEs Tracked to AI-Generated Code, Real Number Likely 5-10x Higher →
Comments0