monogrok (npm) · Malicious Code
Affects monogrokSource GCVE Database
Malicious package : remove monogrok and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:56 UTC
Malicious package
Published to npm · OSV MAL-2026-10638
What to do
Remove monogrok from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmmonogrok | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (3369fb16804682addfec56904223d0255c2a0ca6d35481e744221e8252f2000d) Package publishes as a generic 'M!T' library with an unrelated Apache-license README, but the tarball contains an offensive spam / phishing / mailbox-cracking toolkit: SMTP credential brute-force and AWS SES abuse (`func/smx/aws.js`, `func/smx/awssho.js`), IMAP/POP3/EWS/MS-OAuth mailbox checkers (`func/box/{imap,pop3,ewsv,msap,caut}.js`), phishing redirector chain (`func/rdt/*`), SOCKS/HTTP proxy rotation (`func/ipr/*`), and bulk-mailer 'zombie' senders (`func/snd/mlr/{prxml,zmbvf,zmrml}.js`). On load of the main entry `oibWljdTg.js`, `installLicenseGuard()` runs and — on integrity check — POSTs `os.hostname()`, `os.userInfo().username`, `process.cwd()`, PID, timestamp, and a bearer token read from `~/.monotomic.token` to a hardcoded author endpoint at `https://api.mntmc.rip/ibW9B3RlbmF/token/security/tamper`. `func/box/chrm.js` locates the installer's Chrome `User Data` directory (Windows `LOCALAPPDATA\Google\Chrome`, macOS `~/Library/Application Support/Google/Chrome`, Linux `~/.config/google-chrome`), launches puppeteer with `--user-data-dir=<profile>` + `--profile-directory=Default`, navigates to Outlook/Gmail URLs, and returns live session cookies (including httpOnly/secure). All 300+ source files are obfuscated with javascript-obfuscator (RC4/base64 rotated string arrays, control-flow flattening) to conceal the above behavior. `dependencies['node-ews']` is set to `github:oonlyjs/node-ews` — an unpinned mutable-branch reference under the same author account, resolved at each install, allowing arbitrary transitive code injection outside npm's tarball. Installing this package places offensive mail-abuse infrastructure on the machine, exfiltrates host identifiers and a stored bearer token to an author-controlled host on load, harvests the installer's browser session cookies, and pulls a mutable third-party dependency at install time. ## Source: ghsa-malware (d5c1f66e8c5e2e97b3fc1b3d8819b405e9187fc5fdd2cedc0882e018e2da56bd) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References
- npmjs.com/package/monogrok/v/1.0.30 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.33 (opens in a new tab)
- github.com/advisories/GHSA-548c-qh8j-h895 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.7 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.8 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.1 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.43 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.31 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.40 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.37 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.11 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.14 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.44 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.32 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.34 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.41 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.36 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.35 (opens in a new tab)
- npmjs.com/package/monogrok/v/1.0.39 (opens in a new tab)