Skip to main content

Malicious code in @testrelic/appium-analytics (npm)

0
Critical
Published: 08/31/2026 (08/31/2026, 18:36:40 UTC)
Source: GCVE Database
Product: @testrelic/appium-analytics

Description

The npm package @testrelic/appium-analytics version 1.1.1-next.88 contains malicious code that executes automatically during installation. It uses obfuscated code to reconstruct and invoke the Function constructor, enabling execution of a hidden payload with access to Node.js module and filesystem APIs. The package also performs network calls and includes install-time dropper behavior. Any system with this package installed should be considered fully compromised, and all secrets on that system should be rotated immediately.

Affected software

npmghsa
@testrelic/appium-analytics
Affected versions
=1.1.1-next.88

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/07/2026, 15:54:13 UTC

Technical Analysis

The @testrelic/appium-analytics npm package version 1.1.1-next.88 includes a postinstall hook script (scripts/postinstall.cjs) that uses a custom obfuscation technique to reconstruct the 'constructor' string and obtain the Function constructor. This allows execution of a decoded payload at install time, which has access to Node.js internals such as require, module, __dirname, and __filename via obfuscated global variables. The package's distribution bundle imports child_process and performs POST/GET network calls from multiple files, indicating malicious behavior beyond legitimate analytics functions. This install-time execution and scope-escape technique is characteristic of malware droppers. The package compromises any system where it is installed.

Potential Impact

Systems that have installed this package version are fully compromised. The malicious payload runs automatically during installation, potentially allowing arbitrary code execution with access to filesystem and network. Secrets and keys stored on the compromised system may be exposed and should be rotated immediately. Removing the package does not guarantee removal of all malicious artifacts or backdoors introduced by the payload.

Defensive Guidance

Remove the @testrelic/appium-analytics package version 1.1.1-next.88 from affected systems immediately. Rotate all secrets and keys stored on compromised machines from a separate, trusted environment. Due to the nature of the compromise, consider full system reimaging or forensic analysis to ensure complete removal of malicious code. Monitor for any suspicious activity related to this package installation.

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-15647
Osv Schema Version
1.7.4
Aliases
["GHSA-6cpr-jwvc-jhg7"]
Ecosystems
["npm"]

Threat ID: 6a9ad4f4acd9273b49b679ab

Added to database: 09/04/2026, 14:25:56 UTC

Last enriched: 09/07/2026, 15:54:13 UTC

Last updated: 10/04/2026, 07:45:51 UTC

Views: 41

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