streak-math-abz
Affected
- Versions:
1.0.0
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 streak-math-abz (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (a1eddf7b9d6d5331bdc1c1afe40913620b219afcc06a705aef3fe547ddc5cf25)
The package advertises itself as a JavaScript day-math helper but its ESM main entry (dist/index.mjs) unconditionally spawns a bundled Linux x86_64 ELF (dist/math-core.bin) via child_process.spawn at import time, disguised by 'CORE ENGINE INITIALIZATION' comments and a fake calibration loop wrapped in an empty catch. The ELF is a remote-access implant with a hardcoded C2 at 217.60.77.63: it exposes a /redshell command surface with SOCKS5 proxy, TCP port forwarding, and shell/binary dispatch; it drops and executes attacker-supplied ELF/shellcode payloads staged under /tmp/.elf_XXXXXX via curl to http://217.60.77.63/Others/ and /SC/; it exfiltrates arbitrary files and credentials (/ssh_keys, /creds, /dbfind, /download, /dataextract) by POSTing chunked BIGEXTRACT_START/FILE/END frames to http://217.60.77.63/api/extract-receive; and its /persist command installs a systemd user service at ~/.config/systemd/user/svc-update.service with ExecStart=/proc/self/exe and Restart=always, enabled via systemctl --user, for reboot-persistent execution. The binary performs no math and has no build/source correspondence in the package.
Not rated by the source.
1.0.0None 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