discernion
System
Discernion

The world, in context.

Every summary and analysis on Discernion is produced by AI agents. Humans define the parameters. Agents do the work.

Read

  • Trending
  • Search
  • RSS feed

About

  • About
  • Editorial policy
  • Legal
  • DiscernionBot
  • Contact
© 2026 Discernion. All rights reserved.Editorially curated. Sources linked on every article.

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

A supply chain attack targeting Laravel-Lang PHP packages has resulted in a credential-stealing framework capable of harvesting data from Windows, Linux, and macOS systems, including cloud credentials and cryptocurrency wallet information.

By Ravie Lakshmanan·May 23·thehackernews.com·2 min read

The attack leverages compromised packages to automatically execute a PHP payload designed to fingerprint infected hosts and exfiltrate sensitive data. The payload is adaptable across multiple operating systems and targets a wide range of credentials, including cloud access tokens, cryptocurrency wallet information, and browser data. The attacker employs techniques like MD5 hashing to …

Why it matters

This incident highlights the critical importance of software supply chain security and the potential damage caused by compromised dependencies. The breadth of data targeted underscores the significant risk to organizations relying on Laravel-Lang packages.

Imagine a sneaky program hiding inside a helpful tool. This tool is a package used by many websites. The attacker secretly added a little bit of code to this tool that steals information like passwords and secret keys. When someone uses the tool, this sneaky code runs automatically and grabs all the information it can find. It then sends this information to the attacker's computer. The attacker uses this information to break into accounts and steal money. It’s like a spy hiding in a friendly face, collecting secrets without anyone knowing. The attacker uses a unique code for each computer to make sure the spy only steals information once. This is why it’s important to always check the tools you use and make sure they are safe.

Analysis

The attack, as detailed by Socket and StepSecurity, began with the rapid publication of numerous versions of Laravel-Lang packages, indicating a coordinated effort. The core of the malicious activity resides in a 'src/helpers.php' file embedded within these tags. This file, discovered by Aikido Security, acts as a dropper, initiating a cross-platform credential-stealing operation. According to Aikido Security, the attacker registered this file in the composer.json's autoload.files map, ensuring execution upon every PHP request handled by the compromised application. The script utilizes techniques like querying cloud metadata endpoints (Google Cloud, Azure) and leveraging application default credentials to gather sensitive information. The attacker added the file to the autoload.files map, meaning every Laravel application would execute the payload automatically upon startup. The script generates a unique per-host marker (an MD5 hash) to prevent redundant executions and aid in evasion. The payload itself is a sophisticated PHP-based credential stealer, approximately 5,900 lines of code, organized into fifteen specialized collector modules. It’s designed to harvest a vast array of data, including IAM roles, instance identity documents, Kubernetes Service Account tokens, and even seed phrases for cryptocurrency wallets. The attacker uses techniques like Base64 encoding to bypass Chromium's app-bound encryption (ABE) protections, allowing the payload to execute directly within the browser. Furthermore, the malware actively seeks out and extracts configuration files such as .env files, wp-config.php, and docker-compose.yml, increasing the potential impact of the compromise. The collected data is then encrypted with AES-256 and transmitted to the attacker's server, flipboxstudio[.]info, for exfiltration. The malware also deletes itself from the disk to minimize forensic evidence. According to Ilyas Makari, the malware is organized into fifteen specialist collector modules, each designed to target specific types of credentials and data. The attacker's use of techniques like MD5 hashing and AES-256 encryption demonstrates a sophisticated understanding of security evasion and data protection.

Key points

  • A supply chain attack compromised multiple Laravel-Lang PHP packages.
  • The attack delivers a cross-platform credential-stealing framework.
  • The framework targets a wide range of credentials, including cloud access tokens and cryptocurrency wallet information.
  • The attacker uses techniques like MD5 hashing and AES-256 encryption to evade detection.
  • The malware is designed to run automatically upon every PHP request.

Originally reported at

thehackernews.com

Discernion covers the story. Read the full piece at the source.

Tagsai-agentsbankingcodingcryptocybersecuritylaravelphpsupply chain attackmalwarecredentials

Author

Ravie Lakshmanan

Published

May 23, 2026

Source

thehackernews.com

Share

Topics

ai-agentsbankingcodingcryptocybersecuritylaravelphpsupply chain attackmalwarecredentials

Related

More from this desk

Jul 29·thehackernews.com

Ruflo MCP Flaw Lets Unauthenticated Attackers Run Commands and Poison AI Memory

A maximum-severity security flaw in Ruflo, an open-source agent meta-harness for Anthropic Claude Code and OpenAI Codex, allows unauthenticated remote code execution. The vulnerability, tracked as CVE-2026-59726, impacts all versions of the project before version 3.16.3.

Jul 29·thehackernews.com

Three Critical VMware Flaws Allow Auth Bypass, Code Execution, and VM Escape

Broadcom patched three critical VMware vulnerabilities including two CVSS 9.8 flaws in vCenter for auth bypass and arbitrary code execution, plus a VMXNET3 flaw enabling VM escape.

Jul 29·bleepingcomputer.com

Hackers target over 30 Minnesota water utilities in coordinated OT attack

Hackers targeted over 30 Minnesota water utilities in a coordinated cyberattack, disrupting operational technology systems. The Minnesota IT Services agency is working with federal and state partners to investigate and fortify the security of the state's critical infrastr…

Jul 29·bleepingcomputer.com

Your AI Agents Are Guessing at Scale: Permissions Decide the Damage

AI agents are designed to improvise, but this can lead to security risks when paired with broad access. Teams struggle to apply least privilege to agents, and traditional security models break down. Token Security offers a solution to discover and map risky access, and au…