npm

The finup-mongo-library npm Attack

Updated 23 Nov 2026 · Incident date 10 Jan 2025

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.js calls Sentry.init() at module load with a hard-coded Sentry DSN, o4511257159139328.ingest.us.sentry.io/4511257262161920, and sample rates of 1.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 HttpExceptionFilter that 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) through 4.2.2 (published 18 June 2026).
  • Amazon Inspector first flagged 3.9.9 on 21 May 2026 and later flagged 3.9.9 through 4.2.2.
  • npm now serves only 0.0.0-stage and 0.0.1-security, two placeholder versions held under the npm account.

Indicators of compromise

  • Package file dist/common/instrument.js, sha256 a54e764ec038c972d9bcde6d5eaebbcc0918ca3d00ed2d5877f07d1bbdb7c23e (Amazon Inspector, via MAL-2026-4564).
  • Tarball finup-mongo-library-4.0.1.tgz, sha512 SRI sha512-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

  1. Remove finup-mongo-library from the project and rebuild node_modules from a clean lockfile.
  2. Follow the advisory: treat the machine that ran it as fully compromised and rotate its secrets from a different computer.
  3. Clear the Sentry SDK singleton in long-running Node processes, then restart them.
  4. 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.

See what to do now.

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

  1. github.com/advisories/GHSA-3765-55wp-8fqh
  2. api.osv.dev/v1/vulns/MAL-2026-4564
  3. registry.npmjs.org/finup-mongo-library

Send this page to the person who looks after AI at your company.

Email it

More supply chain attacks

All 179 attacks in the library · npm supply chain attacks · How to prevent supply chain attacks

Check the next update before you install it

Vigilance compares the version you trust with the new one. It names the one file that gained a power the old version did not have.

Start the free 14-day trialBrowse the attack library