TL;DR: More than 90 malicious npm and PyPI packages appeared between June 26 and July 3, 2026, alongside AI-tooling clusters, dependency confusion attempts, and a new MCP-layer credential theft pattern that can evade postinstall-focused scanners, according to Xygeni’s weekly digest. The signal is that build pipelines now need real-time registry monitoring, not weekly review cycles, because malicious code increasingly targets developer trust paths before install-time controls ever see it.
NHIMG editorial — based on content published by Xygeni: LLMjacking: How Attackers Hijack AI Using Compromised NHIs
By the numbers:
- Xygeni confirmed over 90 malicious packages between June 26 and July 3, 2026, across npm and PyPI.
- The anthropic-toolkit cluster had 20 versions confirmed on June 30 alone.
- The cursed-modules family published over 15 versions between July 1 and July 2.
Questions worth separating out
Q: What breaks when malicious packages reach build pipelines unchecked?
A: Unchecked packages can execute before conventional controls inspect them, which means secrets, environment variables, and internal tokens can be exposed during install or runtime.
Q: Why do AI tooling packages create higher supply chain risk than ordinary libraries?
A: AI tooling packages often sit closer to prompts, secrets, code, and runtime automation than standard libraries do.
Q: How can security teams tell whether package blocking is actually working?
A: Look for blocked versions being removed from dependency resolution before install, not just flagged after download.
Practitioner guidance
- Block untrusted package provenance by default Require allowlisted registries, package signature validation where available, and policy checks for lookalike namespaces, inflated versioning, and unusually rapid publication bursts.
- Classify AI and MCP dependencies as privileged software Apply enhanced review to agent frameworks, model helpers, and MCP tools that can access secrets, build contexts, or external services, including code-level inspection before admission.
- Move secrets detection to runtime and pre-execution points Scan for leaked credentials before install, at import time, and inside CI or agent execution paths so hidden decryptors or payloads are caught before they run.
What's in the full report
Xygeni's full article covers the operational detail this post intentionally leaves for the source:
- Per-package confirmation lists for the week’s malicious npm and PyPI activity, useful for defenders tracking specific names and versions.
- The detailed SkillLeak pattern explanation, including why an MCP skill can hide credential theft from scanners focused on postinstall hooks.
- Campaign-by-campaign breakdowns of AI-tooling impersonation, dependency confusion, and version-flooding behaviour across registries.
- The vendor’s detection and prioritisation approach for real-time package monitoring in DevSecOps pipelines.
👉 Read Xygeni's weekly malicious package digest for npm, PyPI, and MCP threats →
Malicious package floods and MCP credential theft: what teams should do?
Explore further
Supply chain security is now identity security for software delivery. Malicious packages do not just introduce code risk, they inherit whatever trust developers, build agents, and AI workflows already extend to registries. Once a package can read environment variables, invoke tools, or reach an MCP-connected agent, it becomes an identity abuse problem as much as a malware problem. The practical conclusion is that provenance and permission boundaries must be enforced together, not separately.
A question worth separating out:
Q: Who is accountable when a compromised dependency exposes production secrets?
A: Accountability is shared across application, platform, and identity teams because the failure spans dependency control, secret exposure, and workload access governance. Security frameworks expect organisations to reduce attack surface, but the practical answer is to remove reusable secrets from places untrusted code can reach and to log every runtime credential handoff.
👉 Read our full editorial: Malicious package floods show the pipeline is now the target