Malicious code in canary-ci-test (npm)
The npm package 'canary-ci-test' version 1.0.0 contains malicious code that executes during installation. Its postinstall script collects host identifiers such as hostname, username, current working directory, platform, and DNS resolution results, then silently sends this data to a hardcoded external URL without user consent. This behavior is unrelated to the package's declared purpose and constitutes install-time data exfiltration. Any system with this package installed should be considered fully compromised, and all secrets and keys on that system should be rotated. Removal of the package does not guarantee full remediation due to potential further compromise.
AI Analysis
Technical Summary
The 'canary-ci-test' npm package version 1.0.0 includes a postinstall lifecycle script that collects sensitive host information (os.hostname(), os.userInfo().username, process.cwd(), platform, DNS resolution) and sends it as JSON via an HTTPS POST request to a hardcoded endpoint (https://opgelost.nu/). This exfiltration occurs automatically during installation with no user opt-in and no visible indication, matching a classic install-time phone-home malicious pattern. The package metadata claims it is a scanner test fixture, but the actual code performs functional data exfiltration against any machine installing it. The compromise is severe enough that any machine with this package installed should be treated as fully compromised.
Potential Impact
The malicious postinstall script exfiltrates sensitive host identifiers to an external server without user consent or awareness. This compromises the confidentiality of the affected system's environment. According to the source advisory, any computer with this package installed or running should be considered fully compromised, implying potential unauthorized control or further malicious activity. All secrets and keys stored on the compromised machine should be rotated immediately from a separate, trusted system. Removing the package alone may not fully remediate the compromise due to possible additional malware installed.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The recommended mitigation is to immediately remove the 'canary-ci-test' package version 1.0.0 from all affected systems. Treat any system with this package installed as fully compromised. Rotate all secrets, credentials, and keys stored on the affected systems from a different, secure machine. Conduct a thorough security assessment to identify and remediate any additional malicious software or backdoors that may have been installed. Monitor for any suspicious activity related to this compromise.
Malicious code in canary-ci-test (npm)
Description
The npm package 'canary-ci-test' version 1.0.0 contains malicious code that executes during installation. Its postinstall script collects host identifiers such as hostname, username, current working directory, platform, and DNS resolution results, then silently sends this data to a hardcoded external URL without user consent. This behavior is unrelated to the package's declared purpose and constitutes install-time data exfiltration. Any system with this package installed should be considered fully compromised, and all secrets and keys on that system should be rotated. Removal of the package does not guarantee full remediation due to potential further compromise.
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 'canary-ci-test' npm package version 1.0.0 includes a postinstall lifecycle script that collects sensitive host information (os.hostname(), os.userInfo().username, process.cwd(), platform, DNS resolution) and sends it as JSON via an HTTPS POST request to a hardcoded endpoint (https://opgelost.nu/). This exfiltration occurs automatically during installation with no user opt-in and no visible indication, matching a classic install-time phone-home malicious pattern. The package metadata claims it is a scanner test fixture, but the actual code performs functional data exfiltration against any machine installing it. The compromise is severe enough that any machine with this package installed should be treated as fully compromised.
Potential Impact
The malicious postinstall script exfiltrates sensitive host identifiers to an external server without user consent or awareness. This compromises the confidentiality of the affected system's environment. According to the source advisory, any computer with this package installed or running should be considered fully compromised, implying potential unauthorized control or further malicious activity. All secrets and keys stored on the compromised machine should be rotated immediately from a separate, trusted system. Removing the package alone may not fully remediate the compromise due to possible additional malware installed.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The recommended mitigation is to immediately remove the 'canary-ci-test' package version 1.0.0 from all affected systems. Treat any system with this package installed as fully compromised. Rotate all secrets, credentials, and keys stored on the affected systems from a different, secure machine. Conduct a thorough security assessment to identify and remediate any additional malicious software or backdoors that may have been installed. Monitor for any suspicious activity related to this compromise.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5972
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-6p9p-wp4g-8546"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a577eee68715ace43b414a3
Added to database: 07/15/2026, 12:37:02 UTC
Last enriched: 07/15/2026, 12:55:00 UTC
Last updated: 07/31/2026, 06:55:58 UTC
Views: 13
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.