Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in express-ini (npm)

0
Critical
Published: 07/13/2026 (07/13/2026, 21:50:05 UTC)
Source: GCVE Database
Product: express-ini

Description

The express-ini npm package version 12.1.10 contains malicious code that executes during installation. The package's postinstall script runs heavily obfuscated JavaScript which downloads, decrypts, writes, and executes additional code on the installer's machine. The package masquerades as an Express.js utility but functions as a dropper for remote code execution at install time.

Affected software

npmghsa
express-ini
Affected versions
=12.1.10

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

AILast updated: 07/14/2026, 09:49:02 UTC

Technical Analysis

The express-ini package version 12.1.10 declares a postinstall script that runs 'node index.js'. The index.js file is heavily obfuscated using rotated string arrays and RC4-based decoders to hide its true functionality. Upon installation, it imports multiple Node.js modules including fs, os, path, crypto, child_process, and a network module. It installs silent handlers for uncaught exceptions and unhandled promise rejections to suppress errors. The script performs a remote lookup, processes the response by splitting on ':', base64 decoding, and AES decrypting it using crypto.createDecipheriv. The decrypted payload is written to a file in the current working directory and executed synchronously with child_process.execSync with windowsHide set to true. The package's README and name are deceptive, presenting it as a safe Express.js utility, but it is in fact a malicious dropper that enables remote code execution on the machine installing the package.

Potential Impact

This malicious package enables remote code execution on the system of any user who installs version 12.1.10 of express-ini. The executed payload is fetched and decrypted at install time, allowing an attacker to run arbitrary code silently and potentially compromise the installer's environment. This can lead to full system compromise, data theft, or further malware deployment.

Mitigation Recommendations

No official patch or remediation is currently documented for this malicious package version. Users should avoid installing express-ini version 12.1.10. Remove any installations of this version immediately and audit systems for signs of compromise. Use trusted package sources and verify package integrity before installation. Monitor for updates from the npm registry or security advisories for any official fixes or removals.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-10505
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a55ff9068715ace432f4b2a

Added to database: 07/14/2026, 09:21:20 UTC

Last enriched: 07/14/2026, 09:49:02 UTC

Last updated: 07/22/2026, 16:20:15 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses