Executive Summary
A coordinated attack infected eight Packagist packages via package.json scripts that fetch a Linux binary from GitHub Releases.
What Happened
A new "coordinated" supply chain attack campaign has impacted eight packages on Packagist including malicious code designed to run a Linux binary retrieved from a GitHub Releases URL. "Although the affected packages were all Composer packages, the malicious code was not added to composer.json," Socket said. "Instead, it was inserted into package.json, targeting projects that ship JavaScript
Affected Products
- Packagist
Vulnerability / Attack Technique
Compromised packages
Technical Mechanism
Malicious package.json.
AI Security Category
Not AI-specific
RealGround Analysis
Supply chain attack.
Recommended Controls
- Audit PHP and JS dependencies
Related RealGround Service
AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.
Sources
thehackernews.com: https://thehackernews.com/2026/05/packagist-supply-chain-attack-infects-8.html
Summary and analysis written by RealGround from the source above; last updated 2026-10-18.
