MAL-2026-17431

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/apl-rive-renderer/MAL-2026-17431.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17431
Published
2026-09-30T07:11:22Z
Modified
2026-10-04T23:45:18Z
Summary
Malicious code in apl-rive-renderer (npm)
Details

apl-rive-renderer is a dependency-confusion package: it takes a name that looks like an internal project, uses an inflated version (100.0.0) so it outranks private-registry versions, and runs node setup.js || true as a preinstall script on npm install. setup.js sends the hostname, username, working directory, OS, architecture, Node.js version and configured npm registry, with a per-package tracking token, in an HTTPS POST to https://s85r5k14qk.execute-api.us-east-1.amazonaws.com/prod/hook. The npm account amel10 published apl-rive-renderer and 9 similar packages within two minutes on 2026-09-30, all with the same setup.js.


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

Source: amazon-inspector (4c4d9c8cb631b53115adaa25c423d274f537639c711fcff7dcca6e22fa067269)

apl-rive-renderer@100.0.0 declares a preinstall lifecycle script (setup.js) that fires automatically on npm install. The script collects installer host identifiers — os.hostname(), os.userInfo().username, process.cwd(), process.platform, process.arch, node version, and the configured npm registry — and POSTs them together with a static token to a hardcoded AWS API Gateway endpoint at https://s85r5k14qk.execute-api.us-east-1.amazonaws.com/prod/hook. The package presents itself as a trivial helper and has no documented functionality that would require phoning home with host reconnaissance. The name and version (100.0.0) are consistent with a dependency-confusion lure targeting an internal package name, and the beacon lets the operator identify which installer hosts (corporate build machines, developer workstations, CI runners) have resolved the public package instead of the intended internal one.

Database specific
{
    "iocs":  {
        "domains":  [
            "s85r5k14qk.execute-api.us-east-1.amazonaws.com"
        ],
        "files":  [
            {
                "digests":  {
                    "sha256":  "7feccf2e04bde74a6bd54837e477c5e61aa7811390a7c8da5f4edb37bbb67e93"
                },
                "note":  "preinstall: node setup.js || true",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "33cfa39e7bce830443bded8a853c99cd2d544faec778295c8fd9f9bdf65f47b4"
                },
                "note":  "Executed by the preinstall script.",
                "paths":  [
                    "setup.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ],
        "urls":  [
            "https://s85r5k14qk.execute-api.us-east-1.amazonaws.com/prod/hook"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-020900",
            "import_time":  "2026-10-04T23:40:39.897693223Z",
            "modified_time":  "2026-10-04T23:16:41Z",
            "sha256":  "4c4d9c8cb631b53115adaa25c423d274f537639c711fcff7dcca6e22fa067269",
            "source":  "amazon-inspector",
            "versions":  [
                "100.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / apl-rive-renderer

Package

Name
apl-rive-renderer
View open source insights on deps.dev
Purl
pkg:npm/apl-rive-renderer

Affected ranges

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

Affected versions

100.*
100.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":  "setup.js",
            "sha256":  "33cfa39e7bce830443bded8a853c99cd2d544faec778295c8fd9f9bdf65f47b4",
            "tlsh":  "aa01f4f495e0d5b53abc11c8f190a85b9377e124350775d0c8e851547f85af809728f2"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "apl-rive-renderer-100.0.0.tgz",
            "hashes":  {
                "sha1":  "9299f93a83be761f64aa33f7cb6aceac70ba28bf",
                "sha512_sri":  "sha512-jnX8BQcTIqY5aPwRN2xdxQRnV7JtQOp1fZehl1G177GNg2vFo9VjQOElzzZckXKHRTZ6qOC8muY26fGMeyDf/w=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/apl-rive-renderer/MAL-2026-17431.json"