MAL-2026-7019

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/npm-rce-poc/MAL-2026-7019.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-7019
Aliases
  • GHSA-pqpr-7m94-xhm4
Published
2026-07-08T19:29:46Z
Modified
2026-07-15T17:04:24.081363123Z
Summary
Malicious code in npm-rce-poc (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (6365312ad1339c7d5539f594b9e472ea3f10401fa356fe49766de887368e87c9)

Package declares a postinstall lifecycle script that, on npm install, fetches a script over plain HTTP from a hardcoded bare IP (http://115.190.124.243:8761/slt on Unix,.../swt on Windows) and immediately executes it — piping to sh on Unix and writing to C:\Users\Public\run.bat via certutil then invoking it on Windows. The package presents itself as date-fns-lite, a lookalike of the popular date-fns library, and ships a benign-looking date-formatting index.js as cover; the actual behavior is an install-time dropper that hands remote code execution to the operator of 115.190.124.243 against every installer. No pinning, no integrity check, no TLS.

Source: ghsa-malware (e458fd62c7ef50abe3e12618d0a1871ab70fcbeafaf21539787e554e6e3becc6)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "sha256": "6365312ad1339c7d5539f594b9e472ea3f10401fa356fe49766de887368e87c9",
            "import_time": "2026-07-08T19:33:49.503409384Z",
            "modified_time": "2026-07-08T19:29:46Z",
            "id": "IN-MAL-2026-008249",
            "versions": [
                "1.0.13"
            ]
        },
        {
            "source": "ghsa-malware",
            "sha256": "e458fd62c7ef50abe3e12618d0a1871ab70fcbeafaf21539787e554e6e3becc6",
            "import_time": "2026-07-15T16:46:11.992296148Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-pqpr-7m94-xhm4",
            "modified_time": "2026-07-15T16:12:55Z"
        }
    ]
}
References
Credits

Affected packages

npm / npm-rce-poc

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.13

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "npm-rce-poc-1.0.13.tgz",
            "hashes": {
                "sha1": "07103a6e416e737118271e4779c88f3dc78f9fa2",
                "sha512_sri": "sha512-VO6ImR4X95MtioVX9HTaekYzcHbjkGn7z+tUhcqPC1HgNtac8VuTDs2rv6+av5Z0qKLBvCRfxvlSYPoz7hv2MA=="
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "073135e40dfbdd730793a4921b074103a1572017390bfd8dbe8c42c22fd38988616ed6",
            "sha256": "b7d8744e20b318ed280ae1ab2bc4eb16eab79cefd725637e3696de0a7bbcd770",
            "path": "postinstall.js"
        },
        {
            "tlsh": "27e0d83009515a2329c897d9ed264a477d254d17024c7c2923d3516883debbb94fd12e",
            "sha256": "340a34667a42b43bffc7a251aec96739da1e0914482c8f93dd690a21936448f0",
            "path": "package.json"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/npm-rce-poc/MAL-2026-7019.json"