MAL-2026-15497

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/amplitude-session-replay/MAL-2026-15497.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15497
Aliases
  • GHSA-jvwx-f8cc-jjj8
Published
2026-08-28T23:12:29Z
Modified
2026-08-29T18:45:16.015802624Z
Summary
Malicious code in amplitude-session-replay (npm)
Details

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

Source: amazon-inspector (fb71ca2dc9e74e42a64b1533ecb98ea1cad26e283b0c3d3ba0f4e7c760fac713)

package.json declares a dependency whose key is the package's own name (amplitude-session-replay) and whose value is a plain HTTPS URL, https://repo.securityctrl.com/amplitude-session-replay, instead of a registry version range. On npm install, npm fetches the tarball bytes returned by that URL and installs whatever it contains, including running any lifecycle scripts inside — with no version pin, no integrity hash, and no registry vetting. The shipped source in the published tarball is an inert stub, so the manifest itself is the delivery mechanism: whoever controls repo.securityctrl.com controls code executed on the installer's machine at install time. The self-referential dependency name (dependency-confusion shape) also encourages resolvers to prefer this entry over any legitimately-named amplitude-session-replay package. The host is unrelated to Amplitude's own domains.

Source: ghsa-malware (45e75fc14fb647bfdf2d3b2a2bffa4d843f51e4a4970cadcde65c1daca37d7c1)

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": "IN-MAL-2026-019075",
            "modified_time": "2026-08-28T23:12:29Z",
            "import_time": "2026-08-28T23:14:36.45420545Z",
            "source": "amazon-inspector",
            "sha256": "fb71ca2dc9e74e42a64b1533ecb98ea1cad26e283b0c3d3ba0f4e7c760fac713",
            "versions": [
                "45.0.0"
            ]
        },
        {
            "id": "GHSA-jvwx-f8cc-jjj8",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "import_time": "2026-08-29T18:26:29.972298594Z",
            "modified_time": "2026-08-29T18:13:37Z",
            "sha256": "45e75fc14fb647bfdf2d3b2a2bffa4d843f51e4a4970cadcde65c1daca37d7c1"
        }
    ]
}
References
Credits

Affected packages

npm / amplitude-session-replay

Package

Name
amplitude-session-replay
View open source insights on deps.dev
Purl
pkg:npm/amplitude-session-replay

Affected ranges

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

Affected versions

45.*
45.0.0

Database specific

cwes
[
    {
        "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"
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "amplitude-session-replay-45.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-YGS2xu6zQAJWFofsFLnqV/hgrMJPp9yziYWYmNMtnQ84oauXpiyZA+Lgi6BSGUtzp3YV4jNO3qQ4B1Ak5Yv6jg==",
                "sha1": "f80416f3d10d860286689a52a2846586fbcbc473"
            }
        }
    ],
    "evidence_files": [
        {
            "path": "package.json",
            "tlsh": "b3e02654692627731adb405e5c3e681373324f9f10043d0662d76919620c9f368fd34c",
            "sha256": "fc16bf3b904213695d736fea5b0d51186b1ccf002b7a87f3e1a3cc23a161ffc4"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/amplitude-session-replay/MAL-2026-15497.json"