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-10203: Malicious code in giantswarm (npm)

0
High
Published: 07/12/2026 (07/12/2026, 20:47:05 UTC)
Source: GCVE Database
Product: giantswarm

Description

The npm package 'giantswarm' version 22.0.1 contains malicious code that executes a preinstall hook running 'node index.js' during installation. This script collects detailed host information including hostname, platform, architecture, user details, and current working directory, then sends this data to a hardcoded external server. The package impersonates the legitimate Giant Swarm vendor namespace, suggesting a dependency confusion attack. It contains no legitimate functionality and lacks author, description, and license metadata.

Affected software

npmghsa
giantswarm
Affected versions
=22.0.1

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/13/2026, 09:58:56 UTC

Technical Analysis

The 'giantswarm' npm package version 22.0.1 is a malicious package that abuses the npm preinstall lifecycle hook to execute a script that gathers host reconnaissance data such as hostname, platform, architecture, home directory, user identifiers, and shell environment. This information is exfiltrated via an HTTP POST request to a hardcoded Burp Collaborator domain. The package is designed to impersonate the official Giant Swarm vendor namespace, indicating a dependency confusion attack targeting private '@giantswarm/*' scoped packages. The package contains no functional code beyond this data exfiltration beacon and lacks standard package metadata fields.

Potential Impact

Installation of this package results in unauthorized collection and exfiltration of sensitive host environment information to an attacker-controlled server. This compromises host privacy and may facilitate further targeted attacks. There is no indication of code execution beyond the preinstall hook or persistence mechanisms. No known exploits in the wild have been reported.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing the unscoped 'giantswarm' package version 22.0.1 and verify package authenticity, especially when dealing with private '@giantswarm/*' namespaces. Employ strict package source verification and consider using package integrity checks or allowlists to prevent dependency confusion attacks. Monitor for updates from the legitimate Giant Swarm vendor 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-10203
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a54ae1068715ace438f8cf9

Added to database: 07/13/2026, 09:21:20 UTC

Last enriched: 07/13/2026, 09:58:56 UTC

Last updated: 07/13/2026, 09:58:56 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