The npm package finup-mongo-library relayed application error data and performance traces to a hard-coded Sentry project that its author controlled.
npm removed every real release of the package on 23 November 2026 and replaced it with a security holding package. Teams that imported it into Node.js or NestJS apps sent application telemetry to an outside account.
What happened
GitHub published malware advisory GHSA-3765-55wp-8fqh on 23 November 2026. It lists every published release of finup-mongo-library, from 1.0.0 to 4.2.2, as malicious code. The advisory says a computer that ran the package must be treated as fully compromised.
- The OpenSSF malicious packages record MAL-2026-4564 credits Amazon Inspector as the finder. Inspector first flagged version
3.9.9, which appeared on npm on 21 May 2026. - Inspector reports that
dist/common/instrument.jscallsSentry.init()at module load with a hard-coded Sentry DSN,o4511257159139328.ingest.us.sentry.io/4511257262161920, and sample rates of1.0. - Inspector states that any consumer app which imports the package then sends its own uncaught exceptions, traces and profiles to that Sentry project. Error data can include stack frames, file paths, request URLs, query parameters and personal data.
- Inspector also reports a shipped
HttpExceptionFilterthat posts request bodies to a Telegram bot URL. That destination comes from the consumer's own environment variables, so it needs caller opt-in. - We did not inspect the code. npm deleted all real versions, so no copy reached this review. The technical detail above comes from the fetched Amazon Inspector record.
Affected versions
- GitHub flags every release from
1.0.0(published 10 January 2025) through4.2.2(published 18 June 2026). - Amazon Inspector first flagged
3.9.9on 21 May 2026 and later flagged3.9.9through4.2.2. - npm now serves only
0.0.0-stageand0.0.1-security, two placeholder versions held under thenpmaccount.
Indicators of compromise
- Package file
dist/common/instrument.js, sha256a54e764ec038c972d9bcde6d5eaebbcc0918ca3d00ed2d5877f07d1bbdb7c23e(Amazon Inspector, via MAL-2026-4564). - Tarball
finup-mongo-library-4.0.1.tgz, sha512 SRIsha512-C3HOJJaf+idH4zFee2TM0QI1QfFGf7Q1E8VaVd1p+mEzTJZRkfnWG8h8BzvwUT0FknCLmIbhBkIpBppF1r61Zw==(Amazon Inspector). - Sentry ingest host
o4511257159139328.ingest.us.sentry.io/4511257262161920.
How to check
Check whether the package is installed, then search Sentry settings in your app for the hard-coded DSN.
npm ls finup-mongo-library
grep -r "o4511257159139328" node_modules --include=instrument.js
Check your CI build logs and lockfile history for any affected version. A clean install today cannot rule out earlier exposure.
What to do now
- Remove
finup-mongo-libraryfrom the project and rebuildnode_modulesfrom a clean lockfile. - Follow the advisory: treat the machine that ran it as fully compromised and rotate its secrets from a different computer.
- Clear the Sentry SDK singleton in long-running Node processes, then restart them.
- Review what your app sent to the hard-coded Sentry project since the first affected install.
What Vigilance would show
These examples show an install hold and the corresponding owner report.
Example install message
Vigilance blocked `finup-mongo-library` 4.2.2. This version is too new or changed in a way Vigilance must check first.
Example owner report
Bad update
finup-mongo-library 4.2.2
A Mongo helper library sent every app error and trace from programs that installed it to the author's own Sentry account.
No security team? See who reads the alert.
Frequently asked questions
Is finup-mongo-library safe now?
No. npm holds the package under a security placeholder. Every release from 1.0.0 to 4.2.2 is flagged as malicious code.
What did the package send out?
Per Amazon Inspector, uncaught exceptions, performance traces and profiles from the app that imported it, which can include file paths, request URLs and personal data.
I only used it in a test build. What now?
Rotate the secrets that build environment can reach and check its logs for the hard-coded Sentry host.
Sources
Send this page to the person who looks after AI at your company.