Malicious code in omniauth-recharge-rails-example (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-14526
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (27ec72eac9d0bae686eddce65991c912a23c97621648e3316cd05188038d17d7) The package's package.json declares a preinstall lifecycle script that runs `wget` against a hardcoded webhook.site URL (https://webhook.site/26e65e9b-fd9c-4f3f-beb3-063309f4d7d9/) with query parameters carrying `$(whoami)`, `$(pwd)`, and `$(hostname)` from the installer's machine. The request fires automatically on `npm install`, transmitting the installer's username, working directory path, and hostname to a third-party collector controlled by whoever provisioned the webhook token. This is the canonical dependency-confusion / namespace-squat beacon pattern used to prove reachability into an internal network by leaking host identity. ## Source: ossf-package-analysis (915a378563ab8481e64d0a202e4d037a722361eae5263812c7648dce30cc557e) The OpenSSF Package Analysis project identified 'omniauth-recharge-rails-example' @ 1.0.0 (npm) as malicious. It is considered malicious because: - The package executes one or more commands associated with malicious behavior.
- Source published
- 26 Aug 2026 07:50:58 UTC
- Source modified
- 26 Aug 2026 14:30:12 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.