SHAI_HULUD Exposed: What TeamPCP’s Open-Sourced Malware Reveals About the Future of Supply Chain Attacks

May 14, 2026
SHAI_HULUD Exposed_ What TeamPCP’s Open-Sourced Malware Reveals About the Future of Supply Chain Attacks

The threat landscape surrounding software supply chain attacks has entered a dangerous new phase.

Threat actor group TeamPCP, the operators behind the SHAI_HULUD supply chain malware campaign, have now publicly leaked portions of their own malware framework to GitHub using what appear to be compromised GitHub accounts.

By exposing the source code publicly, TeamPCP has effectively lowered the barrier of entry for opportunistic attackers, copycat operators, and financially motivated cybercriminals seeking to weaponize software supply chain infrastructure without building tooling from scratch.

The recently exposed SHAI_HULUD codebase provides one of the clearest real-world examples of this evolution.
exposed SHAI_HULUD codebase

Real-world examples of this evolution

The iZOOlogic Security Research Team analyzed the exposed artifacts, infrastructure patterns, credential harvesting logic, and CI/CD abuse mechanisms identified within the leaked source code. The findings highlight a growing trend where threat actors are no longer attacking software vulnerabilities alone, they are increasingly attacking the trust mechanisms behind modern software development itself.

SHAI_HULUD Open source


The iZOOlogic Analysis: Why SHAI_HULUD Matters

From an intelligence and operational security perspective, SHAI_HULUD represents a major evolution in supply chain attack methodology.

The framework combines several advanced capabilities into a single operational ecosystem:

  • Developer credential theft
  • CI/CD pipeline abuse
  • GitHub Actions exploitation
  • Cloud secret harvesting
  • Kubernetes secret extraction
  • Provenance forgery
  • Covert GitHub-based exfiltration
  • Destructive persistence mechanisms

During analysis of the leaked artifacts, It has been observed that the malware was engineered with a level of operational maturity rarely seen in publicly exposed supply chain malware campaigns.

Unlike opportunistic npm malware designed for short-term token theft, SHAI_HULUD appeared purpose-built for long-term ecosystem compromise and large-scale propagation.

Artifact #1: Suspicious Multi-Platform Loader Infrastructure

One of the first artifacts identified inside the leaked source code was the use of dual-stage loaders:

  • BASH_LOADER.sh
  • PYTHON_LOADER.py

These loaders acted as cross-platform execution wrappers responsible for deploying the primary payload.

Notable characteristics of the payload:

  • Dynamic Bun runtime deployment
  • Cross-platform compatibility
  • Detached background execution
  • Linux distribution awareness
  • Obfuscated JavaScript payload execution

The malware payloads themselves were intentionally disguised using filenames designed to resemble legitimate development tooling:

  • ai_init.js
  • router_runtime.js

From a threat intelligence perspective, the use of Bun-based execution is particularly interesting. Bun adoption has increased significantly within modern JavaScript development ecosystems, allowing malicious runtime activity to blend more naturally into legitimate developer workflows.

Artifact #2: Weaponized GitHub Actions Workflows

One of the most alarming discoveries identified during analysis was the malware’s abuse of GitHub Actions workflows.

The leaked source included a malicious workflow configuration capable of silently exporting GitHub Actions secrets into uploaded artifact files disguised as formatting output.

The workflow effectively transformed trusted CI/CD infrastructure into an automated secret harvesting mechanism.

It has been observed that this technique enabled attackers to potentially access:

  • Repository secrets
  • Organization-level secrets
  • Deployment tokens
  • Cloud credentials
  • API keys
  • CI/CD publishing credentials

This is a critical shift in attacker tradecraft.

Historically, CI/CD pipelines were viewed primarily as deployment infrastructure. SHAI_HULUD demonstrates how threat actors now view automated pipelines as privileged trust environments capable of distributing malware at scale.

Artifact #3: Regional Evasion Logic and Operational Indicators

Another notable artifact identified in the leaked source code was the malware’s Russian locale bypass logic.

Regional Evasion Logic and Operational Indicators

If Russian localization was detected, execution terminated immediately.

Artifact #4: Large-Scale Credential Harvesting Framework

Analysis of the leaked code revealed an extensive provider-based credential collection framework.

The malware was designed to systematically harvest sensitive data from developer systems, cloud environments, and infrastructure tooling.

Large-Scale Credential Harvesting Framework

The iZOOlogic Security Team identified targeted access to Developer Tooling, SSH Infrastructure, Cloud Platforms, Kubernetes and Infrastructure-as-Code, VPN and Messaging Applications.

The breadth of targeted credential stores strongly indicates that SHAI_HULUD was designed not only for software supply chain compromise, but also for cloud infrastructure intrusion and lateral movement operations.

Artifact #5: AI-Assisted Development Environments Were Explicitly Targeted

One of the most important observations made during the iZOOlogic investigation was the malware’s awareness of AI-assisted software development tooling.

AI-Assisted Development Environments Were Explicitly Targeted

The leaked source code explicitly targeted configuration files associated with AI coding environments, including:

  • ~/.claude.json
  • ~/.claude/mcp.json
  • ~/.kiro/settings/mcp.json

This is a significant development in the evolution of supply chain attacks.

AI development environments increasingly contain:

  • Repository access tokens
  • MCP configurations
  • API credentials
  • Workflow context
  • Infrastructure integrations
  • Developer session data

