Preinstall to persistence: Inside the npm Miasma credential-stealing campaign
Microsoft Threat Intelligence discovered a large-scale npm supply chain attack compromising 32 malicious packages across over 90 versions under the @redhat-cloud-services scope. The compromise originated from the RedHatInsights/javascript-clients CI/CD pipeline, enabling attackers to publish trojanized packages through legitimate GitHub Actions OIDC workflows with authentic provenance signatures. The malicious packages executed a heavily obfuscated 4.29 MB dropper via npm preinstall hooks, which downloaded the Bun JavaScript runtime and launched payloads designed to harvest credentials from GitHub, npm, AWS, Azure, GCP, HashiCorp Vault, Kubernetes, and developer systems. The malware scraped GitHub Actions runner memory for secrets, escalated privileges using passwordless sudo, exfiltrated stolen data through GitHub infrastructure, and propagated by compromising additional maintainer packages with forged SLSA provenance. The campaign marker "Miasma: The Spreading Blight" was embedded throughout the malicious
Pulse ID: 6a214311a2c1a61296efbdc5
Pulse Link: https://otx.alienvault.com/pulse/6a214311a2c1a61296efbdc5
Pulse Author: AlienVault
Created: 2026-06-04 09:19:13
Be advised, this data is unverified and should be considered preliminary. Always do further verification.
#AWS #Azure #Cloud #CyberSecurity #GitHub #InfoSec #Java #JavaScript #Malware #Microsoft #NPM #OTX #OpenThreatExchange #Password #RAT #SupplyChain #Trojan #Word #bot #AlienVault




Qiita - 人気の記事