Skip to content
RCE Write-up Intermediate

# How I Found a Snyk-Verified 9.3

A production JavaScript bundle referenced an npm package under an unregistered namespace, allowing the researcher to register that namespace and publish a proof-of-concept package. Any system running npm install would then download the researcher's package, potentially executing code.

medium.com

Published on medium.com

I discovered a critical dependency confusion vulnerability affecting the entire FDJ United gaming platform — including Unibet, Otto Kasino, Maria Casino, and Bingo.com. The finding was independently verified by Snyk and assigned a 9.3 Critical CVSS score (SNYK-JS-PLATFORMCLIENTEXTENSIONSRUMWEB-10752117).

freebold, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the production bundle referenced an npm package under a namespace that was not registered on the public npm registry, enabling dependency confusion.

Impact

The researcher's package was downloaded over 186 times, and callbacks confirmed execution on multiple systems, potentially affecting four major casino brands.

What the attacker needed

Unregistered npm namespace; production bundle references the package; npm install runs on affected systems

The fix

The endpoint was quietly scrubbed, but the underlying supply chain risk was not publicly addressed.

How it was found

  1. Analyse JavaScript bundles served from the production CDN.
  2. Identify a reference to an npm package under an unregistered namespace.
  3. Register the namespace on npm and publish a proof-of-concept package with a high version number.
  4. Observe downloads and callbacks confirming execution.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

When developers build software, they often reuse small pieces of code from a public library called npm. If a company uses a private package name that is not registered on the public npm registry, an attacker can register that name and publish their own malicious version. Then, when the company's build system tries to download the package, it gets the attacker's code instead.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.