Malicious code in minequest (npm)
Description
The npm package 'minequest' version 0.1.1 contains a malicious postinstall hook that executes a large opaque native binary with installer privileges on Linux x64 systems. The package's README falsely claims no install hooks or native binaries, while the actual binary is a Go-compiled executable unrelated to the documented build script. This binary runs during npm install and its behavior is not disclosed, posing a risk of unauthorized code execution.
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 'minequest' npm package version 0.1.1 declares a postinstall hook that runs scripts/init.js, which sets executable permissions on a large Go-compiled ELF binary (33,648,788 bytes) and executes it on Linux x64 during installation. The README misleads users by stating there are no install hooks or native binaries, and the provided build script is a decoy. The actual binary contains Go runtime symbols and references to Linux system files and syscall filters, indicating potentially complex and opaque behavior executed with installer privileges. This constitutes a malicious package delivering unauthorized native code execution during installation.
Potential Impact
This malicious postinstall hook allows execution of an opaque native binary with installer privileges on Linux x64 systems during npm install. This can lead to unauthorized code execution, potentially compromising the system where the package is installed. The exact behavior of the binary is not disclosed, but the presence of system-level references suggests possible privilege escalation or system manipulation.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing version 0.1.1 of the 'minequest' package. Verify package integrity and source before installation. Monitor vendor advisories or npm security notices for updates or removal of the malicious package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14275
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a85b4b4acd9273b49251563
Added to database: 08/19/2026, 13:50:44 UTC
Last enriched: 08/19/2026, 14:18:10 UTC
Last updated: 10/04/2026, 07:06:46 UTC
Views: 24
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.
External Links
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.