MAL-2026-13989

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@secauditb20y/sec-test-r3b/MAL-2026-13989.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13989
Aliases
  • GHSA-h95w-3ffr-98m2
Published
2026-08-13T21:23:10Z
Modified
2026-11-04T23:30:04Z
Summary
Malicious code in @secauditb20y/sec-test-r3b (npm)
Details

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

Source: amazon-inspector (df7034b94531c8be5e9141c7a5cf73f552486c1b307672346a0e646e60207b7c)

package.json declares a postinstall script that runs node -e to invoke fs.writeFileSync, creating /tmp/PWN_R3REAL/FIRED on the installer's machine when the package is installed. The package's main module only exports the literal value 42 and ships no native build or legitimate reason for install-time execution; the postinstall exists solely to demonstrate arbitrary code execution on the installer host at npm install time. The behavior fires automatically on default install and writes to a path outside the package directory, matching the shape of a proof-of-execution beacon. The package name and description self-identify as an authorized security test, but self-labeling is not a mitigation and the code path is functionally identical to a dropper marker.

Source: ghsa-malware (d636be92349fd4525c7de61ec6a04af7840015c30fc8e098a00e4b0d0727ac3c)

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-017707",
            "import_time": "2026-08-13T21:50:19.940159105Z",
            "modified_time": "2026-08-13T21:23:10Z",
            "sha256": "df7034b94531c8be5e9141c7a5cf73f552486c1b307672346a0e646e60207b7c",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "GHSA-h95w-3ffr-98m2",
            "import_time": "2026-11-04T23:18:05.653952438Z",
            "modified_time": "2026-11-04T22:54:20Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "d636be92349fd4525c7de61ec6a04af7840015c30fc8e098a00e4b0d0727ac3c",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / @secauditb20y/sec-test-r3b

Package

Name
@secauditb20y/sec-test-r3b
View open source insights on deps.dev
Purl
pkg:npm/%40secauditb20y/sec-test-r3b

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown 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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "ab342eb7ca5411389931088dec31d592ac3b5319ccee93b8e50e4ff3bf7f95ad",
            "tlsh": "35e07d240e50533338c4467615b6d50a66a1cc2b0004740447c7206951cebb79bbbb0d"
        }
    ],
    "package_integrity": [
        {
            "filename": "sec-test-r3b-1.0.0.tgz",
            "hashes": {
                "sha1": "b61fbcce4a59bfae417b8280c35498ea3ff70ed6",
                "sha512_sri": "sha512-qGwpSVqg8lA8Xk6rNsjOSyMPjVn/jFe/6eQlKT0YuQHyIbTsymZn74SAjYqMDeVY8r2ztCjQOU7wS/R5XC6cYA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@secauditb20y/sec-test-r3b/MAL-2026-13989.json"