Malicious code in crypto-checkout-api (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (b15806df14aa955b2d5e08414d4f22ad71a9d1ac823aa7557e8f9d490d78761d) index.js exports getPlugin() which issues an HTTPS request to a hardcoded bare-IP endpoint at https://46.183.25.232:45000/icons/112 and passes the response field data.credits to new Function('require','module',...,data.credits), executing attacker-controlled JavaScript with require, process, and Buffer injected. The request is framed with cover-story naming (a font-awesome/CDN path fragment and a 'bearrtoken: logo' header) that is unrelated to the actual bare-IP destination and inconsistent with the package's stated 'crypto checkout' purpose. Declared dependencies (@primno/dpapi for Windows DPAPI unwrap, node-machine-id, better-sqlite3) are consistent with a credential/wallet-stealer payload delivered through the loader. ## Source: ghsa-malware (36320c265cebe6479c4c4d438a043d4c38fb14b9e02bd8f97130c557b19a2b2c) 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 'crypto-checkout-api' npm package version 1.0.0 exports a function that issues an HTTPS request to a hardcoded bare-IP endpoint (https://46.183.25.232:45000/icons/112). The response field 'data.credits' is passed to a dynamically created function using 'new Function', which executes attacker-controlled JavaScript with injected Node.js objects such as 'require', 'module', 'process', and 'Buffer'. The request is disguised with misleading headers and paths unrelated to the package's stated purpose. Declared dependencies (@primno/dpapi, node-machine-id, better-sqlite3) align with functionality typical of credential or wallet stealing malware. No patch or remediation information is provided.
Potential Impact
This malicious package can execute arbitrary JavaScript code with full Node.js privileges, potentially leading to theft of sensitive credentials or cryptocurrency wallets on affected systems. The execution of attacker-controlled code poses a high risk of compromise for users installing or running this package.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid using 'crypto-checkout-api' version 1.0.0 and remove it from their environments. Verify dependencies and source packages carefully before installation to prevent supply chain compromise. Monitor for updates from trusted sources regarding remediation.
Malicious code in crypto-checkout-api (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (b15806df14aa955b2d5e08414d4f22ad71a9d1ac823aa7557e8f9d490d78761d) index.js exports getPlugin() which issues an HTTPS request to a hardcoded bare-IP endpoint at https://46.183.25.232:45000/icons/112 and passes the response field data.credits to new Function('require','module',...,data.credits), executing attacker-controlled JavaScript with require, process, and Buffer injected. The request is framed with cover-story naming (a font-awesome/CDN path fragment and a 'bearrtoken: logo' header) that is unrelated to the actual bare-IP destination and inconsistent with the package's stated 'crypto checkout' purpose. Declared dependencies (@primno/dpapi for Windows DPAPI unwrap, node-machine-id, better-sqlite3) are consistent with a credential/wallet-stealer payload delivered through the loader. ## Source: ghsa-malware (36320c265cebe6479c4c4d438a043d4c38fb14b9e02bd8f97130c557b19a2b2c) 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 'crypto-checkout-api' npm package version 1.0.0 exports a function that issues an HTTPS request to a hardcoded bare-IP endpoint (https://46.183.25.232:45000/icons/112). The response field 'data.credits' is passed to a dynamically created function using 'new Function', which executes attacker-controlled JavaScript with injected Node.js objects such as 'require', 'module', 'process', and 'Buffer'. The request is disguised with misleading headers and paths unrelated to the package's stated purpose. Declared dependencies (@primno/dpapi, node-machine-id, better-sqlite3) align with functionality typical of credential or wallet stealing malware. No patch or remediation information is provided.
Potential Impact
This malicious package can execute arbitrary JavaScript code with full Node.js privileges, potentially leading to theft of sensitive credentials or cryptocurrency wallets on affected systems. The execution of attacker-controlled code poses a high risk of compromise for users installing or running this package.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid using 'crypto-checkout-api' version 1.0.0 and remove it from their environments. Verify dependencies and source packages carefully before installation to prevent supply chain compromise. Monitor for updates from trusted sources regarding remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12666
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735740bf8831d53915376d
Added to database: 08/05/2026, 15:31:12 UTC
Last enriched: 08/05/2026, 16:57:04 UTC
Last updated: 09/07/2026, 22:06:25 UTC
Views: 23
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.