Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsStudyTraining
ProjectsChecklistsAI RankingsNewsletterStatusTagsAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Study
Training
Projects
Checklists
AI Rankings
Newsletter
Status
Tags
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

1154+ Articles
126+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. News
  3. Laravel-Lang PHP Packages Compromised to Deliver Cross-Platform Credential Stealer
Laravel-Lang PHP Packages Compromised to Deliver Cross-Platform Credential Stealer
NEWS

Laravel-Lang PHP Packages Compromised to Deliver Cross-Platform Credential Stealer

Multiple PHP packages belonging to the Laravel-Lang organization have been poisoned in a software supply chain attack, delivering a cross-platform...

Dylan H.

News Desk

May 23, 2026
4 min read

Overview

Cybersecurity researchers have uncovered a new software supply chain attack targeting the Laravel-Lang PHP package organization. Multiple widely used packages have been poisoned to deliver a comprehensive credential-stealing framework capable of running on Windows, Linux, and macOS environments.

The campaign targets developers who install Laravel internationalization packages via Composer — a common workflow for Laravel applications built for multilingual audiences.


Affected Packages

Researchers identified the following Laravel-Lang packages as compromised:

PackagePurpose
laravel-lang/langCore language files for Laravel
laravel-lang/http-statusesHTTP status message translations

Additional packages in the laravel-lang namespace may also be affected. Developers should audit all laravel-lang/* dependencies in their projects.


Attack Mechanics

The attackers executed a classic maintainer account hijacking technique:

  1. Account compromise — The threat actors gained access to a package maintainer's credentials or session token
  2. Malicious version push — Poisoned package versions containing a credential-stealing payload were published to Packagist (the primary PHP package repository)
  3. Trojanized install — Developers running composer require laravel-lang/* or composer update would silently pull in the malicious package
  4. Credential harvesting — The payload collects stored browser credentials, SSH keys, API tokens, and environment variables
  5. Exfiltration — Stolen data is sent to attacker-controlled command-and-control infrastructure

The stealer framework is described as cross-platform, meaning a single payload delivery mechanism targets all major operating systems where PHP developers work.


Scope and Impact

Laravel is one of the most popular PHP frameworks in the world, with millions of active installations. The laravel-lang/lang package alone has been downloaded hundreds of millions of times via Packagist. Key impact areas include:

  • Web application developers using Laravel for enterprise and SaaS applications
  • DevOps and CI/CD pipelines that automatically pull updated dependencies during build processes
  • Cloud-hosted environments where stolen credentials could enable lateral movement or privilege escalation
  • Open-source contributors whose personal development machines may also be targeted

Organizations with automated Composer update processes are at particularly elevated risk — the poisoned packages could have been installed without any manual developer interaction.


Detection and Remediation

Immediate steps for affected organizations:

  1. Audit Composer lock files — Check composer.lock for recent updates to laravel-lang packages and cross-reference against known-malicious version numbers
  2. Rotate all credentials — Treat all credentials accessible from affected developer machines as compromised: API keys, database passwords, SSH keys, cloud credentials
  3. Review CI/CD secrets — If build pipelines pulled affected packages, assume pipeline secrets (GitHub Actions, GitLab CI tokens, etc.) are compromised
  4. Scan for malware persistence — Run endpoint detection tools to identify any remaining malware artifacts or persistence mechanisms
  5. Check environment files — .env files containing database connection strings and API keys are prime targets for this type of stealer

Indicators to look for:

  • Unexpected outbound connections from developer machines or CI systems
  • New or modified files in PHP vendor directories with obfuscated code
  • Unexpected processes spawning from php or Composer-related processes

Broader Supply Chain Context

This attack follows a pattern seen repeatedly in 2025–2026 against package ecosystems including npm, PyPI, RubyGems, and now Packagist. Key trends researchers have noted:

  • Maintainer account takeovers are increasingly the preferred vector — attackers target individual developer credentials rather than exploiting the repository infrastructure itself
  • Cross-platform payloads maximize the blast radius by ensuring the malware runs regardless of the victim's OS
  • CI/CD pipeline targeting multiplies impact by potentially compromising entire organizations through a single developer's dependencies

Sources

  • The Hacker News — Laravel-Lang PHP Packages Compromised to Deliver Cross-Platform Credential Stealer

Related Reading

  • Mini Shai-Hulud Worm Compromises TanStack, Mistral AI, Guardrails AI
  • GitHub Confirms Breach Linked to TanStack npm Supply Chain Attack
  • SAP-Related npm Packages Compromised in Credential Stealing Supply Chain Attack
#Supply Chain#PHP#Laravel#Credential Theft#Malware#The Hacker News

Related Articles

Laravel Lang Packages Hijacked to Deploy Credential-Stealing Malware

A supply chain attack targeting Laravel Lang localization packages has exposed developers to credential-stealing malware after attackers abused GitHub...

3 min read

SAP-Related npm Packages Compromised in Credential-Stealing Supply Chain Attack

Security researchers have uncovered a coordinated supply chain attack campaign dubbed 'mini Shai-H' targeting SAP-related npm packages, injecting...

4 min read

GlassWorm Escalates: 72 Malicious Open VSX Extensions Use

The GlassWorm self-propagating worm campaign has compromised 72 Open VSX extensions using invisible Unicode Private Use Area characters and a Solana...

7 min read
Back to all News