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 canary-ci-test (npm)

0
Critical
Published: 06/17/2026 (06/17/2026, 04:24:09 UTC)
Source: GCVE Database
Product: canary-ci-test

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

npmghsa
canary-ci-test
Affected versions
=1.0.0

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/15/2026, 12:55:00 UTC

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.

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-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 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