Sunday, September 6, 2026

Solana FakeFix Campaign Plants Malicious npm, PyPI Packages to Steal Dev Secrets

Recent disclosure of the “Solana FakeFix” campaign exposes a coordinated supply-chain attack that abused package registries to steal developer secrets.

The campaign comprises 16 malicious npm packages and 4 PyPI packages (25 packages in total when combined with related activity) that impersonated Solana tooling, lodged typosquatted names, and used install- and import-time execution to harvest wallet keys, cloud credentials, source-control tokens, SSH keys, and environment secrets.

Attackers leveraged social engineering and developer pain points. Several npm packages mimicked legitimate Solana ecosystem names examples include variants like @solana-labs/web3.js, @solana-labs/spl-toke, solana-web3-stable, and solana-rpc-client positioning themselves as “stable-build” fixes or community forks.

The threat actor even used GitHub issue spam under the account PassWord1337 to promote a drop-in replacement, suggesting an npm uninstall/install command to switch packages.

Solana FakeFix Campaign Overview (Source : JFrog).
Solana FakeFix Campaign Overview (Source : JFrog).

That lure specifically targeted maintainers struggling with dependency friction, increasing the likelihood that developers or CI pipelines would execute installation workflows that trigger malicious lifecycle hooks.

Initial delivery relied on npm postinstall scripts and PyPI import-time code. Early npm variants simply ran attacker-controlled JavaScript during installation via a postinstall hook no runtime import needed while the Python variants placed payloads in _init_.py so a plain import could begin collection and persistence.

Collected artifacts targeted typical developer secrets: Solana keypairs (~/.config/solana/id.json, ~/.solana/id.json), wallet files, .env files, SSH private keys, AWS credentials, and environment variables with names like KEY, SECRET, MNEMONIC, TOKEN, AWS, GITHUB, or CI.

Exfiltration was realized through Telegram C2 channels with hard-coded bot tokens and chat IDs; later variants supported interactive backdoor commands (e.g., /keys, /ssh, /env, /wallet, /sh, /cmd, /die), sandbox checks, token validation and self-update mechanisms.

JFrog Security Research recently identified Solana FakeFix, a campaign of 20 malicious npm and PyPI packages that target Solana developers.

The campaign evolved from crude backdoors to trojanized libraries. Later npm packages shipped largely legitimate-looking Solana JavaScript bundles with malicious code appended after normal exports and source-map markers making the packages appear useful during casual testing while maintaining stealthy stealer paths.

Solana FakeFix Campaign

One variant attempted RPC tampering and fund draining by reconfiguring Solana RPC endpoints and sending funds to an attacker-controlled address.

 The actor opened nine issues across different projects, presenting @solana-labs/web3.js as a community-maintained drop-in replacement for @solana/web3.js v2.

Contribution activity (Source : JFrog).
Contribution activity (Source : JFrog).

Another package, solana-mev-bot, used classic crypto social-engineering: it presented itself as an MEV bot and asked users to paste private keys, directly capturing the credential needed to drain accounts.

JFrog’s report also details a separate but related CMS Windows loader campaign consisting of five npm packages uploaded by the account thermonuclear.

Those packages used install-time hooks to drop and execute PowerShell scripts, install or invoke Deno, fetch remote JavaScript, and launch Windows-oriented loaders or EXE droppers.

Search logs for Telegram API traffic, suspicious RPC redirects, Deno executions from the documented host, and EXE download URLs.

CMS helper packages (Source : JFrog).
CMS helper packages (Source : JFrog).

The loader design supports dynamic second-stage payload retrieval, Registry Run-key persistence, and communication with a remote C2 server, enabling the operator to rotate payloads while keeping the package-side loader unchanged.

Remediation must be aggressive: remove affected packages from developer workstations, CI images, and internal caches; audit and rotate any potentially exposed Solana wallets and keypairs; rotate SSH keys, cloud access keys, and tokens; and rebuild compromised CI runners from trusted images rather than relying solely on package removal.

Finally, apply stricter registry hygiene: treat install-time network access and lifecycle scripts as high-risk, scrutinize near-miss package names, and require provenance and maintainership checks for critical SDK dependencies.

Follow us on Google NewsLinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Mayura Kathir
Mayura Kathirhttps://gbhackers.com/
Mayura Kathir is a cybersecurity reporter at GBHackers News, covering daily incidents including data breaches, malware attacks, cybercrime, vulnerabilities, zero-day exploits, and more.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

Chainguard Hits 1 Billion Build Manifests With AI-Powered Software Supply Chain Security

Chainguard has surpassed 1 billion container build manifests, doubling...

Russian Hackers Deploy New HOOKEDGE Backdoor in Espionage Attacks Across Europe

Russian state-sponsored threat actor BlueDelta, also tracked as APT28,...

New Panzer Ransomware Hits 16 Victims Across 11 Countries With Data Theft and Encryption

Panzer ransomware has emerged as a new Ransomware-as-a-Service (RaaS)...

12-Year-Old PostgreSQL Flaw Lets Attackers Execute Code and Take Over Database Servers

A critical PostgreSQL vulnerability dubbed PostGREShell could allow low-privileged...

Hackers Use Frontier AI Agents to Breach Enterprise Network in Under 10 Hours

A threat actor used frontier artificial-intelligence models and attack-specific...

CARS24 Data Breach Exposes 3,100 Customer Records, Leads Allegedly Sold for ₹1,000 Each

Used-car platform CARS24 has alleged that confidential information belonging...

Hackers Turn HiveMQ and Element Messenger Into Control Channels for Windows Backdoors

The financially motivated threat actor Toy Ghouls has expanded...

Related Articles

Recent News