# MAL-2026-3309: Malicious code in google-cloud-secret-manager-config-poc (npm)


- **Type:** Malicious package
- **Package:** `google-cloud-secret-manager-config-poc` (npm)
- **Published:** 3 May 2026
- **Also known as:** GHSA-g6v5-9xpp-6hpx

## What is MAL-2026-3309?

MAL-2026-3309 is a malicious package in google-cloud-secret-manager-config-poc, published on 3 May 2026. 

### Official description

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.

This 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.

The package google-cloud-secret-manager-config-poc was found to contain malicious code.

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.

The OpenSSF Package Analysis project identified 'google-cloud-secret-manager-config-poc' @ 99.9.14 (npm) as malicious.

It is considered malicious because:

- The package executes one or more commands associated with malicious behavior.

## What should I do about MAL-2026-3309?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-3309 is a malicious package: google-cloud-secret-manager-config-poc (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-3309/ (Markdown: https://insights.sbomify.com/MAL-2026-3309/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-3309

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-3309/
Summaries are generated and may contain mistakes; the official description above is the record.
