Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-10147: Malicious code in polygon-gama-apis (npm)

0
Critical
Published: 07/10/2026 (07/10/2026, 16:12:23 UTC)
Source: GCVE Database
Product: polygon-gama-apis

Description

The npm package polygon-gama-apis version 1.4.1 contains malicious code that executes arbitrary JavaScript fetched from a remote server (https://bet.slotgambit.com/icons/111) using the JavaScript Function constructor with full Node.js context. This allows the remote operator to execute arbitrary code on any system that imports and calls the package's exported API. The package metadata is deceptive, and bundled dependencies suggest credential and wallet stealing capabilities. Any system with this package installed should be considered fully compromised.

Affected software

npmghsa
polygon-gama-apis
Affected versions
=1.4.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: 07/11/2026, 09:52:43 UTC

Technical Analysis

polygon-gama-apis version 1.4.1 exports a function getPlugin() that fetches JSON from a remote URL and executes the 'credits' field content as JavaScript code with full Node.js privileges. This remote code execution enables the attacker to run arbitrary code within the installer's process. The package uses obfuscation techniques such as splitting the command-and-control URL into fragments and disguising the malicious payload in a field named 'credits'. The package metadata is inconsistent and misleading, aiming to attract installs from multiple ecosystems. Bundled dependencies indicate potential credential and wallet stealing functionality. Removal of the package does not guarantee full remediation due to possible persistent compromise.

Potential Impact

Systems with polygon-gama-apis version 1.4.1 installed and running are fully compromised, allowing arbitrary code execution by a remote attacker. This can lead to theft of secrets, credentials, and keys stored on the affected system. The attacker gains full control of the Node.js process and potentially the host system. Secrets and keys must be rotated immediately from a secure environment after detection.

Mitigation Recommendations

No official patch or fix is currently available. Immediate removal of polygon-gama-apis version 1.4.1 from all systems is strongly recommended. Due to the high likelihood of full system compromise, all secrets, credentials, and keys stored on affected systems should be considered compromised and rotated from a different, secure environment. Monitor for any signs of persistent malicious activity and consider full system reimaging if compromise is suspected.

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-10147
Osv Schema Version
1.7.4
Aliases
["GHSA-pvwq-8chv-g96r"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a520eb968715ace438f567f

Added to database: 07/11/2026, 09:36:57 UTC

Last enriched: 07/11/2026, 09:52:43 UTC

Last updated: 07/12/2026, 03:34:21 UTC

Views: 5

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