Skip to content
Heist/ feed
Unrated

Malicious code in simplisafe-gatsby (npm)

Type: advisorySource: OSV1 source record

--- _-= 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.

Announced Source revision 1
Original source ↗

MAL-2026-6379

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-6379

simplisafe-gatsby

Source reference: /affected/0/package/name

Affected versions
1.0.1

Source reference: /affected/0/versions

1.0.2

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "simplisafe-gatsby",
      "purl": "pkg:npm/simplisafe-gatsby",
      "ecosystem": "npm"
    },
    "versions": [
      "1.0.1",
      "1.0.2"
    ],
    "database_specific": {
      "cwes": [
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        }
      ],
      "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/simplisafe-gatsby/MAL-2026-6379.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "index.js",
            "tlsh": "7d411195a2c917330dd214c06a0c74812359fa767269a99076cf4296af869f8b7326f3",
            "sha256": "f09b67d06c7374cf6d577cd70974a89031114bacd3390dde98b34eeb025abc4d"
          },
          {
            "path": "package.json",
            "tlsh": "afd05e244d21653325c50662082a949662a2ce2f14043c08638f582c81de67798fb31c",
            "sha256": "0a98f68bc971c850e49b33615d30d9a1552f317b3a02a94f286a32a8a3e027ef"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#13624 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement