MAL-2026-18275

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ppa-web-components/ppa-hotel-collection/MAL-2026-18275.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18275
Published
2026-10-25T14:38:09Z
Modified
2026-10-25T14:45:04Z
Summary
Malicious code in @ppa-web-components/ppa-hotel-collection (npm)
Details

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

Source: amazon-inspector (e442008a433c1edbe8fb25f9b47dd3123f5664672c3901167fc9d3add8a6bd6e)

@ppa-web-components/ppa-hotel-collection@1.1.0 is a stub package whose only functional code is a callback beacon. The package.json declares scripts.postinstall: "node beacon.cjs", and the same beacon.cjs is also triggered via the main entry on require(). beacon.cjs collects os.hostname(), __dirname, process.cwd(), and process.version/npm version and POSTs them to the hardcoded bare-IP URL http://185.158.107.175:8787/_ah/dc over cleartext HTTP. The destination is unrelated to any legitimate publisher infrastructure for the @ppa-web-components scope. The package's only export is a no-op Proxy, and the description self-labels as "Compatibility shim." with internal comments noting that a build which "completes and calls back is cleaner evidence" — consistent with a dependency-confusion probe targeting an internal @ppa-web-components namespace. Installing or requiring the package automatically exfiltrates host and path identifiers to attacker-controlled infrastructure, marking the installer's build system as reachable for follow-on targeting.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-021655",
            "import_time":  "2026-10-25T14:39:51.8299629Z",
            "modified_time":  "2026-10-25T14:38:47Z",
            "sha256":  "79c01e5cd9accbd2f679b11f151a03bfb2793a50490ae9a97f8ebfd6515e5eb6",
            "source":  "amazon-inspector",
            "versions":  [
                "99.0.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-021651",
            "import_time":  "2026-10-25T14:39:51.70446155Z",
            "modified_time":  "2026-10-25T14:38:19Z",
            "sha256":  "e442008a433c1edbe8fb25f9b47dd3123f5664672c3901167fc9d3add8a6bd6e",
            "source":  "amazon-inspector",
            "versions":  [
                "1.1.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-021652",
            "import_time":  "2026-10-25T14:39:51.738789555Z",
            "modified_time":  "2026-10-25T14:38:26Z",
            "sha256":  "90e1177495a62104fc3642faacfc70682252b925c35632673e6357b844748791",
            "source":  "amazon-inspector",
            "versions":  [
                "3.0.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-021653",
            "import_time":  "2026-10-25T14:39:51.769471747Z",
            "modified_time":  "2026-10-25T14:38:33Z",
            "sha256":  "a086f064036e6d43268ce3396ae6068a3ac9e2f2fa7f1636f64039b88864ba98",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-021650",
            "import_time":  "2026-10-25T14:39:51.675236309Z",
            "modified_time":  "2026-10-25T14:38:09Z",
            "sha256":  "d5157f4c405a682213856c9849e643365295e3b95a7a2288dbc3b512960eb247",
            "source":  "amazon-inspector",
            "versions":  [
                "2.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @ppa-web-components/ppa-hotel-collection

Package

Name
@ppa-web-components/ppa-hotel-collection
View open source insights on deps.dev
Purl
pkg:npm/%40ppa-web-components/ppa-hotel-collection

Affected ranges

Affected versions

1.*
1.0.0
1.1.0
2.*
2.0.1
3.*
3.0.0
99.*
99.0.1

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"
    },
    {
        "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":  "beacon.cjs",
            "sha256":  "9edb87cd0f581c21b987585076020ecf1e71403753a4f11677bb12c998f545c5",
            "tlsh":  "cf3161efa8e0a0089aeb7098c54f1409b27bf0079501ab50fd5c82959f7257c33fa8dc"
        },
        {
            "path":  "index.js",
            "sha256":  "a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d",
            "tlsh":  "2201d0d7225661b10b5221a4978f43c4a3b99d74027941d0d84a9226365108c463b8ee"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "ppa-hotel-collection-99.0.1.tgz",
            "hashes":  {
                "sha1":  "6be40f1c95f495077960f6ac7f855966bc357bc9",
                "sha512_sri":  "sha512-COnxX8pl9VV0xKuqz6+Ch5UBPbf4YleWm8uwjURwK/fFrDTJe1QHpOxDbybDJil/ReshKEoatxJVJ0tg1l7FGg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ppa-web-components/ppa-hotel-collection/MAL-2026-18275.json"