MAL-2026-6366

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/backpack-ios/MAL-2026-6366.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6366
Published
2026-06-24T03:36:34Z
Modified
2026-06-24T05:01:22.443738738Z
Summary
Malicious code in backpack-ios (npm)
Details

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

Source: amazon-inspector (25f0d7ea98cef4ddcac8af3b854c37c1a8a3246a13357af60cb36589454657b5)

package.json declares "preinstall": "node index.js", causing index.js to execute automatically on npm install. The script collects host identifiers (os.hostname, os.userInfo, homedir, DNS servers, cwd, full package.json) and reads /etc/passwd and /etc/hosts via fs.readFileSync, then HTTPS POSTs the JSON payload to xopalguac3nk3bb10x9r4t6q7hdd13ps.oastify.com — a Burp Collaborator (OAST) subdomain used for out-of-band data exfiltration. The package name mirrors Skyscanner's Backpack iOS design-system package while shipping a ~2KB exfil-only payload with empty author/description fields, consistent with a dependency-confusion / typosquat lure. Installing this package directly leaks installer host identity and local user account data to an attacker-controlled endpoint.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-06-24T04:54:33.649353188Z",
            "modified_time": "2026-06-24T03:36:34Z",
            "sha256": "25f0d7ea98cef4ddcac8af3b854c37c1a8a3246a13357af60cb36589454657b5",
            "versions": [
                "1.0.0"
            ],
            "id": "IN-MAL-2026-007413",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / backpack-ios

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

indicators
{
    "evidence_files": [
        {
            "tlsh": "5841139562da17330dd210c06a0c70c03359f9777159a99076cf42d69f869f8b7316f3",
            "sha256": "d1174de22a515e493d27d434474050fae71a818cd602901d5d27e1c1992c376a",
            "path": "index.js"
        },
        {
            "tlsh": "bed0a7744e21653365c146a64c2ba49772618f2f14047c48a7db182c81ce677acff31d",
            "sha256": "3ba677c5218c63347e32b17a2b5a7565d938458b64a26a7bb76fd3f9bcce7206",
            "path": "package.json"
        }
    ],
    "package_integrity": [
        {
            "filename": "backpack-ios-1.0.0.tgz",
            "hashes": {
                "sha1": "f9b4dc07ac098e36764c7724fb33e7481cc5d1d4",
                "sha512_sri": "sha512-3JzdU1t2XxtpszWxG65kXOYq9m1IIGDwdGokvRMUc/1v556/SLnrHzahoKsND4POCrsR0kUd1vNuIbWaQJDBDQ=="
            }
        }
    ]
}
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/backpack-ios/MAL-2026-6366.json"