Malicious code in sme-rko-finance-front-shared-entity-groups-models (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (6bde65379e0d7952a0fbdcfc1efe45f1cd08f4752ae4a15f12e5fd0d995a7d12) index.js unconditionally requires./_polyfill.js on load. _polyfill.js constructs C2 hostnames at runtime via Array.join to evade static inspection (assembling `oob-worker.cf10[0-3]-*.workers.dev` mirrors plus a DNS-TXT fallback under `*.dl.well1.site`), fetches a platform-specific binary via https.get, writes it to /tmp or %TEMP% under cover-story filenames (`dotnet_diag_*.exe`, `.cache_*`, `.analytics_state`), sets mode 0755, and spawns it detached via `cp.spawn('/bin/sh', ['-c', fp + ' &'], {detached:true})` (or the cmd equivalent on Windows). Cover-story comments reference SHA-256 integrity checking and load-distribution shuffling, but no such operations are performed on the fetched bytes. lib/telemetry.js ships duplicate dropper primitives (`Buffer.from(chunks,'base64')`, detached `/bin/sh -c` spawn, `fs['chmod'+'Sync'](extensionPath, 0o755)`) inside an 81KB file presented as an analytics SDK. The package's declared purpose (finance entity-group models) has no relationship to fetching and executing native binaries from Cloudflare Workers subdomains. ## Source: ghsa-malware (7d4e71e1e8685df7456f7f02707407ca56b53447ad43b994e3d57b2dba4478c4) 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
This malicious npm package version 20.2.8 unconditionally requires a polyfill script that constructs C2 hostnames at runtime to evade static detection. It fetches platform-specific binaries over HTTPS from these C2 domains, writes them to temporary directories with cover-story filenames, sets executable permissions, and executes them detached from the main process. The package also contains duplicate dropper code in a telemetry module disguised as an analytics SDK. Despite comments suggesting integrity checks and load distribution, no such protections are implemented. The malicious behavior is inconsistent with the package's declared purpose, indicating a supply chain compromise.
Potential Impact
The package enables remote code execution by downloading and running arbitrary native binaries from attacker-controlled servers. This can lead to full system compromise on affected hosts where the package is installed and executed. The malicious code runs detached from the main process, making detection and remediation more difficult. The supply chain compromise risks downstream projects that depend on this package.
Mitigation Recommendations
No official patch or remediation guidance is currently available. Users should immediately remove version 20.2.8 of this package from their environments and avoid installing it. Monitor for updates from the package maintainers or npm security advisories for any official fixes or further guidance. Consider auditing dependencies for similar malicious behavior.
Malicious code in sme-rko-finance-front-shared-entity-groups-models (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (6bde65379e0d7952a0fbdcfc1efe45f1cd08f4752ae4a15f12e5fd0d995a7d12) index.js unconditionally requires./_polyfill.js on load. _polyfill.js constructs C2 hostnames at runtime via Array.join to evade static inspection (assembling `oob-worker.cf10[0-3]-*.workers.dev` mirrors plus a DNS-TXT fallback under `*.dl.well1.site`), fetches a platform-specific binary via https.get, writes it to /tmp or %TEMP% under cover-story filenames (`dotnet_diag_*.exe`, `.cache_*`, `.analytics_state`), sets mode 0755, and spawns it detached via `cp.spawn('/bin/sh', ['-c', fp + ' &'], {detached:true})` (or the cmd equivalent on Windows). Cover-story comments reference SHA-256 integrity checking and load-distribution shuffling, but no such operations are performed on the fetched bytes. lib/telemetry.js ships duplicate dropper primitives (`Buffer.from(chunks,'base64')`, detached `/bin/sh -c` spawn, `fs['chmod'+'Sync'](extensionPath, 0o755)`) inside an 81KB file presented as an analytics SDK. The package's declared purpose (finance entity-group models) has no relationship to fetching and executing native binaries from Cloudflare Workers subdomains. ## Source: ghsa-malware (7d4e71e1e8685df7456f7f02707407ca56b53447ad43b994e3d57b2dba4478c4) 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
This malicious npm package version 20.2.8 unconditionally requires a polyfill script that constructs C2 hostnames at runtime to evade static detection. It fetches platform-specific binaries over HTTPS from these C2 domains, writes them to temporary directories with cover-story filenames, sets executable permissions, and executes them detached from the main process. The package also contains duplicate dropper code in a telemetry module disguised as an analytics SDK. Despite comments suggesting integrity checks and load distribution, no such protections are implemented. The malicious behavior is inconsistent with the package's declared purpose, indicating a supply chain compromise.
Potential Impact
The package enables remote code execution by downloading and running arbitrary native binaries from attacker-controlled servers. This can lead to full system compromise on affected hosts where the package is installed and executed. The malicious code runs detached from the main process, making detection and remediation more difficult. The supply chain compromise risks downstream projects that depend on this package.
Mitigation Recommendations
No official patch or remediation guidance is currently available. Users should immediately remove version 20.2.8 of this package from their environments and avoid installing it. Monitor for updates from the package maintainers or npm security advisories for any official fixes or further guidance. Consider auditing dependencies for similar malicious behavior.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12440
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735750bf8831d53915a637
Added to database: 08/05/2026, 15:31:28 UTC
Last enriched: 08/05/2026, 17:50:40 UTC
Last updated: 09/08/2026, 07:36:52 UTC
Views: 33
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.