MAL-2026-6584: Malicious code in poly-kelly (npm)
The poly-kelly npm package version 3.5.3 contains malicious code that executes during installation. Its postinstall script fetches a JSON configuration from a remote URL, downloads and extracts a tarball containing JavaScript code, then executes that code without any integrity verification. The remote URL can be overridden and downgraded from HTTPS to HTTP, enabling man-in-the-middle injection of arbitrary code. The package metadata lacks typical author and repository information and uses the homepage field as a command-and-control configuration endpoint, indicating it is a disposable dropper designed for remote code execution at install time.
AI Analysis
Technical Summary
The poly-kelly npm package version 3.5.3 includes a postinstall script that reads a remote JSON configuration from a URL specified in the package.json homepage field. This configuration contains a tarball URL which the script downloads, extracts into a local directory, installs dependencies, and executes a JavaScript function. There is no verification of the downloaded code's integrity or authenticity. The URL can be overridden via environment variables and downgraded from HTTPS to HTTP, allowing an attacker with network access to inject arbitrary JavaScript code that will run on any machine installing this package. The package metadata is minimal and suspicious, consistent with a malicious dropper designed to deliver alternate payloads during installation.
Potential Impact
This vulnerability allows arbitrary remote code execution on any system that installs poly-kelly version 3.5.3. Because the postinstall script fetches and runs code from a remote server without validation, an attacker controlling the remote server or able to perform a man-in-the-middle attack can execute arbitrary JavaScript with the privileges of the installer. This can lead to full system compromise, data theft, or further malware deployment. The lack of author and repository information and the use of the homepage field as a command-and-control endpoint confirm the package's malicious intent.
Mitigation Recommendations
No official patch or remediation is currently available for poly-kelly version 3.5.3. Users and organizations should avoid installing this package entirely. If already installed, remove it and any related files. Monitor for any unexpected network connections or processes spawned by this package. Use trusted sources and verify package integrity before installation. Consider using package allowlists or scanning tools to detect and block malicious npm packages. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
MAL-2026-6584: Malicious code in poly-kelly (npm)
Description
The poly-kelly npm package version 3.5.3 contains malicious code that executes during installation. Its postinstall script fetches a JSON configuration from a remote URL, downloads and extracts a tarball containing JavaScript code, then executes that code without any integrity verification. The remote URL can be overridden and downgraded from HTTPS to HTTP, enabling man-in-the-middle injection of arbitrary code. The package metadata lacks typical author and repository information and uses the homepage field as a command-and-control configuration endpoint, indicating it is a disposable dropper designed for remote code execution at install time.
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 poly-kelly npm package version 3.5.3 includes a postinstall script that reads a remote JSON configuration from a URL specified in the package.json homepage field. This configuration contains a tarball URL which the script downloads, extracts into a local directory, installs dependencies, and executes a JavaScript function. There is no verification of the downloaded code's integrity or authenticity. The URL can be overridden via environment variables and downgraded from HTTPS to HTTP, allowing an attacker with network access to inject arbitrary JavaScript code that will run on any machine installing this package. The package metadata is minimal and suspicious, consistent with a malicious dropper designed to deliver alternate payloads during installation.
Potential Impact
This vulnerability allows arbitrary remote code execution on any system that installs poly-kelly version 3.5.3. Because the postinstall script fetches and runs code from a remote server without validation, an attacker controlling the remote server or able to perform a man-in-the-middle attack can execute arbitrary JavaScript with the privileges of the installer. This can lead to full system compromise, data theft, or further malware deployment. The lack of author and repository information and the use of the homepage field as a command-and-control endpoint confirm the package's malicious intent.
Mitigation Recommendations
No official patch or remediation is currently available for poly-kelly version 3.5.3. Users and organizations should avoid installing this package entirely. If already installed, remove it and any related files. Monitor for any unexpected network connections or processes spawned by this package. Use trusted sources and verify package integrity before installation. Consider using package allowlists or scanning tools to detect and block malicious npm packages. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6584
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a42ed7127e9c79719939195
Added to database: 06/29/2026, 22:10:57 UTC
Last enriched: 06/29/2026, 22:37:56 UTC
Last updated: 06/30/2026, 03:30:45 UTC
Views: 5
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.