TempMail Ninja
//

Supply Chain Attack: Checkmarx Confirms Massive Credential Exfiltration

6 min read
TempMail Ninja
Supply Chain Attack: Checkmarx Confirms Massive Credential Exfiltration

On April 29, 2026, the cybersecurity community’s worst fears were realized when Checkmarx, a titan in the application security space, officially confirmed a catastrophic data breach. This wasn’t a standard perimeter breach or a simple phishing hook; it was a masterclass in the modern supply chain attack, a cascading failure that turned the very tools designed to protect us into weapons of mass exfiltration. The target was the KICS (Keeping Infrastructure as Code Secure) open-source project, a cornerstone for developers worldwide who rely on it to scan CloudFormation, Terraform, and Kubernetes configurations for security flaws. By poisoning the well of security tooling, the threat actors—identified as the “TeamPCP” and “Lapsus$” hacking groups—managed to siphon away a 96GB archive containing the “crown jewels” of the enterprise: employee databases, proprietary source code, and high-privilege credentials for MongoDB and MySQL databases.

The Anatomy of a Cascading Supply Chain Attack

The breach of Checkmarx was not an isolated incident but rather the climax of a month-long campaign that began in mid-March 2026. To understand the gravity of the supply chain attack, one must look at the “Patient Zero”: the Aqua Security Trivy project. In late March, TeamPCP exploited a misconfigured pull_request_target workflow in the Trivy GitHub repository. This initial foothold allowed them to harvest a Personal Access Token (PAT) which, due to incomplete credential rotation, remained active long enough for the attackers to pivot.

Using these stolen credentials, TeamPCP executed a “tag hijacking” maneuver. In Git-based development, version tags (e.g., v1.0.0) are mutable. The attackers silently re-pointed 75 out of 76 version tags for the Trivy GitHub Action to malicious code. Because thousands of organizations reference these actions by tag name rather than immutable commit SHA, the malicious update was automatically pulled into thousands of private CI/CD pipelines. From there, the infection spread like a digital contagion, moving from Trivy to Checkmarx’s AST and KICS repositories, eventually hitting Bitwarden’s CLI and the LiteLLM project.

The Technical Payload: How the “TeamPCP Cloud Stealer” Operated

The technical sophistication of this supply chain attack lies in its stealth and its target-rich environment. Once the poisoned KICS action was triggered within a victim’s GitHub Actions runner, it deployed a three-stage payload known as the “TeamPCP Cloud Stealer.” This malware was engineered to operate within the ephemeral memory of the CI/CD environment, making it nearly invisible to traditional endpoint detection and response (EDR) tools. The payload functioned as follows:

  • Environment Scoping: The malware first scanned the runner’s environment variables (env) for sensitive strings, specifically targeting AWS_ACCESS_KEY_ID, AZURE_CLIENT_SECRET, and GOOGLE_APPLICATION_CREDENTIALS.
  • The MCP Addon: In the case of Checkmarx’s VS Code and OpenVSX extensions, the attackers introduced a hidden “MCP Addon” feature. This was a ~10MB JavaScript payload (mcpAddon.js) executed via the Bun runtime, which established a backchannel to an attacker-controlled domain: audit.checkmarx[.]cx.
  • Uncensored Reporting: Most critically, the modified KICS binary was altered to generate “uncensored” scan reports. While the legitimate tool identifies security risks, the malicious version actively bundled those risks—including hardcoded secrets found in IaC files—and exfiltrated them to a secondary C2 server.

The Lapsus$ Connection and the 96GB Leak

While TeamPCP provided the technical “break-in” and propagation, the partnership with the Lapsus$ extortion group added a layer of aggressive monetization and public shaming. On April 25, 2026, Lapsus$ posted a teaser on their Tor-based leak site, claiming they had successfully breached Checkmarx’s internal GitHub environment. By April 29, they released a massive 96GB archive that confirmed the full scope of the disaster.

