Skip to main content

Malicious code in kelly-stake-sizing (npm)

0
Critical
Published: 08/24/2026 (08/24/2026, 16:46:01 UTC)
Source: GCVE Database
Product: kelly-stake-sizing

Description

The npm package kelly-stake-sizing version 0.1.1 contains malicious code that executes arbitrary attacker-controlled JavaScript during installation. The package's postinstall script fetches a remote JSON configuration to download and run additional code without integrity verification, leading to full system compromise. Removal of the package does not guarantee elimination of all malicious artifacts. Immediate secret and key rotation is advised for affected systems.

Affected software

npmghsa
kelly-stake-sizing
Affected versions
=0.1.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 05:24:30 UTC

Technical Analysis

The [email protected] npm package declares a postinstall script that downloads a JSON configuration from a remote URL, which is mutable by the package author. This JSON config points to a bundle URL from which a tarball is downloaded, extracted, and installed with npm install commands. The package then requires and executes a JavaScript file from the extracted bundle, invoking a function that runs attacker-controlled code with the privileges of the npm install process. Because the fetched code is not included in the original package tarball, is not version-pinned, and lacks hash or signature verification, this allows arbitrary code execution at install time. The package effectively acts as a backdoor, compromising any system that installs it.

Potential Impact

Installing [email protected] results in arbitrary code execution with the privileges of the npm install process, leading to full system compromise. Attackers can execute any JavaScript code, install additional dependencies with their own lifecycle scripts, and potentially persist control over the affected system. All secrets and keys stored on the compromised machine are at risk and should be considered exposed.

Defensive Guidance

There is no official patch or fix available for this malicious package. The recommended mitigation is to immediately remove [email protected] from all systems. Because the package executes arbitrary code during installation, any affected system should be treated as fully compromised. All secrets and keys stored on the system must be rotated from a different, trusted machine. Monitor for any signs of persistence or additional malicious software resulting from the package installation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-14432
Osv Schema Version
1.7.4
Aliases
["GHSA-h8rr-x7cp-4h62"]
Ecosystems
["npm"]

Threat ID: 6a9f9110acd9273b49ff2acf

Added to database: 09/08/2026, 04:37:36 UTC

Last enriched: 09/08/2026, 05:24:30 UTC

Last updated: 10/03/2026, 06:21:45 UTC

Views: 25

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses