{"id":"MAL-2026-3309","summary":"Malicious code in google-cloud-secret-manager-config-poc (npm)","details":"Malicious npm package published by the `microsop` threat actor as part of a dependency-confusion campaign that impersonates internal tooling at Microsoft, Google Cloud, and PayPal using inflated semver values (e.g. 99.9.x, 100.1.x) to win npm resolution against private internal packages. All packages in the campaign falsely advertise themselves as \"Security Research PoC\" and execute on `preinstall` via `node index.js`, exfiltrating to disposable `webhook.site` endpoints.\n\nThis package targets Google-Cloud-flavored internal naming and performs SSH key validation/fingerprinting on the build host. On install it checks for `/root/.ssh/id_rsa`, runs `ssh-keygen -l -f` to extract the key fingerprint and `ssh-keygen -y -f` to derive the public key, then POSTs `{hostname, fingerprint, public_key, key_exists}` to `https://webhook.site/813b99f6-c86c-4a1f-9318-518a3c153992` tagged `status: KEY_VALIDATION_RESULT`. The captured fingerprint and public key let the operator correlate the install host against authorized-keys lists for downstream lateral movement.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a4735e524b9623da4da209d597cdc515ed3f0cd2534591e1d98539d5b5f11f4c)\nThe package google-cloud-secret-manager-config-poc was found to contain malicious code.\n\n## Source: ghsa-malware (78aa5b7e81cd5f702eb55e2ac9f5d3e79c1923f1d6a12f36467bcf259d440a1a)\nAny 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.\n\n## Source: ossf-package-analysis (daa2f2438668b4ed2d4a869c9cd52cc3e989b235e08652eb8a041db22c222ae2)\nThe OpenSSF Package Analysis project identified 'google-cloud-secret-manager-config-poc' @ 99.9.14 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","aliases":["GHSA-g6v5-9xpp-6hpx"],"modified":"2026-06-11T06:01:30.932679880Z","published":"2026-05-03T16:10:57Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-05-03T16:10:57Z","versions":["99.9.14"],"sha256":"daa2f2438668b4ed2d4a869c9cd52cc3e989b235e08652eb8a041db22c222ae2","import_time":"2026-05-04T03:13:24.730000059Z","source":"ossf-package-analysis"},{"modified_time":"2026-05-12T06:53:21Z","versions":["99.9.14"],"sha256":"a4735e524b9623da4da209d597cdc515ed3f0cd2534591e1d98539d5b5f11f4c","import_time":"2026-05-12T07:28:50.621462714Z","source":"amazon-inspector"},{"sha256":"78aa5b7e81cd5f702eb55e2ac9f5d3e79c1923f1d6a12f36467bcf259d440a1a","modified_time":"2026-06-11T04:07:07Z","import_time":"2026-06-11T05:52:52.856091882Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"id":"GHSA-g6v5-9xpp-6hpx","source":"ghsa-malware"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g6v5-9xpp-6hpx"}],"affected":[{"package":{"name":"google-cloud-secret-manager-config-poc","ecosystem":"npm","purl":"pkg:npm/google-cloud-secret-manager-config-poc"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["99.9.14"],"database_specific":{"cwes":[{"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/google-cloud-secret-manager-config-poc/MAL-2026-3309.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"},{"name":"SafeDep","contact":["https://safedep.io"],"type":"FINDER"}]}