finup-mongo-library (npm) · Malicious Code
Affects finup-mongo-librarySource GCVE Database
Malicious package : remove finup-mongo-library and rotate any secrets on hosts that installed it.
Data as of 23 Nov 2026, 20:27 UTC
Malicious package
Published to npm · OSV MAL-2026-4564
What to do
Remove finup-mongo-library 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 |
|---|---|---|
| npmfinup-mongo-library | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The finup-mongo-library npm package contains malicious code that silently configures the Sentry SDK with a hardcoded DSN controlled by the package author. This causes all uncaught exceptions, performance traces, and profiling data from any application importing the package to be sent to the attacker's Sentry project without user consent or disclosure. This data can include stack traces, source file paths, request URLs, query parameters, and incidental personally identifiable information (PII). Additionally, an optional component can post request bodies to a Telegram bot URL if configured by the user. The package effectively compromises any system it is installed on, risking exposure of secrets and keys. Immediate removal and secret rotation are strongly advised.
References
- npmjs.com/package/finup-mongo-library/v/4.0.1 (opens in a new tab)
- npmjs.com/package/finup-mongo-library/v/3.9.9 (opens in a new tab)
- npmjs.com/package/finup-mongo-library/v/4.0.6 (opens in a new tab)
- npmjs.com/package/finup-mongo-library/v/4.0.7 (opens in a new tab)
- npmjs.com/package/finup-mongo-library/v/4.1.3 (opens in a new tab)
- npmjs.com/package/finup-mongo-library/v/4.0.9 (opens in a new tab)
- npmjs.com/package/finup-mongo-library/v/4.0.5 (opens in a new tab)
- npmjs.com/package/finup-mongo-library/v/4.0.4 (opens in a new tab)
- npmjs.com/package/finup-mongo-library/v/4.1.2 (opens in a new tab)
- npmjs.com/package/finup-mongo-library/v/4.1.5 (opens in a new tab)
- npmjs.com/package/finup-mongo-library/v/4.2.2 (opens in a new tab)
- npmjs.com/package/finup-mongo-library/v/4.2.1 (opens in a new tab)
- github.com/advisories/GHSA-3765-55wp-8fqh (opens in a new tab)