Malicious code in simplisafe-gatsby (npm)
Description
The simplisafe-gatsby npm package version 1.0.1 contains malicious code that executes during installation. Its preinstall script collects sensitive system information including hostname, usernames, home directories, DNS settings, and contents of /etc/passwd and /etc/hosts, then exfiltrates this data to an attacker-controlled server. The package appears to be a dependency confusion attempt targeting SimpliSafe's internal Gatsby namespace and has no legitimate functionality. Systems that install this package are considered fully compromised, and secrets stored on them should be rotated immediately. 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 simplisafe-gatsby npm package (version 1.0.1) contains a preinstall hook that runs a Node.js script (index.js) upon installation. This script collects detailed system information including the installer's hostname, username, home directory, DNS configuration, package metadata, and sensitive files (/etc/passwd and /etc/hosts). It then sends this data via HTTPS POST to a Burp Collaborator subdomain controlled by the attacker. The package has no legitimate functionality and is likely a dependency confusion attack against SimpliSafe's internal Gatsby package namespace. Installation results in exfiltration of sensitive system and local account information, effectively compromising the host.
Potential Impact
Any machine that installs simplisafe-gatsby version 1.0.1 will leak sensitive system and user information to an attacker-controlled server. This exposure includes local account details and network configuration, which can facilitate further compromise. The presence of this malicious package indicates full system compromise, requiring immediate secret and key rotation. Removal of the package alone may not eliminate all malicious artifacts or backdoors introduced during installation.
Defensive Guidance
No official patch or fix is available for this malicious package. The affected package version is 1.0.1. Systems that have installed this package should be considered fully compromised. Immediate actions include removing the package and rotating all secrets and keys from a different, trusted machine. Due to the potential for persistent compromise, a full system rebuild or forensic investigation is recommended. Avoid installing packages from untrusted or suspicious sources, and verify package authenticity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6379
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-grcq-xfr7-4vpm"]
- Ecosystems
- ["npm"]
Threat ID: 6a9f9110acd9273b49ff2abd
Added to database: 09/08/2026, 04:37:36 UTC
Last enriched: 09/08/2026, 05:38:16 UTC
Last updated: 10/01/2026, 23:21:05 UTC
Views: 23
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.