The exfiltrated data is a roadmap for further corporate espionage. According to forensic analysis, the breach included:

  1. Database Credentials: Plaintext API keys and connection strings for production MongoDB and MySQL instances. This allows attackers to bypass application-level security and query databases directly.
  2. Source Code: Full repositories for proprietary Checkmarx scanning engines, providing a blueprint for future zero-day exploits against their software.
  3. Employee Databases: PII (Personally Identifiable Information) of Checkmarx staff, including hashed passwords, internal email logs, and Slack communication archives.
  4. Staging Repositories: The attackers used stolen GitHub tokens to create “ghost” repositories under victim accounts—often disguised as “Checkmarx Configuration Storage”—to temporarily cache stolen data before final exfiltration.

Why Traditional Defenses Failed

The Checkmarx incident highlights a fundamental flaw in how modern dev-ops teams manage trust. Most organizations operate on a model of “Implicit Trust” for their security vendors. If a tool is maintained by a reputable company like Checkmarx or Aqua Security, it is often granted broad permissions to scan sensitive codebases and access CI/CD secrets. This supply chain attack exploited that very trust.

Standard Two-Factor Authentication (2FA), even when enforced, proved insufficient. The attackers didn’t just steal passwords; they hijacked active sessions and stole authentication tokens directly from the memory of developers’ machines and CI/CD runners. This bypasses the need for a one-time code (OTP) entirely. Furthermore, the use of “backdated commits”—where the attackers manipulated Git history to make malicious code appear as if it had been in the repository since 2022—allowed the poisoned code to pass manual audits by appearing as “legacy” infrastructure.

The Call for Zero Trust and Secret-less Architecture

In the wake of this 2026 breach, security experts are demanding an immediate shift to Zero Trust architecture within the software development lifecycle (SDLC). The consensus is that no third-party action or SDK should ever have direct access to long-lived secrets. The industry is moving toward several “New Normal” protocols:

  • Hardware-Based 2FA: Software-based 2FA (SMS or Apps) is no longer considered secure for high-privilege access. Mandatory use of FIDO2-compliant hardware keys (such as Yubikeys) is being cited as the only way to prevent the token theft seen in the TeamPCP campaign.
  • OIDC for Cloud Secrets: Organizations are urged to replace long-lived API keys with OpenID Connect (OIDC). This allows GitHub Actions runners to request short-lived, environment-specific tokens from cloud providers like AWS or GCP, which expire immediately after the job is finished.
  • Immutable Action References: The most immediate “quick fix” for the supply chain attack vector is to pin all GitHub Actions to a specific commit SHA (a 40-character hash) rather than a version tag. A SHA is immutable; a tag is not.

Immediate Mitigation Steps for Organizations

If your organization utilized KICS, Trivy, or any related SDKs between March 19 and April 29, 2026, the risk of compromise is high. Security researchers recommend the following immediate actions:

  1. Complete Credential Rotation: Do not assume a secret is safe because it was “protected” by a vault. Rotate every API key, database password (MySQL/MongoDB), and SSH key that was present in any CI/CD environment where these tools ran.
  2. Audit Git History: Scan your internal repositories for any unauthorized commits or new “staging” repositories that may have been created by the malware’s propagation routine.
  3. Enable End-to-End File Encryption: Ensure that sensitive data within your databases is encrypted at the field level. Even if an attacker uses a stolen MySQL credential to access the database, the data itself should remain indecipherable without a key stored in a separate, hardware-backed HSM (Hardware Security Module).
  4. Verify Provenance: Use tools like Sigstore to verify the cryptographic signature of any developer tool before it is allowed to execute in your environment. If the signature doesn’t match the vendor’s known public key, the build must fail.

Conclusion: The Death of Implicit Trust

The Checkmarx and TeamPCP incident of 2026 will be remembered as a turning point in cybersecurity history. It proved that the more we rely on automated security scanners, the more vulnerable we become if those scanners are compromised. The supply chain attack has evolved from a niche threat into a systemic risk that can bring down the world’s most sophisticated tech companies in a matter of days.

As we move forward, the focus must shift from “securing the perimeter” to “securing the pipeline.” The era of trusting a vendor simply because they are a leader in the industry is over. In its place, we must build a world of hardened, verifiable, and secret-less development. If 2026 has taught us anything, it is that in the digital supply chain, you are only as secure as the weakest link in your most trusted tool.

TN

Written by

TempMail Ninja

Digital privacy and online security expert. Passionate about creating tools that protect users' identity on the internet.