Malicious code in sentrykit (npm)
Description
The npm package 'sentrykit' version 30.0.0 contains malicious code delivered via a self-referential dependency that points to an untrusted external URL. This causes npm to fetch and execute arbitrary code during installation, potentially compromising the host system. Removal of the package does not guarantee full remediation due to possible persistent backdoors or additional malware.
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 'sentrykit' npm package version 30.0.0 declares a self-referential dependency with the key 'sentrykit' mapped to an HTTPS URL outside the official npm registry (https://repo.securityctrl.com/sentrykit). When 'npm install' is run, the package manager fetches and installs a tarball from this URL without integrity checks, executing any lifecycle scripts contained therein. The version constraint is set to an implausibly high number (30.0.0) to win dependency resolution over any internal package of the same name, a known dependency confusion technique. Control over the external URL allows an attacker to execute arbitrary code on the installer's machine at install time. The package body itself is minimal, serving primarily as a delivery mechanism for malicious code.
Potential Impact
Any system with 'sentrykit' version 30.0.0 installed or running is considered fully compromised. Attackers may have gained full control over the host, including access to secrets and keys stored on the machine. Immediate rotation of all secrets and keys from a different, trusted system is required. Simply removing the package does not guarantee removal of all malicious artifacts or backdoors introduced during installation.
Mitigation Recommendations
No official patch or fix is available. The package 'sentrykit' version 30.0.0 should be removed immediately. All secrets and keys stored on affected systems must be rotated from a secure, uncompromised environment. Due to the high risk of full system compromise, affected systems should be thoroughly investigated and potentially rebuilt to ensure complete remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15544
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a92f7e2acd9273b49e75bfc
Added to database: 08/29/2026, 15:16:50 UTC
Last enriched: 09/09/2026, 21:08:32 UTC
Last updated: 10/01/2026, 22:27:14 UTC
Views: 22
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.