MAL-2026-15548

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/2fasecretkey/MAL-2026-15548.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15548
Published
2026-08-29T01:55:51Z
Modified
2026-08-29T02:30:11.879422868Z
Summary
Malicious code in 2fasecretkey (npm)
Details

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

Source: amazon-inspector (776f74322ea1fc554c37d759c1a038d8647779b1e2b3ce51e3fd4c865118e094)

On npm install, the package's postinstall script performs an HTTP GET to http://185.14.92.233:7777/p.js, writes the response to a temp file, and launches it through a detached wscript.exe invocation of a VBS stager that runs the installer's Node executable against the downloaded payload with the window hidden (WScript.Shell.Run flag 0, detached, stdio ignored). The fetch uses plain HTTP against a hardcoded bare IP with no version pinning, hash check, or signature verification, and the executed code is not shipped in the tarball. The package's advertised purpose is a TOTP helper, which has no functional need to fetch or execute remote code at install time. The hidden-window VBS launcher conceals execution from the installing user.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-019126",
            "source": "amazon-inspector",
            "import_time": "2026-08-29T02:22:19.589583976Z",
            "modified_time": "2026-08-29T01:56:06Z",
            "sha256": "268483d850acafa895551342533e35ff8aa2f37a4c3bbd7b9403c05d0fe29406",
            "versions": [
                "1.1.4"
            ]
        },
        {
            "id": "IN-MAL-2026-019125",
            "modified_time": "2026-08-29T01:55:58Z",
            "import_time": "2026-08-29T02:22:19.478852679Z",
            "source": "amazon-inspector",
            "sha256": "5fbd991a433280c543872057a7c0c3517a339c5076a31cb3b02ba828d23765cb",
            "versions": [
                "1.1.3"
            ]
        },
        {
            "id": "IN-MAL-2026-019124",
            "source": "amazon-inspector",
            "import_time": "2026-08-29T02:22:19.387013733Z",
            "modified_time": "2026-08-29T01:55:51Z",
            "sha256": "776f74322ea1fc554c37d759c1a038d8647779b1e2b3ce51e3fd4c865118e094",
            "versions": [
                "1.1.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / 2fasecretkey

Package

Affected ranges

Affected versions

1.*
1.1.2
1.1.3
1.1.4

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "2fasecretkey-1.1.4.tgz",
            "hashes": {
                "sha512_sri": "sha512-RPOQP9NZ/N50ke32VdRjiFYCvmnHTk3bRO1GFbeu6D1fGFaN8XXTlXy3YDLkfgm44nk6b/r9tr2yRtBjtY924g==",
                "sha1": "b2e456392a1937d06853fe3ed94422ab75d5dc00"
            }
        }
    ],
    "evidence_files": [
        {
            "path": "package.json",
            "tlsh": "0011ef6cbe78ab2751d4a2f1e61f4103b223cd030180694c935705cd9bed297993fd6c",
            "sha256": "721fd1fcc494e706c009beb2006fd2a2d557861c457aa9a79939ccdceb56c786"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/2fasecretkey/MAL-2026-15548.json"