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 @kuperka/chainguard-sdk (npm)

0
Critical
Published: 08/10/2026 (08/10/2026, 12:24:28 UTC)
Source: GCVE Database
Product: @kuperka/chainguard-sdk

Description

The npm package @kuperka/chainguard-sdk versions 1.0.1 and 1.0.2 contains malicious code that exfiltrates sensitive user data. Upon loading, it collects cookies, localStorage/sessionStorage data, form inputs, CSRF/auth tokens, and Web3 wallet identifiers, encoding and sending them to a hardcoded external endpoint. It also scans the page content for credential patterns such as Stripe keys, AWS keys, GitHub tokens, JWTs, and OpenAI keys. Additionally, it captures keystrokes with context and intercepts fetch requests to steal authorization headers and request bodies. The malicious code then displays a fake security overlay to conceal its activity. The package impersonates a legitimate security tool by using the 'chainguard' name and branding.

Affected software

npmghsa
@kuperka/chainguard-sdk
Affected versions
=1.0.1=1.0.2

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: 08/10/2026, 15:42:42 UTC

Technical Analysis

The @kuperka/chainguard-sdk npm package versions 1.0.1 and 1.0.2 include a payload that, when executed, harvests a wide range of sensitive data from the browser environment, including cookies, storage data, form inputs, CSRF/auth tokens, and Web3 wallet identifiers. It encodes this data and exfiltrates it via GET and POST requests to a hardcoded webhook URL. The code also scans the entire HTML document for credential-like strings such as Stripe live keys, AWS access keys, GitHub personal access tokens, JWTs, and OpenAI keys, including these in the exfiltrated data. A keylogger captures keystrokes from input fields along with contextual information and sends this data periodically to the same endpoint. Furthermore, the code monkey-patches the fetch API to capture outbound request details, including URLs, methods, authorization headers, and partial request bodies, forwarding these to the attacker. To hide its malicious behavior, it overlays a full-screen branded interface simulating a security tool with a fake risk score. The package name and branding are designed to impersonate a legitimate security product, increasing the likelihood of user trust and installation.

Potential Impact

This malicious package compromises user privacy and security by stealing a broad range of sensitive information, including authentication tokens, credentials, Web3 wallet identifiers, and keystrokes. The exfiltration of such data can lead to account takeover, financial theft, unauthorized access to cloud services, and further compromise of user systems or applications relying on these credentials. The stealthy overlay conceals the data theft from users, increasing the risk of prolonged undetected compromise.

Defensive Guidance

No official patch or remediation is currently documented for this malicious package. Users and organizations should immediately remove @kuperka/chainguard-sdk versions 1.0.1 and 1.0.2 from their projects and dependency trees. Avoid installing or updating to these versions. Conduct audits of environments where this package was used to identify potential data exposure and rotate any potentially compromised credentials, tokens, and keys. Monitor for suspicious activity related to affected accounts and services. Use trusted sources 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-13688
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a79f0c4bf8831d539f5dc92

Added to database: 08/10/2026, 15:39:48 UTC

Last enriched: 08/10/2026, 15:42:42 UTC

Last updated: 08/10/2026, 15:44:28 UTC

Views: 2

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