🛡️ MAL-2026-12376 — express-middle
Description
Malicious code in express-middle (npm)
Source: amazon-inspector
package.json declares postinstall: node index.js, which fires automatically on npm install. index.js is a heavily obfuscated bundle (obfuscator.io-style RC4-decoded 344-entry string array with control-flow flattening) whose runtime behavior assembles a destination host at runtime by concatenating four numeric fragments with '.' (an IPv4 built to hide the C2 from static review), performs an HTTPS request to that host, splits the response on ':' into IV and ciphertext, derives a key via pbkdf2, AES-decrypts the response with createDecipheriv, writes the plaintext payload to disk via fs.writeFileSync, and executes it through child_process.exec with windowsHide:true to suppress a console window. The package name resembles express middleware but ships no middleware functionality; the sole effect of installing it is remote code execution on the installer's machine under attacker control.
Affected software
MAL-2026-12376 is recorded against 1 package.
- express-middle
Timeline and source
Published on 5 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| express-middle | — | — |
References
Similar Threats
- Unknown MAL-2025-20080
More MAL 2026 advisories
Browse all of MAL 2026 in the advisory index.
Free Vulnerability Check
Is your site affected by MAL-2026-12376?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-12376 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.