惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - Franky
U
Unit 42
MyScale Blog
MyScale Blog
B
Blog
阮一峰的网络日志
阮一峰的网络日志
量子位
IT之家
IT之家
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
Recent Announcements
Recent Announcements
V
Visual Studio Blog
G
Google Developers Blog
Last Week in AI
Last Week in AI
雷峰网
雷峰网
博客园 - 聂微东
博客园 - 叶小钗
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
J
Java Code Geeks
博客园 - 司徒正美
Y
Y Combinator Blog
T
The Blog of Author Tim Ferriss
月光博客
月光博客
aimingoo的专栏
aimingoo的专栏

Cyber Security News

AIRecon: AI-Powered Penetration Testing Tool with Kali Linux Sandbox Critical Chrome Vulnerabilities Allow Attackers to Execute Arbitrary Code - Update Now! UNC3753 Uses Screen-Sharing Sessions and RMM Tools to Exfiltrate Sensitive Legal Data New OnionDrop Loader Campaign Uses gainmsg C2 to Deliver LegionLoader Payloads ClickFix Campaign Uses EtherHiding and GULoader to Infect Windows Users via Fake CAPTCHA Ghostwriter Hackers Abuse Gmail Admin-Themed Emails to Steal Credentials and 2FA Codes The Half-Life of Threat Intelligence: When Does an IOC Stop Being Useful? Critical Fortinet FortiSandbox Vulnerabilities Actively Exploited in Attacks Aembit Extends IAM for Agentic AI to Microsoft Copilot Studio India Temporarily Bans Telegram Messenger Over Medical Exam Fraud Microsoft 365 Device Code Phishing Campaign Bypasses Password Theft With Legitimate Login Flow AppViewX Launches Agent Identity Security to Govern Agents for the AI and Quantum Era Hackers Weaponize Microsoft Teams Relay to Hide Ransomware Traffic Developer laptops are the credential store attackers are picking through in 2026, GitGuardian announces Endpoint Protection Interlock and Rhysida Ransomware Operations Share Supper Backdoor and Malware Codebase Novo Nordisk Confirms Cyber Attack — Hackers Accessed Patient Medical Data and Internal AI Assets Russian and Chinese Influence Actors Use AI to Evade Bot Detection and Mimic Human Behavior Microsoft Teams Analyze the Wi-Fi Hotspot Data Connected to an Employee’s Device PRC-Nexus Hackers Exploit REDCap Servers to Spy on US Medical Research Institutions Infinite Campus Data Breach Exposes 137,000 Users Personal Details OptinMonster Plugin Hack Exposes 1.2 Million Wordpress Sites to Cyberattack Ransomware Ecosystem Consolidates Around LockBit Alumni, Qilin, Hyflock, and The Gentlemen Hackers Abuse Legitimate RMM Tools in The Quarry IRS and SSA Phishing Campaigns LiteSpeed cPanel Plugin 0-Day Vulnerability Actively Exploited in the Wild Cisco SD-WAN vManage Vulnerability Exploited in Zero-Day Attacks Nearly 14,000 SimpleHelp Servers Exposed Amid Critical Authentication Bypass Disclosure Microsoft Site Showing Warning Following Certificate Expiry DPAPISnoop Tool Extracts CREDHIST Hashes for Offline Windows Credential Recovery SHADOWBYT3$ Allegedly Claim Breach of Nintendo, Stealing Sensitive Data Anthropic Updated Privacy Policy to Include Identity Verification for Claude Users
Miasma Malware Uses binding.gyp and Bun to Execute Hidden...
Tushar Subhra Dutta · 2026-06-26 · via Cyber Security News

Supply chain attackers are getting more creative, and the latest threat is proof of that. A malware campaign known as Miasma has been caught hiding inside widely used npm packages, using a clever mix of tools and techniques to stay hidden while stealing sensitive developer credentials.

The attack involves packages tied to the LeoPlatform and RStreams ecosystems, which are used in data pipeline and cloud integration workflows.

Malicious versions of over 20 npm packages were published within a tight window on June 24, 2026, catching many developers off guard.

