claims-use-base-analytics
Affected
- Versions:
35.4.9
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in claims-use-base-analytics (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (0f191811e6841cbfe4cc2c9621f7876290b92efc2bdc78e9c4f6c4cca7933c0f)
[email protected] is a native-binary dropper disguised as an analytics wrapper. On require, index.js loads _shim.js which selects a platform-specific asset path and fetches an opaque binary via HTTPS from one of three attacker-controlled Cloudflare Workers hosts (oob-worker.cf100-416.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev). The binary is written to /tmp or %TEMP% under a disguised name (e.g. dotnet_diag_<rnd>.exe on Windows,.cache_<rnd> on Unix), chmod 0755, and spawned detached via /bin/sh -c or cmd /c start /b. If the HTTPS fetch fails, loadViaDns() reassembles a base64-encoded payload from TXT records under per-platform subdomains of dl.wel1.ru (sdk., ext., pkg., net.) — a DNS-over-TXT covert channel designed to bypass HTTP egress filtering — then writes, chmods, and executes the resulting bytes. C2 hostnames are string-split-obfuscated (e.g. ["oob-worker.cf100-416.w","orke","rs",".dev"].join("")) and require("child_" + "process") is used to evade static analysis. Execution is gated by a ~6h TTL cache stamp in.analytics_state so it fires at most once per interval, and DISABLE_TELEMETRY / DO_NOT_TRACK env vars are honored as cover for an ostensibly benign analytics stub. The package's advertised purpose (analytics wrapper) has no legitimate need for a native-binary dropper, a covert DNS-TXT fallback, or hostname obfuscation.
Not rated by the source.
35.4.9None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0