A supply chain attack targeted the laravel-lang package by injecting malicious code via git tags on forks, which executed at autoload time and stole credentials, SSH keys, and environment secrets from any machine running composer update during the attack window. The attack was stopped quickly by Ikido Security but highlights a broader threat. Practical Composer security tips include: always commit composer.lock, run targeted composer updates instead of blanket updates, use composer audit to check for known vulnerabilities, minimize external dependencies by questioning whether each package is truly necessary, and monitor social media (especially Twitter) for active security incidents before running updates.

16m watch time

Sort: