Skip to content

Add OSV report for jscrambler (npm supply-chain compromise, 5 versions) - #1367

Merged
calebbrown merged 4 commits into
ossf:mainfrom
Sahilb315:add-jscrambler-8.14.0
Jul 12, 2026
Merged

Add OSV report for jscrambler (npm supply-chain compromise, 5 versions)#1367
calebbrown merged 4 commits into
ossf:mainfrom
Sahilb315:add-jscrambler-8.14.0

Conversation

@Sahilb315

@Sahilb315 Sahilb315 commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Adds an OSV malicious package report for a supply-chain compromise of the official jscrambler npm client.

  • Package: jscrambler (npm)
  • Affected versions: 8.14.0, 8.16.0, 8.17.0, 8.18.0, 8.20.0 (8.13.0 is clean)
  • Type: Account/CI compromise of the legitimate publisher (jscrambler_ / info@jscrambler.com), not a typosquat

Behavior: the compromised releases add a new preinstall hook (node dist/setup.js) and a new 7.5MB dist/intro.js (entropy 8.00, custom-packed multi-platform binary container, magic bytes 1b435349 01). At install time, setup.js gunzips the platform-matched payload from intro.js, writes it to a random file under the OS temp directory with the exec bit set (0o755, or .exe on Windows), then spawns it detached (unref, windowsHide) while swallowing all errors. A silent, install-time native-binary dropper. The mechanism was analyzed on 8.14.0.

Source: SafeDep report https://safedep.io/jscrambler-npm-supply-chain-compromise/ (analysis: https://app.safedep.io/community/malysis/01KX8WKGMA8HVDBHBCHJQDVB2A)

Signed-off-by: Sahilb315 <bansalsahil315@gmail.com>
Signed-off-by: Sahilb315 <bansalsahil315@gmail.com>
… 8.20.0)

Signed-off-by: Sahilb315 <bansalsahil315@gmail.com>
@Sahilb315 Sahilb315 changed the title Add OSV report for jscrambler 8.14.0 (npm supply-chain compromise) Add OSV report for jscrambler (npm supply-chain compromise, 5 versions) Jul 11, 2026
@calebbrown
calebbrown merged commit 74f35ae into ossf:main Jul 12, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants