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…

MAL-2026-10171: Malicious code in paysafe-node (npm)

0
Critical
Published: 07/10/2026 (07/10/2026, 18:37:58 UTC)
Source: GCVE Database
Product: paysafe-node

Description

The npm package paysafe-node version 1.0.0 contains malicious code that acts as a credential stealer. It masquerades as a legitimate Paysafe REST API client but runs an obfuscated exfiltration routine when SDK methods are called. This routine collects environment variables containing sensitive keywords and sends them along with system information to a remote host without user consent. The malware includes evasion techniques to avoid detection in sandbox or virtualized environments. There is no disclosed fix or opt-out for this behavior.

Affected software

npmghsa
paysafe-node
Affected versions
=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/11/2026, 09:54:12 UTC

Technical Analysis

The paysafe-node package (version 1.0.0) is a malicious npm package impersonating a legitimate Paysafe SDK. Its main entry point contains XOR-obfuscated code that, upon invocation of any advertised SDK method, triggers a delayed callback to exfiltrate sensitive environment variables (those containing 'key', 'secret', 'token', 'pass', 'auth', or 'api') truncated to 100 characters. It also collects machine hostname, OS username, current working directory, timestamp, package identifier, and part of the caller-supplied Paysafe apiKey, sending all this data via POST to a hardcoded remote server on TCP port 8443. The exfiltration destination and network details are obfuscated using XOR and character transformations. The payload includes sandbox and VM evasion by checking CPU count and matching hostname/username against obfuscated tokens. No configuration or disclosure is provided to users, indicating an active attack rather than a vulnerability or misconfiguration.

Potential Impact

Sensitive credentials and environment information are exfiltrated to an attacker-controlled server without user knowledge or consent. This can lead to compromise of API keys, secrets, tokens, and potentially broader system access or data breaches. The malicious code targets developer and CI environments by evading sandbox and VM detection, increasing the risk of credential theft in real development workflows.

Mitigation Recommendations

No official patch or remediation is available for this malicious package. Users should immediately remove paysafe-node version 1.0.0 from their projects and replace it with a verified legitimate SDK from trusted sources. Audit environments for any signs of credential exfiltration and rotate any potentially exposed secrets. Avoid using untrusted or impersonating packages from public repositories.

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-10171
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a520ebf68715ace438f599d

Added to database: 07/11/2026, 09:37:03 UTC

Last enriched: 07/11/2026, 09:54:12 UTC

Last updated: 07/12/2026, 04:11:13 UTC

Views: 5

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