Skip to main content

Malicious code in cscasereadserv-paypal (npm)

0
High
Published: 08/25/2026 (08/25/2026, 06:36:31 UTC)
Source: GCVE Database
Product: cscasereadserv-paypal

Description

The npm package cscasereadserv-paypal version 3.4.3 contains malicious code in its preinstall script. This script automatically runs during npm install and collects sensitive information including the installer's OS username, hostname, current working directory, and metadata from the surrounding project's package.json file. The collected data is hex-encoded and exfiltrated via DNS queries to attacker-controlled domains. This behavior exposes potentially private project details to a third party without user consent.

Affected software

npmghsa
cscasereadserv-paypal
Affected versions
=3.4.3

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/10/2026, 18:46:03 UTC

Technical Analysis

The cscasereadserv-paypal npm package version 3.4.3 executes a preinstall script that collects the installer's OS username, hostname, current working directory, and the name, author, and version of the surrounding project's package.json by traversing parent directories. This information is encoded and exfiltrated in chunks through DNS lookups to attacker-controlled subdomains under jgl.red. The exfiltration uses a fallback DNS query on error. A source comment suggests the code may have been intended for dependency-confusion or bug bounty reconnaissance, but it effectively leaks identifying and project metadata to an external party.

Potential Impact

This malicious behavior compromises user privacy and project confidentiality by leaking sensitive environment and project metadata to an attacker-controlled domain. It may expose private project details and user information, potentially aiding further attacks or reconnaissance. There is no indication of direct code execution or system compromise beyond data exfiltration. No known exploits in the wild have been reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix or official guidance is available, users should avoid installing or using version 3.4.3 of cscasereadserv-paypal. Consider auditing dependencies for malicious scripts and use trusted package sources. Monitor for updates from the package maintainer or security advisories regarding this issue.

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-14472
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a8d9ae8acd9273b493e17bf

Added to database: 08/25/2026, 13:38:48 UTC

Last enriched: 09/10/2026, 18:46:03 UTC

Last updated: 10/02/2026, 14:22:15 UTC

Views: 22

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