MAL-2026-10079

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/vybscan-testbed-obfuscated-postinstall/MAL-2026-10079.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10079
Aliases
  • GHSA-43r2-4jr2-rhjf
Published
2026-07-09T15:45:29Z
Modified
2026-07-20T01:04:41.405725263Z
Summary
Malicious code in vybscan-testbed-obfuscated-postinstall (npm)
Details

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

Source: amazon-inspector (cf9aee5b150e0606b1c5c2469fdab43496965a3dd5664df288d68d618e326567)

package.json declares a postinstall lifecycle script that runs node -e "eval(Buffer.from('<base64>','base64').toString())". Installing the package triggers execution of code that is not visible in the package source and is only materialized at install time by decoding an opaque literal. In this specific version the decoded blob is an inert console.log, but the mechanism — obfuscated-then-eval'd bytes wired into a lifecycle hook — is the canonical install-time remote-code-execution shape and has no legitimate use: it lets whoever controls the package substitute arbitrary code at install without changing readable source. The package's self-description as a testbed fixture does not neutralize the pattern; the same install-time hook would execute whatever bytes were placed in the base64 literal.

Source: ghsa-malware (cdace5e17981a8d6b102800b1bed41b0fddb5ebdbfa66e3751a07f3282ac9586)

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": [
        {
            "id": "IN-MAL-2026-009218",
            "modified_time": "2026-07-09T15:45:29Z",
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-07-09T16:20:52.075618965Z",
            "sha256": "cf9aee5b150e0606b1c5c2469fdab43496965a3dd5664df288d68d618e326567"
        },
        {
            "import_time": "2026-07-20T00:57:10.75674292Z",
            "modified_time": "2026-07-20T00:07:49Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "source": "ghsa-malware",
            "id": "GHSA-43r2-4jr2-rhjf",
            "sha256": "cdace5e17981a8d6b102800b1bed41b0fddb5ebdbfa66e3751a07f3282ac9586"
        }
    ]
}
References
Credits

Affected packages

npm / vybscan-testbed-obfuscated-postinstall

Package

Name
vybscan-testbed-obfuscated-postinstall
View open source insights on deps.dev
Purl
pkg:npm/vybscan-testbed-obfuscated-postinstall

Affected ranges

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

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "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"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/vybscan-testbed-obfuscated-postinstall/MAL-2026-10079.json"
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "f1482e28e0af711e163cb6460130d00776dc8278cfc5f834c7c446e3c95584ee",
            "tlsh": "0c216350840687371ec20dac9709a2ca8628e91f63849ed4d59f405e834ed1f23bfaca"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha1": "629d69baaed842267da106391d575ff9d9b6b35c",
                "sha512_sri": "sha512-Of1fGg5e57RkE/xeBA0mkuI0puH/hYus80pMUjbhl0GmB9UnuPtXEUFSeIfOyfg/mpWZLmekUu5F24a0gH/nnw=="
            },
            "filename": "vybscan-testbed-obfuscated-postinstall-1.0.0.tgz"
        }
    ]
}