Malicious code in discord-search (npm)
The discord-search npm package versions 0.1.1 and 0.1.2 contain malicious code linked to the Miasma malware. This malware is a self-propagating worm that spreads by abusing weaponized binding.gyp files to execute code during package installation, bypassing typical security inspections. It attempts to exfiltrate credentials and OIDC tokens for cloud and registry services and propagates by compromising other packages or committing backdoors to GitHub repositories.
AI Analysis
Technical Summary
The discord-search npm package versions 0.1.1 and 0.1.2 were found to contain malicious code or dependencies that include the Miasma malware. Miasma is a self-propagating worm that leverages weaponized binding.gyp files to execute during package installation, evading security tools that focus on lifecycle scripts. Once executed, it attempts credential and token theft for cloud and registry services and spreads by compromising additional packages or injecting backdoors into GitHub repositories managed by stolen accounts.
Potential Impact
The malicious code enables unauthorized exfiltration of sensitive credentials and OIDC tokens, potentially compromising cloud and registry services. It also facilitates further propagation by compromising other npm packages and injecting backdoors into GitHub repositories, increasing the risk of widespread supply chain compromise.
Mitigation Recommendations
No official patch or remediation is currently documented for discord-search versions 0.1.1 and 0.1.2. Users should avoid using these versions and remove them from their environments. Monitor vendor advisories or npm security updates for any forthcoming fixes or guidance. Since this is not a cloud service, remediation depends on user action.
Malicious code in discord-search (npm)
Description
The discord-search npm package versions 0.1.1 and 0.1.2 contain malicious code linked to the Miasma malware. This malware is a self-propagating worm that spreads by abusing weaponized binding.gyp files to execute code during package installation, bypassing typical security inspections. It attempts to exfiltrate credentials and OIDC tokens for cloud and registry services and propagates by compromising other packages or committing backdoors to GitHub repositories.
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 discord-search npm package versions 0.1.1 and 0.1.2 were found to contain malicious code or dependencies that include the Miasma malware. Miasma is a self-propagating worm that leverages weaponized binding.gyp files to execute during package installation, evading security tools that focus on lifecycle scripts. Once executed, it attempts credential and token theft for cloud and registry services and spreads by compromising additional packages or injecting backdoors into GitHub repositories managed by stolen accounts.
Potential Impact
The malicious code enables unauthorized exfiltration of sensitive credentials and OIDC tokens, potentially compromising cloud and registry services. It also facilitates further propagation by compromising other npm packages and injecting backdoors into GitHub repositories, increasing the risk of widespread supply chain compromise.
Mitigation Recommendations
No official patch or remediation is currently documented for discord-search versions 0.1.1 and 0.1.2. Users should avoid using these versions and remove them from their environments. Monitor vendor advisories or npm security updates for any forthcoming fixes or guidance. Since this is not a cloud service, remediation depends on user action.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5244
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4f6c6c68715ace4315a8f8
Added to database: 07/09/2026, 09:39:56 UTC
Last enriched: 07/09/2026, 10:06:46 UTC
Last updated: 07/29/2026, 21:28:59 UTC
Views: 9
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.