A new crypto-theft campaign is targeting developers who likely have wallet keys, cloud credentials, and production access on their machines. Researchers at securityA new crypto-theft campaign is targeting developers who likely have wallet keys, cloud credentials, and production access on their machines. Researchers at security

TrapDoor malware targets Solana, Sui, Aptos wallet data

2026/05/30 12:15
3분 읽기
이 콘텐츠에 대한 의견이나 우려 사항이 있으시면 [email protected]으로 연락주시기 바랍니다

A new crypto-theft campaign is targeting developers who likely have wallet keys, cloud credentials, and production access on their machines. Researchers at security firm Socket reported earlier this week that they identified a supply-chain attack called TrapDoor spreading across three major open-source programming registries. The attack includes more than 34 malicious packages with hundreds of related versions and artifacts.

A key takeaway is that attackers are becoming more focused. Beyond social engineering that targets individuals holding key information, supply-chain attacks are built not to catch random retail users but developers. Those are the very people who may have wallet files, SSH keys, GitHub tokens, cloud credentials, and production access on the same machine they use to build crypto and AI tools.

Socket did not identify specific victims or stolen funds. But the company said the packages were live across npm, PyPI, and Crates.io. These packages contained payloads that could steal wallet data, exfiltrate credentials, test AWS and GitHub tokens, and leave behind files to keep access active.

Boring by design

The packages were programmed in JavaScript, Python, and Rust. They were disguised as developer helpers, security scanners, wallet tools, Solidity utilities, AI prompt packages, and Sui or Move build helpers. The names were intentionally boring: “wallet-security-checker,” “defi-risk-scanner,” “solidity-build-guard,” “move-compiler-tools,” and “llm-context-compressor.” These looked like the kind of small utilities a crypto or AI developer might install without much thought.

Once installed, however, the payloads tried to pull far more than package data. In the npm packages, the malware searched a developer’s machine for private keys, passwords, GitHub tokens, and cloud logins. It also tested some stolen credentials, tried to move into other systems through SSH keys, and left behind files that could keep the infection active.

SSH keys are login files that developers use to access servers, code repositories, and other machines. If stolen, they can let an attacker move from one compromised laptop into a company’s wider infrastructure.

AI tools as attack vectors

The attack also uses files such as .cursorrules and claude.md, which allow developers to give project-specific instructions to AI coding tools. Socket said the campaign planted hidden instructions using zero-width Unicode characters. These appear to try making future AI assistant sessions run fake “security scans” that collected and exfiltrated secrets.

That turned the attack from a normal package stealer into something closer to developer-environment malware. The package install is only the first step. The real target is the workstation: wallets, repos, browser data, cloud keys, SSH access, and whatever AI coding tools read next.

The Rust packages used malicious build.rs scripts to run during compilation, targeting Sui and Move developers. PyPI packages executed remote JavaScript on import. Packages on npm used postinstall hooks.

Socket said it reported the packages to affected registries and classified the campaign packages as malicious. The company also warned that the attacker opened pull requests to AI and developer projects, trying to add .cursorrules and CLAUDE.md files through normal open-source contribution paths.

The post TrapDoor malware targets Solana, Sui, Aptos wallet data appeared first on TheCryptoUpdates.

SPACEX(PRE) Launchpad

SPACEX(PRE) LaunchpadSPACEX(PRE) Launchpad

Register for a chance to win a free lucky draw

면책 조항: 본 사이트에 재게시된 글들은 공개 플랫폼에서 가져온 것으로 정보 제공 목적으로만 제공됩니다. 이는 반드시 MEXC의 견해를 반영하는 것은 아닙니다. 모든 권리는 원저자에게 있습니다. 제3자의 권리를 침해하는 콘텐츠가 있다고 판단될 경우, [email protected]으로 연락하여 삭제 요청을 해주시기 바랍니다. MEXC는 콘텐츠의 정확성, 완전성 또는 시의적절성에 대해 어떠한 보증도 하지 않으며, 제공된 정보에 기반하여 취해진 어떠한 조치에 대해서도 책임을 지지 않습니다. 본 콘텐츠는 금융, 법률 또는 기타 전문적인 조언을 구성하지 않으며, MEXC의 추천이나 보증으로 간주되어서는 안 됩니다.

RealStocks Now Live

RealStocks Now LiveRealStocks Now Live

Trade real U.S. stock via regulated brokerage