The scope of the attack is wider than it first appears, with additional infected packages published under a separate npm user account named llxlr.

Researchers at Socket.dev said in a report shared with Cyber Security News (CSN) that this campaign is part of a broader threat cluster also connected to related malware families called Mini Shai-Hulud and Hades.

The team has been tracking the family across multiple waves, noting that its techniques grow more layered and harder to detect with each new release.

What makes this wave particularly concerning is how far the damage can spread. The malware does not just sit inside an infected package.

Once it runs, it hunts for credentials, tokens, configuration files, and AI coding tool settings, then uses what it finds to poison other repositories and developer workflows.

Execution flow (Source - Socket.Dev)
Execution flow (Source – Socket.Dev)

The campaign also expands beyond npm. Socket researchers found the same payload family inside a Go module linked to the Verana Blockchain project, showing that the attackers are not limiting themselves to a single package ecosystem.

This confirms a troubling shift where threat actors are moving across package managers by targeting the workflows and tools developers rely on every day.

Miasma Malware Uses binding.gyp and Bun

The infection begins at the moment a developer installs a package. Instead of using a visible install script in package.json, the attackers added a file called binding.gyp to each malicious package.

When npm sees this file, it automatically runs node-gyp, a native build tool. The attackers exploit this behavior to trigger code execution without raising the red flags that a traditional install script would.

Once triggered, the malicious index.js file springs into action. It is a large, heavily scrambled single-line JavaScript loader that uses a Caesar-style letter shift and AES-GCM encryption to hide its real purpose.

When decoded, it delivers a final payload built to run through Bun, a fast JavaScript runtime. If Bun is not already installed on the machine, the malware downloads and installs it.

Many security tools do not watch Bun execution the same way they monitor Node.js, which helps the malware avoid detection.

Stealing Credentials Across Developer Environments

The payload targets a wide range of sensitive data. It collects environment files, npm and PyPI tokens, GitHub tokens, Slack and Twilio tokens, SSH keys, Kubernetes configs, AWS and Azure credentials, Docker authentication files, CI secrets, and settings tied to AI coding assistants like Claude, Cursor, and Gemini.

The malware also checks for popular security tools like CrowdStrike and SentinelOne, and includes a Russian locale guard that stops execution on Russian-language systems.

GitHub Actions is a key target, as the malware hunts for workflows that publish packages or hold registry tokens, pulling secrets from the runner environment and using GitHub’s own API to exfiltrate stolen data.

A recurring fake workflow named “Run Copilot” is designed to blend in with normal AI-assisted development activity while quietly uploading stolen secrets as artifacts.

Teams affected by this campaign should treat any environment that installed an affected package as fully compromised.

Rotate all secrets immediately from a clean machine, not from the potentially infected host. Rebuild from a known-good lockfile and audit repositories for injected files such as .github/setup.js_index.js, orphan branches, and unexpected Bun usage in GitHub Actions runs.

Developers should also pin GitHub Actions to full-length commit hashes rather than mutable version tags to prevent tag-based redirection attacks going forward.

Indicators of Compromise (IoCs):-

