Skip to main content

Malicious code in amplitude-session-replay (npm)

0
Critical
Published: 08/28/2026 (08/28/2026, 23:12:29 UTC)
Source: GCVE Database
Product: amplitude-session-replay

Description

The npm package amplitude-session-replay version 45.0.0 contains malicious code delivered via a self-referential dependency pointing to an external URL. This design allows arbitrary code execution during installation, as the package fetches and runs code from a third-party server without integrity verification. Installing this package can fully compromise the host system, risking exposure of all stored secrets and keys.

Affected software

npmghsa
amplitude-session-replay
Affected versions
=45.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/09/2026, 20:24:06 UTC

Technical Analysis

The amplitude-session-replay npm package version 45.0.0 declares a dependency on itself using a plain HTTPS URL (https://repo.securityctrl.com/amplitude-session-replay) instead of a versioned registry entry. During npm install, this causes npm to fetch and execute code from the external URL, bypassing normal registry vetting and integrity checks. The published tarball is an inert stub, making the manifest the actual delivery mechanism for malicious code. Control of the external host equates to control over code executed on the installer's machine. This dependency-confusion style attack enables arbitrary code execution at install time, fully compromising affected systems.

Potential Impact

Any system that installs or runs amplitude-session-replay version 45.0.0 is considered fully compromised. Attackers may gain complete control over the host, potentially accessing all stored secrets and keys. Removal of the package does not guarantee elimination of all malicious artifacts, as the attacker may have established persistent access or installed additional malware.

Mitigation Recommendations

No official patch or fix is currently documented. Users should immediately remove the amplitude-session-replay package version 45.0.0 from their systems. All secrets and keys stored on compromised machines should be rotated from a separate, trusted device. Due to the severity of the compromise, affected systems should be thoroughly audited and potentially rebuilt to ensure removal of all malicious components.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-15497
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a92f7e3acd9273b49e75d1c

Added to database: 08/29/2026, 15:16:51 UTC

Last enriched: 09/09/2026, 20:24:06 UTC

Last updated: 10/01/2026, 22:27:33 UTC

Views: 24

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses