simplisafe-gatsby
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-4h74-54qw-vx37, GHSA-grcq-xfr7-4vpm
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in simplisafe-gatsby (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (564baff2e47527f159c52c527e1ea2b93d73625f94737f4397cff99311871a18)
On npm install, the package's preinstall hook (package.json declares "preinstall": "node index.js") executes index.js, which collects the installer's hostname, username, home directory, DNS configuration, package metadata, and the contents of /etc/passwd and /etc/hosts (via fs.readFileSync), then POSTs the collected data over HTTPS to a Burp Collaborator subdomain at xpqamgvad3ok4bc11xar5t7q8he820qp.oastify.com. The package has no advertised functionality (empty author, empty description, single recon payload file) and its name is consistent with a dependency-confusion attempt against SimpliSafe's internal Gatsby package namespace. Any machine that runs npm install against this name will leak system identity and local-account information to the attacker.
Source: ghsa-malware (28fdfe170233a2cc83320ece5c3ee4b6480017f27a0d1b2fb00e1048903a023b)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0