Skip to main content
Menu
Advisories

Malicious code in internallib_v23 (npm)

GHSA-HPQ7-6V2V-XMQ3Published Updated GitHubMalware

Description

Source: amazon-inspector (bf294381eb4f87a0dcccbd00977ac38ab25a8108639c8cc08543c7d0e09b5f36)

index.js line 5 exports a function that invokes /bin/bash to curl reverse-shell.sh/10.0.19.80:4443 and pipe the response to a shell, delivering an interactive reverse shell to the hardcoded endpoint 10.0.19.80:4443 on the host where the exported function is called. The destination is a hardcoded private-range IP, there is no authentication, no documentation of the behavior, and the fetched content is executed directly. The package's only exported functionality is this backdoor dropper.

---

Credit: OpenSSF (source)

Affected versions

References