TypeIndicatorDescription
SHA-25632d1bc728d8e504952083a6adc488c309a401c7df4dc8f47b382ce32e4aebe21Confirmed LeoPlatform/RStreams set — binding.gyp
SHA-25657ba86f6f0caaa580c1dccdf4ed7873d1470e5ea2f8e9ca7a989dc04899f13c0leo-logger@1.0.8 — index.js
SHA-2564a0aa78757958683155a7b9289427fb829abcad1bf5ee6399eb73e8409b0bc11leo-logger@1.0.8 — package.json
SHA-256026588d39b7c650b5c0dfbba6c6fcc0e7ec8e3b72ba8639012e7f71c708f2c3bleo-sdk@6.0.19 — index.js
SHA-256df9ea0c71574e11c93141ad2f018a63a5375cd6d69ca2f744732ad7814170657leo-auth@4.0.6 — index.js
SHA-2561a3b9ed0b377f56f49b9a703612cf45e86ab7d100587e1e7a476d809fe337a8cleo-aws@2.0.4 — index.js
SHA-256f565988f281bf77bcad26ea7f543617e53da4b62f5df63d4f7a89bae1729cf81leo-sdk@6.0.19 — npm tarball
SHA-256a934a5bcf692b9d01e8129bf264be23809dfee464df471d75a9f3fa1bcede343leo-auth@4.0.6 — npm tarball
SHA-256f7c47be306351ffacd46584d2067f7be676dbfe17cd89ab4880632decfe18f3dleo-aws@2.0.4 — npm tarball
SHA-2563da2ca129c9920d9acd2e3477aee8f46b5a5f0e9537ad6e7b6ab1df1007adad1leo-cli@3.0.3 — npm tarball
SHA-256b3e217f4354e8a4383038b99b0bcaeaff191a79df58e7a1f2355a79aac2faf13verana-blockchain-v0.10.1-dev.20.zip (Go module)
SHA-25615b415ae41df72acf1f7e9e67569531d41dee62d089d34b4c0fab0c7fe5cc14f.claude/index.js (Go repo artifact)
SHA-2566cb3fc3650355973b8a1ed86619a3f412fb0700f29c1c3a736cada4c2c76a9f7.claude/setup.mjs and .vscode/setup.mjs
SHA-2566a861a479f45fe53f067091414332248bc027ffc396116811d12e57a6ff71250.claude/settings.json
SHA-256927387d0cfac1118df4b383decc2ea6ba49c9d2f98b47098bcbcba1efc026e1f.vscode/tasks.json
SHA-2561a0e1daeaea87cab5610a3cc2aa72e7c6f1abfe55959a156368bcfa6585fa6ceDecoded first-stage JavaScript
SHA-256ceff7c51d70832c3ec8dd2744b606a23b3c924ef664ae23439b9b742ea154108Decrypted Bun bootstrap payload
SHA-2569f93d77d32833a515bc406c46da477142bb1ac2babeecb6aa42f98669a6db015Decrypted main Miasma payload
File Namebinding.gypAdded to packages that previously did not require native build behavior
File Nameindex.jsReplaced with large single-line obfuscated payload
File Name.github/setup.jsInjected payload file in poisoned repositories
File Name_index.jsSecondary payload file found in GitHub repositories
File Name.claude/setup.mjsBun launcher script in poisoned Go source repo
File Name.vscode/tasks.jsonVS Code folder-open task triggering malware execution
File Name.claude/settings.jsonClaude AI agent hook for persistence
File Name.cursor/rules/setup.mdcCursor IDE hook for persistence
Campaign StringRevokeAndItGoesKaboomOperator dead-drop token in GitHub commits
Campaign StringAlright Lets See If This WorksCampaign marker string found across compromises
Campaign StringTheBeautifulSandsOfTimeCampaign marker string
Campaign StringthebeautifulmarchoftimeCampaign marker string
Campaign StringthebeautifulsnadsoftimeCampaign marker string
Packageleo-logger@1.0.8Malicious LeoPlatform npm package
Packageleo-sdk@6.0.19Malicious LeoPlatform npm package
Packageleo-auth@4.0.6Malicious LeoPlatform npm package
Packageleo-aws@2.0.4Malicious LeoPlatform npm package
Packageleo-cli@3.0.3Malicious LeoPlatform npm package
Packagehexo-deployer-wrangler@1.0.4Malicious npm package published by llxlr
Packagehexo-shoka-swiper@0.1.10Malicious npm package published by llxlr
Packageprism-silq@1.0.1Malicious npm package published by llxlr

Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Follow us on Google NewsLinkedIn, and X to Get More Instant UpdatesSet CSN as a Preferred Source in Google.

Tushar Subhra Dutta

Tushar Subhra Dutta

Tushar is a senior cybersecurity and breach reporter. He specializes in covering cybersecurity news, trends, and emerging threats, data breaches, and malware attacks. With years of experience, he brings clarity and depth to complex security topics.