MAL-2026-11105

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/xo-twofa/MAL-2026-11105.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11105
Aliases
  • GHSA-7v73-c7c7-mr5x
Published
2026-07-27T16:15:19Z
Modified
2026-08-05T06:36:43Z
Summary
Malicious code in xo-twofa (npm)
Details

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

Source: amazon-inspector (47761909a1686ad1db2239f5055c8526e38ac88c07060c886157d157d15b4315)

package.json declares a preinstall script that runs node index.js on npm install. index.js collects host identifiers (os.hostname(), os.platform(), os.arch(), os.homedir(), dns.getServers()) and POSTs them as JSON to the hardcoded host f4k2mnpoengdb7o3etftn7fmkdq5ew5ku.oastify.com (a Burp Collaborator out-of-band interaction endpoint). The beacon fires automatically on install without user interaction and self-describes as a dependency-confusion proof of concept.

Source: ghsa-malware (3b53f3137f847d7234a065286565e0112a828bb14dd580d6ea46a9c262397294)

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": "GHSA-7v73-c7c7-mr5x",
            "import_time": "2026-07-28T02:02:02.995153Z",
            "modified_time": "2026-07-27T16:15:19Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "3b53f3137f847d7234a065286565e0112a828bb14dd580d6ea46a9c262397294",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-011237",
            "import_time": "2026-08-04T22:30:06.582776567Z",
            "modified_time": "2026-08-04T21:52:06Z",
            "sha256": "47761909a1686ad1db2239f5055c8526e38ac88c07060c886157d157d15b4315",
            "source": "amazon-inspector",
            "versions": [
                "28.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-013214",
            "import_time": "2026-08-05T06:00:54.726545034Z",
            "modified_time": "2026-08-05T05:50:36Z",
            "sha256": "5cc4caf28f0fa947e59661982bb2c1a52f8f935d1740093c9264d33ab0c93d0d",
            "source": "amazon-inspector",
            "versions": [
                "15.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / xo-twofa

Package

Affected ranges

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

Affected versions

15.*
15.0.0
28.*
28.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"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "eca4600829b95ce919d9dc2080281b7ffc732030adf4cbc8dbe15aebe96ee782",
            "tlsh": "b4f081d4e6b96a6107b699d0b0a2550a6323d662740fb4d45fc8026607cddf841b16f8"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/xo-twofa/MAL-2026-11105.json"