MAL-2026-17873

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@newspage/libx-amount/MAL-2026-17873.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17873
Published
2026-10-13T00:00:00Z
Modified
2026-10-16T07:15:08Z
Summary
Malicious code in @newspage/libx-amount (npm)
Details

npm user 'priyashareek' published this package in a dependency confusion campaign against the internal scopes @accenturecodefoundry and @newspage. The publisher used 99.99.x versions to outrank the internal packages. 0.0.0-stage and 99.99.1 are empty placeholders. In versions 99.99.4 and 99.99.41, index.js sends an HTTPS GET to attacker-controlled host accenture-npm.azurewebsites.net (/async, /libx). The same publisher's @accenturecodefoundry/mfe-pot-shared-ui-scds-core calls back to that host. The 'preinstall' script in these versions is empty; the publisher put 'node index.js || true' in the 'main' field instead, likely by mistake. Node.js can't resolve that 'main' target and falls back to index.js, so the beacon fires when code requires or imports the package, not during install.


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

Source: amazon-inspector (55998039814c91bc8b3b9af13b857848fd77dedaaedf99a783d64573fc47c15a)

The package is a placeholder whose index.js, on require/import, issues an HTTPS GET to the hardcoded host accenture-npm.azurewebsites.net at path /libx. The scoped name @newspage/libx-amount, the implausibly high 99.99.41 version, the A simple placeholder for npm. description, and the anonymous author together form the canonical dependency-confusion shape intended to shadow an internal @newspage-scoped package during resolution. The beacon's purpose is to confirm successful resolution of the squatted name inside a target organization, disclosing the installer's source IP and the fact that the internal namespace resolved to this external artifact. The package provides no other functionality.

Database specific
{
    "iocs": {
        "domains": [
            "accenture-npm.azurewebsites.net"
        ],
        "files": [
            {
                "digests": {
                    "sha256": "b353e473eee3b51f2e4ccbdbf4d4c544f104b9b12cd1170a7cbe730719a3880f"
                },
                "note": "99.99.4: beacon to /async.",
                "paths": [
                    "index.js"
                ],
                "source": "PACKAGE_ARCHIVE"
            },
            {
                "digests": {
                    "sha256": "2c65905b27cbda9b19a2595546d93700f01a916a212f62fed4e637e5f0b98f9d"
                },
                "note": "99.99.41: beacon to /libx.",
                "paths": [
                    "index.js"
                ],
                "source": "PACKAGE_ARCHIVE"
            }
        ],
        "urls": [
            "https://accenture-npm.azurewebsites.net/async",
            "https://accenture-npm.azurewebsites.net/libx"
        ]
    },
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-021498",
            "import_time": "2026-10-16T06:57:52.367391648Z",
            "modified_time": "2026-10-16T06:57:18Z",
            "sha256": "55998039814c91bc8b3b9af13b857848fd77dedaaedf99a783d64573fc47c15a",
            "source": "amazon-inspector",
            "versions": [
                "99.99.41"
            ]
        },
        {
            "id": "IN-MAL-2026-021499",
            "import_time": "2026-10-16T06:57:52.426635736Z",
            "modified_time": "2026-10-16T06:57:25Z",
            "sha256": "8b35057faee3bcd7f2dd81259174d74735b67dcd5ca9beff6e0a6579ec998612",
            "source": "amazon-inspector",
            "versions": [
                "99.99.4"
            ]
        },
        {
            "id": "IN-MAL-2026-021496",
            "import_time": "2026-10-16T06:57:52.212692555Z",
            "modified_time": "2026-10-16T06:56:59Z",
            "sha256": "8ddc74f27a6ad03e75bd0e3302b08aea90a3d05c479e249ecf1d8094312134a0",
            "source": "amazon-inspector",
            "versions": [
                "99.99.42"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @newspage/libx-amount

Package

Name
@newspage/libx-amount
View open source insights on deps.dev
Purl
pkg:npm/%40newspage/libx-amount

Affected ranges

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

Affected versions

99.*
99.99.4
99.99.41
99.99.42

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "2c65905b27cbda9b19a2595546d93700f01a916a212f62fed4e637e5f0b98f9d",
            "tlsh": "32c080f9176b9154452056d0c019fb2de52bc1253c4cb0c209490f618bc126109425d1"
        },
        {
            "path": "package.json",
            "sha256": "d38ef9e24a63feb48abd61bd2cf8a6d89236b2b87a845c89b8d72084836f3ee2",
            "tlsh": "9fd02e38ac209ab329e442a81d22841ab1344e0b0008bc4867d7851c67ee27388bf24e"
        }
    ],
    "package_integrity": [
        {
            "filename": "libx-amount-99.99.41.tgz",
            "hashes": {
                "sha1": "5ea7f89d40f3622b1a61bdef74194b882e03b4b2",
                "sha512_sri": "sha512-QVORp3KLnWF5hSI5Zur38KBNwWOWAhR2NrkGRdBb2c1U9gCnY02gCm0q4w/7x5X9UG2npqQKWN3VJUPf/tX5LQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@newspage/libx-amount/MAL-2026-17873.json"