MAL-2026-10203: Malicious code in giantswarm (npm)
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.
AI Analysis
Technical Summary
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.
MAL-2026-10203: Malicious code in giantswarm (npm)
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.