Malicious code in polymarket-onchain-sdk (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: ghsa-malware (73556a574d8ee416a5440f889b73cafff3b464650d6b2b2caf4001ce15086f6c) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
AI Analysis
Technical Summary
The polymarket-onchain-sdk npm package versions 1.0.2, 1.0.3, and 1.0.4 have been identified as containing malicious code. Installation or execution of these versions results in a full compromise of the affected computer, potentially allowing an attacker to gain complete control. Due to the nature of the compromise, simply uninstalling the package is insufficient to ensure system integrity. Immediate secret and key rotation from a trusted environment is required to mitigate ongoing risk.
Potential Impact
Systems with the affected polymarket-onchain-sdk package installed are fully compromised, meaning attackers may have complete control over the system and access to all stored secrets and keys. This can lead to unauthorized data access, credential theft, and further malicious activity. The compromise is severe and persistent beyond mere package removal.
Mitigation Recommendations
Remove the polymarket-onchain-sdk package versions 1.0.2, 1.0.3, and 1.0.4 immediately. Rotate all secrets and keys stored on the compromised system from a separate, secure computer. Because the system is considered fully compromised, a full system rebuild or forensic analysis is recommended to ensure all malicious artifacts are removed. No official patch or fix is available; remediation relies on removal and secret rotation.
Malicious code in polymarket-onchain-sdk (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: ghsa-malware (73556a574d8ee416a5440f889b73cafff3b464650d6b2b2caf4001ce15086f6c) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Affected software
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
Technical Analysis
The polymarket-onchain-sdk npm package versions 1.0.2, 1.0.3, and 1.0.4 have been identified as containing malicious code. Installation or execution of these versions results in a full compromise of the affected computer, potentially allowing an attacker to gain complete control. Due to the nature of the compromise, simply uninstalling the package is insufficient to ensure system integrity. Immediate secret and key rotation from a trusted environment is required to mitigate ongoing risk.
Potential Impact
Systems with the affected polymarket-onchain-sdk package installed are fully compromised, meaning attackers may have complete control over the system and access to all stored secrets and keys. This can lead to unauthorized data access, credential theft, and further malicious activity. The compromise is severe and persistent beyond mere package removal.
Mitigation Recommendations
Remove the polymarket-onchain-sdk package versions 1.0.2, 1.0.3, and 1.0.4 immediately. Rotate all secrets and keys stored on the compromised system from a separate, secure computer. Because the system is considered fully compromised, a full system rebuild or forensic analysis is recommended to ensure all malicious artifacts are removed. No official patch or fix is available; remediation relies on removal and secret rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6865
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-89w2-qgj2-9f2w"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c342927e9c797195f9db6
Added to database: 07/06/2026, 23:03:05 UTC
Last enriched: 07/07/2026, 00:08:52 UTC
Last updated: 07/29/2026, 21:52:35 UTC
Views: 22
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.