Malicious code in @ornikar/react-native-svg-transformer (npm)
The npm package @ornikar/react-native-svg-transformer versions 1.0.6 through 1.0.13 were compromised as part of a large-scale npm supply-chain worm campaign in August 2026. The malicious versions include a preinstall script that downloads and executes an obfuscated payload designed to steal credentials and secrets from the host environment. This payload harvests various cloud and CI/CD credentials and uses stolen npm tokens to propagate further malicious package republishing. Any environment that installed these versions with install scripts enabled should be considered fully compromised and requires immediate credential rotation.
AI Analysis
Technical Summary
The @ornikar/react-native-svg-transformer npm package was trojanized during the 'Shai-Hulud: Here We Go Again' npm worm campaign on August 4, 2026. The compromised versions (1.0.6 to 1.0.13) include a preinstall hook that runs a setup script downloading the Bun runtime and executing a heavily obfuscated ~728 KB Bun-compiled JavaScript payload. This payload steals a wide range of credentials including GitHub, npm, AWS, GCP, Azure, HashiCorp Vault, Kubernetes secrets, and CI/CD tokens. It also enumerates packages accessible by stolen tokens and republishes them with the same malicious hook, enabling rapid self-propagation. The malware exfiltrates stolen data to attacker-controlled GitHub repositories and over DNS. The trojanized package mimics the legitimate package's functionality but adds this malicious chain during installation.
Potential Impact
Installing any affected version with install scripts enabled results in execution of a credential-stealing payload that compromises the host environment. The attacker gains access to a broad set of secrets and tokens, potentially leading to full environment compromise, unauthorized access to cloud and CI/CD infrastructure, and further supply-chain poisoning. The infection spreads by republishing other packages controlled by stolen tokens, amplifying the attack's reach. Systems with this package installed should be treated as fully compromised.
Mitigation Recommendations
There is no official patch or fix available for this supply-chain compromise. The vendor does not provide remediation as this is a malicious republishing event. Immediate actions include removing the affected package versions (1.0.6 through 1.0.13) from all environments, rotating and revoking all credentials and tokens accessible from the compromised systems (including npm, GitHub, cloud provider keys, Vault, Kubernetes, and CI/CD secrets), and treating any environment that installed these versions with install scripts enabled as fully compromised. Credential rotation must be performed from a clean, uncompromised environment. Monitor for any signs of further compromise or unauthorized package publishing.
Malicious code in @ornikar/react-native-svg-transformer (npm)
Description
The npm package @ornikar/react-native-svg-transformer versions 1.0.6 through 1.0.13 were compromised as part of a large-scale npm supply-chain worm campaign in August 2026. The malicious versions include a preinstall script that downloads and executes an obfuscated payload designed to steal credentials and secrets from the host environment. This payload harvests various cloud and CI/CD credentials and uses stolen npm tokens to propagate further malicious package republishing. Any environment that installed these versions with install scripts enabled should be considered fully compromised and requires immediate credential rotation.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The @ornikar/react-native-svg-transformer npm package was trojanized during the 'Shai-Hulud: Here We Go Again' npm worm campaign on August 4, 2026. The compromised versions (1.0.6 to 1.0.13) include a preinstall hook that runs a setup script downloading the Bun runtime and executing a heavily obfuscated ~728 KB Bun-compiled JavaScript payload. This payload steals a wide range of credentials including GitHub, npm, AWS, GCP, Azure, HashiCorp Vault, Kubernetes secrets, and CI/CD tokens. It also enumerates packages accessible by stolen tokens and republishes them with the same malicious hook, enabling rapid self-propagation. The malware exfiltrates stolen data to attacker-controlled GitHub repositories and over DNS. The trojanized package mimics the legitimate package's functionality but adds this malicious chain during installation.
Potential Impact
Installing any affected version with install scripts enabled results in execution of a credential-stealing payload that compromises the host environment. The attacker gains access to a broad set of secrets and tokens, potentially leading to full environment compromise, unauthorized access to cloud and CI/CD infrastructure, and further supply-chain poisoning. The infection spreads by republishing other packages controlled by stolen tokens, amplifying the attack's reach. Systems with this package installed should be treated as fully compromised.
Mitigation Recommendations
There is no official patch or fix available for this supply-chain compromise. The vendor does not provide remediation as this is a malicious republishing event. Immediate actions include removing the affected package versions (1.0.6 through 1.0.13) from all environments, rotating and revoking all credentials and tokens accessible from the compromised systems (including npm, GitHub, cloud provider keys, Vault, Kubernetes, and CI/CD secrets), and treating any environment that installed these versions with install scripts enabled as fully compromised. Credential rotation must be performed from a clean, uncompromised environment. Monitor for any signs of further compromise or unauthorized package publishing.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-11769
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-rqjm-92gf-5c24"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a79f0f4bf8831d539f6470f
Added to database: 08/10/2026, 15:40:36 UTC
Last enriched: 08/10/2026, 16:11:11 UTC
Last updated: 08/10/2026, 19:41:00 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.