The attackers are rapidly adapting to the growing use of AI-assisted development ecosystems and recognize these environments as high-value targets for credential theft and operational intelligence gathering.

Artifact #6: Cloud and Kubernetes Secret Extraction Capabilities

The leaked artifacts also revealed advanced cloud-native credential extraction logic.

The malware implemented a full AWS credential resolution chain closely mirroring legitimate AWS SDK behavior.

The malware attempted to retrieve credentials from:

  • Environment variables
  • Web identity tokens
  • ECS metadata services
  • EC2 instance metadata endpoints
  • Local AWS profile configurations

Once credentials were obtained, the malware queried:

  • AWS Systems Manager Parameter Store
  • AWS Secrets Manager
  • Kubernetes Secrets APIs
  • HashiCorp Vault

The extracted data included:

  • GitHub tokens
  • Database credentials
  • Stripe API keys
  • Slack tokens
  • Docker authentication files
  • SSH keys

It reflects a broader industry trend where supply chain malware increasingly overlaps with cloud intrusion tooling and identity-focused attack operations.

Artifact #7: GitHub Used as Covert Exfiltration Infrastructure

One particularly sophisticated capability observed during analysis was the malware’s fallback exfiltration mechanism.

If the primary command-and-control infrastructure became unavailable, SHAI_HULUD pivoted to GitHub-based exfiltration using stolen GitHub credentials.

The malware could:

  • Create repositories automatically
  • Upload encrypted stolen data
  • Store exfiltrated payloads inside commits
  • Abuse GitHub infrastructure for operational resilience

The tactic is especially dangerous because malicious activity can blend into legitimate developer traffic, making detection significantly more difficult for organizations relying solely on traditional network monitoring.

Artifact #8: Destructive “Dead Man’s Switch” Functionality

One of the most aggressive capabilities identified inside the leaked source code was a coercive persistence mechanism tied to GitHub token revocation.

The malware continuously monitored stolen GitHub tokens and triggered destructive behavior if the token became invalid:
rm -rf ~/

The persistence logic leveraged:

  • macOS LaunchAgents
  • Linux systemd services
  • Background token monitoring daemons

The malware also embedded threatening commit messages including:
IfYouRevokeThisTokenItWillWipeTheComputerOfTheOwner

This functionality was likely designed to psychologically pressure victims into delaying credential revocation, thereby extending attacker access windows.

Artifact #9: Provenance Forgery Through Sigstore and SLSA Abuse

The most technically advanced capability identified in the leaked source code involved abuse of trusted publishing infrastructure.

The malware implemented the complete Sigstore and SLSA provenance generation workflow from inside compromised GitHub Actions pipelines.

This included:

  • Generating ephemeral signing keys
  • Requesting GitHub OIDC tokens
  • Obtaining Fulcio certificates
  • Publishing provenance to Rekor transparency logs
  • Uploading malicious npm packages with legitimate cryptographic provenance

We believes this capability is one of the most important aspects of the SHAI_HULUD campaign.

It demonstrates that trusted provenance systems alone cannot guarantee software integrity if attackers successfully compromise the CI/CD environment responsible for generating the signatures.

This fundamentally changes how defenders must approach software trust validation moving forward.


Operational Indicators

The following indicators were identified during analysis of the leaked artifacts:

Type Indicator
C2 Domain git-tanstack.com
npm Package voicefromtheouterworld
Payload Files ai_init.js, router_runtime.js
Loader Scripts PYTHON_LOADER.py, BASH_LOADER.sh
Persistence Service gh-token-monitor

Organizations should actively monitor for these indicators across:

  • Developer endpoints
  • GitHub repositories
  • CI/CD environments
  • Kubernetes clusters
  • Cloud workloads
  • Network telemetry

What SHAI_HULUD Means for the Industry

The SHAI_HULUD source code exposure provides valuable insight into the future direction of supply chain attacks.

The iZOOlogic Security Team assesses that several trends are becoming increasingly clear:

  1. CI/CD Pipelines Are Becoming Primary Targets: Threat actors increasingly view automated software pipelines as privileged trust environments capable of distributing malware at scale.
  2. AI Development Tooling Will Become a Growing Attack Surface: The explicit targeting of Claude and MCP-related configurations demonstrates growing attacker interest in AI-assisted development environments.
  3. Trusted Publishing Can Be Weaponized: The campaign showed that valid cryptographic provenance can still be abused if attackers compromise the workflow generating the signatures.
  4. Supply Chain Malware Is Becoming Infrastructure-Centric: Modern supply chain frameworks are evolving into full ecosystem compromise platforms targeting Developers, Cloud platforms, Identity systems, Kubernetes infrastructure, Software publishing pipelines.

Conclusion:

The SHAI_HULUD source code leak provides one of the clearest public windows into the operational design of modern supply chain malware.

What TeamPCP exposed was not simply malicious npm code, but a highly modular offensive framework capable of:

  • Harvesting developer credentials
  • Compromising CI/CD workflows
  • Extracting cloud secrets
  • Abusing GitHub infrastructure
  • Forging trusted provenance
  • Expanding laterally through software ecosystems

From the iZOOlogic Security Team’s perspective, SHAI_HULUD reinforces a growing reality across the cybersecurity landscape:

The future of software supply chain attacks will increasingly focus on compromising trust itself.

About the author