Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in testzapier (npm)

0
Critical
Published: 06/11/2026 (06/11/2026, 04:37:03 UTC)
Source: GCVE Database
Product: testzapier

Description

The npm package 'testzapier' versions 1.0.0 and 1.0.1 contains malicious code that executes automatically during installation. This code sends sensitive host information, including usernames, hostnames, and contents of critical system files such as /etc/passwd, /etc/hosts, and /etc/shadow (if accessible), to an attacker-controlled server. Installation of this package results in unconditional leakage of sensitive data and likely full system compromise.

Affected software

npmghsa
testzapier
Affected versions
=1.0.1=1.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: 07/15/2026, 12:54:00 UTC

Technical Analysis

The 'testzapier' npm package (versions 1.0.0 and 1.0.1) includes a preinstall hook that runs 'node index.js' during 'npm install'. This script spawns a shell that performs an HTTP POST request to a malicious external server, embedding the installer's username and hostname in the URL path. The User-Agent header contains a base64-encoded payload with the contents of sensitive files such as /etc/passwd, /etc/hosts, /etc/shadow (if readable), and the output of the 'id' command. This behavior leaks critical system information to an attacker-controlled domain unrelated to the package's intended functionality. The compromise is severe, as any system installing this package is considered fully compromised, with potential exposure of secrets and keys.

Potential Impact

Installation of the 'testzapier' package results in immediate and unconditional leakage of sensitive system information to an attacker-controlled server. This includes user and host identity and contents of critical system files, potentially including password hashes if accessible. The compromise may allow attackers to gain full control over the affected system. Secrets and keys stored on the compromised machine should be considered exposed and rotated immediately. Removal of the package does not guarantee elimination of all malicious artifacts or backdoors.

Mitigation Recommendations

No official patch or fix is available for this malicious package. The package should be removed immediately from any affected systems. All secrets, credentials, and keys stored on compromised machines must be rotated from a secure, unaffected environment. Consider the affected systems fully compromised and perform a thorough incident response and forensic analysis. Avoid installing untrusted or suspicious npm packages and verify package authenticity before 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-5575
Osv Schema Version
1.7.4
Aliases
["GHSA-5ppv-rxq4-cf57"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a577eea68715ace43b4128d

Added to database: 07/15/2026, 12:36:58 UTC

Last enriched: 07/15/2026, 12:54:00 UTC

Last updated: 07/31/2026, 14:45:59 UTC

Views: 10

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