Malicious `intercom-php` Packagist Release Enabled Composer-Time Credential Theft
Supply Chain Risk · 5 sources · Updated 5mo ago · First seen Apr 30, 2026

A malicious intercom/intercom-php 5.0.2 package was uploaded to Packagist after an attacker abused compromised publishing rights, turning the legitimate PHP SDK into a Composer plugin that executed malware during install or update. Reports say the package launched setup-intercom.sh, downloaded Bun, and ran an obfuscated router_runtime.js payload tied to the Mini Shai-Hulud campaign, which had previously been linked to a compromised Intercom npm package. Because the payload ran at dependency installation time, affected developer workstations and CI/CD pipelines could be compromised even if the library was never imported by the application.
The malware was described as enabling arbitrary code execution with the privileges of the user running Composer, then harvesting environment variables and credential files from developer, cloud, Kubernetes, Vault, Docker, and application environments. Stolen data was encrypted and exfiltrated to a hardcoded endpoint with a fallback GitHub-based channel, creating risks including unauthorized AWS activity, access to private S3 buckets, Route53 manipulation, and database theft or destruction. Researchers said the campaign also sought downstream software supply-chain propagation by seeding additional malicious packages, while Packagist removed the artifact after disclosure and defenders were urged to audit installs, inspect repositories and build logs, and rotate exposed credentials.


