Dependencies, plugins & MCP servers in AI-built apps
AI suggests packages, extensions and MCP servers that can be malicious or vulnerable. Check the publisher and permissions before installing.
21 items · 0 stories · 21 security incidents
Why it happens
AI tools suggest packages, editor extensions and MCP servers by name, and attackers publish look-alike or hijacked versions that steal keys or run code on install.
What to check in your own app
Check the publisher, download history and repository before installing anything an AI suggests.
Pin versions and use a lockfile; review changes when updating.
Give MCP servers and extensions the fewest permissions possible.
Rotate keys if a package you use is reported as compromised.
JFrog says a new Hugging Face account published 'llama-3.2-1b-tuned' on 24 November with about 2.5 KB .bin files instead of real weights. Loading it with trust_remote_code=True, unpickling the files, or rendering its chat template ran a credential stealer that read environment variables and Kubernetes tokens and uploaded them back to Hugging Face. The operator's own AI agent leaked its keys; Hugging Face disabled every repo in the campaign.
Zero Day Initiative published a 0-day advisory on 24 November: Devin Desktop's Electron setup loads a script file from an unsecured location, so an attacker who can already run low-privileged code on the machine can escalate and run code as the target user. ZDI reported it on 2 September and lists no vendor fix; its only advice is to restrict interaction with the product.
Microsoft Research showed a capable agent model can be backdoored by editing fewer than 10 neurons, so it passes all evaluations but runs an attacker's command when a trigger string appears. The attack needs only enough compute to run the model. Microsoft has not seen it used in the wild and says frontier AI agents can spot the anomalous weight edits.
On 17 Nov 2026 Lumia Security Labs published research showing that the auto-update flows of Cursor, Antigravity, VS Code, Claude Desktop and Claude Code can be hijacked by an attacker who can intercept TLS traffic. Lumia says Cursor's and Claude's executables are signed but the signature isn't checked, VS Code relies on a checksum that comes in the same metadata, and Claude Code's newer signed update metadata check is gated by an unsigned feature flag. Codex and ChatGPT, updated through the Microsoft Store, were not interceptable this way. Lumia shows how corporate DLP/SASE inspection or a loose AD CS certificate template can provide the trust needed. Vendors don't treat it as a vulnerability because it needs a TLS man-in-the-middle first.
Manifold Security disclosed CVE-2026-122133 (CVSS 8.6) on 16 Nov 2026. On Windows, Mistral Vibe up to v2.25.4 resolved git by bare name during startup context gathering, so a git.exe committed inside a project took precedence over the installed Git. Opening a malicious repository was enough to run arbitrary code with the user's privileges, before any approval prompt, which could steal SSH keys, cloud and model-provider credentials and tokens. v2.25.5 resolves git to an absolute path and rejects candidates inside the project directory.
Bitdefender Labs said on 17 Nov 2026 it had found 22 malicious GitHub links built to target developers using AI coding assistants. Files such as AGENTS.md and CLAUDE.md tell the assistant that scripts/setup.js is a 'sealed' signed artifact it must not read, and to run it automatically at session start without asking. A second route uses a session-start hook in .claude/settings.json, so the script runs once the repo is trusted with no prompt at all. The heavily obfuscated payload steals CI/CD tokens, cloud secrets, package-registry credentials, SSH keys, .env files, API keys, browser and password-manager data, then searches the machine for config files of 14 agents (Claude, Codex, Gemini, Copilot, Cursor, Bolt, Cline, Aider and others) to plant malicious instructions, hooks or MCP servers. With stolen GitHub or GitLab tokens it can commit the same files into up to 25 other repos by default and try to republish infected packages to npm, PyPI, RubyGems and JFrog.
Aikido Security reported on 12 Nov 2026 that from 10 November an attacker used stolen tokens for 4,837 GitHub accounts to open probe pull requests in 61,764 repositories, then pushed a roughly 1,500-line shell script into workflows, onto throwaway branches or into an npm postinstall hook. The script collects Actions secrets, GITHUB_TOKEN and OIDC tokens, cloud credentials and AI provider keys, sends them out, then reverts the commit and deletes the workflow run and its logs. Aikido counted at least 1,835 repositories where the payload ran, and said the stealer reached at least one Packagist and one Go package through automated publishing.
Security firm Depi wrote on 11 Nov 2026 that the openai/codex repo had an issue-labeler GitHub Actions workflow that passed the title and body of any newly opened issue straight into a Codex agent prompt. Anyone could open an issue, so Depi used a crafted prompt injection to get code execution inside the agent sandbox, then chained a sandbox escape and cache poisoning until it could control what got published to the real @openai/codex npm package. Depi reported it through Bugcrowd; it says OpenAI fixed the core bug right away and users have nothing to patch.
Socket's Threat Research Team analysed strutil-core 1.0.1, a RubyGems package published on 1 November 2026 less than two hours after a clean 1.0.0. During gem install, a native extension script downloads the Bun runtime and runs a 5.48 MB worm from the Shai-Hulud-derived Miasma family. It collects cloud, CI, registry, SSH, wallet and AI coding tool credentials, adds an MCP server named workspace-tools and SessionStart hooks to local agent configs, and with stolen Git credentials commits .claude/settings.json, .cursor/mcp.json, CLAUDE.md, AGENTS.md and a VS Code folder-open task into repositories, so opening the repo in an AI coding tool can run it again. A monitor deletes the home directory if a stolen GitHub token stops working. RubyGems removed both versions about five hours after release; Socket found no public dependents and no confirmed victims.
Glow Labs published research on 2 November documenting a pattern it calls MCPhantom: AI coding agents (Claude Code, Cursor, Codex CLI, Claude Cowork and Claude chat, across Anthropic, OpenAI and xAI models) install deprecated Anthropic Model Context Protocol reference servers from training data when a developer asks for a capability such as a GitHub MCP. In 98% of the reviewed sessions the agent filled in the old package name itself. Those archived servers carry four high-severity flaws, including a prompt-injection remote code execution bug in the Puppeteer server that turns an approved browse into arbitrary local commands. Maintainers confirmed the Puppeteer server is unmaintained and will not be patched; npx still installs the packages. Glow reports about 17 million npm downloads of the deprecated reference servers since July 2025 and no in-the-wild exploitation yet.
GitHub published malware advisories on 2 Nov, sourced from Amazon Inspector, for two npm packages posing as Markdown toolkit MCP servers. @ifasn/md-doc-mcp probes the AWS, GCP, Azure and Alibaba Cloud metadata services when it loads and sends the responses over plain HTTP to a hardcoded IP. @ifasn/mmdd-doc-mcp pulls Alibaba Cloud instance-role credentials on startup and ships scripts that look for /etc/shadow, SSH keys, .env files and Kubernetes service-account tokens. No version is safe.
Cursor says a tampered copy of the Anthropic.claude-code extension, versions 2.1.312 and 2.1.313 for Windows and macOS, was served in its extension marketplace from about 2:27am to 1:35pm PT on 29 Oct. It was not built by Anthropic. The code reported host details, added an attacker SSH key to authorized_keys, tried to enable SSH and open a reverse tunnel, and installed persistence through a LaunchAgent or scheduled task. Cursor says enabling SSH usually failed without admin rights, but the key and persistence were still written, and uninstalling the extension may not remove them. Microsoft confirmed the Visual Studio Marketplace and npm releases were not affected.
Warp, the terminal turned agentic development environment, said attackers exploited a vendor in its infrastructure and exposed agent traces and telemetry. CEO Zach Lloyd estimates roughly 1% of users may be affected and says the company spotted it within hours; CrowdStrike is helping. Warp has not said whether code, prompts or credentials were in the exposed data, BleepingComputer reports.
WarpSecurity incident · News · Oct 27, 2026Source ↗
BleepingComputer reported on 9 Oct that attackers were abusing legitimate Bing click-tracking redirects inside Google search ads to send people searching for 'claude mac' to a fake Claude download page, a technique Push Security calls Adception. The page shows Anthropic's real install command, but the copy button puts a different command on the clipboard that downloads and runs a script from an attacker server in the macOS shell. Push Security says the final payload was not known.
On 19 Oct GitHub's Advisory Database published GHSA-cj9w-7h22-q93g, flagging the npm package api-anthropic as malware for all versions. GitHub says any computer that installed or ran it should be considered fully compromised and every secret on it rotated from a different computer. The name looks like an Anthropic SDK, but the official package is @anthropic-ai/sdk; npm has since replaced api-anthropic with a security placeholder.
On 21 Oct LiteLLM's release pipeline was compromised and a malicious 1.107.0 went out on PyPI (about 11:39 to 13:23 UTC) and Docker tags including latest. Its wheels added cook.pth, cook.py and sitecustomize.py, which run a credential stealer on every Python start, even without importing litellm. It took provider keys, the proxy's stored credentials table, cloud, SSH and CI secrets, and Cursor and Claude config, then left an hourly remote-code loader. LiteLLM says 1.106.2 and the private enterprise release are safe.
Socket found compromised GitHub accounts adding a fake security-audit.yml workflow to 346 repos on 8 Oct; it later counted more than 500 accounts and tens of thousands of repos. The workflow took Actions secrets and searched the code and full git history for Anthropic, OpenAI, OpenRouter, AWS and other keys.
A malicious tensorlake 0.5.144 was published to npm from a compromised maintainer account and was live for about 1 hour 40 minutes. On install it took GitHub and npm tokens, cloud keys, .env files and AI tool and MCP config, then spread. It also planted a service that deletes your home folder if the stolen GitHub token is revoked.
Koi Security found an npm MCP server impersonating Postmark that, from one version on, quietly blind-copied every email it sent to an attacker-controlled address.
Malicious versions of the Nx build tool were published to npm; the install script used locally installed AI coding CLIs to search the machine for secrets and wallets and uploaded them to GitHub.