Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

ai-sdk-ollamanpm

ai-sdk-ollama is a confirmed malicious npm package (MAL-2026-5210) that steals credentials and exfiltrates sensitive data (malicious versions 0.13.1, 1.1.1, 2.2.1…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in ai-sdk-ollama (npm)

MAL-2026-5210
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall ai-sdk-ollama

What this malware does

The package was found to contain malicious code or consuming dependency that contains 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 Miasma malware is a self-propagating worm that spreads across the npm registry by abusing weaponized binding.gyp files to achieve execution during package installation, bypassing security tools that only inspect package lifecycle scripts. Upon execution, the malware attempts to exfiltrate credentials and OIDC tokens for various cloud and registry services, and propagates by compromising other packages managed by the stolen accounts or committing backdoor files to GitHub repositories.

Malicious versions

4 flagged
0.13.11.1.12.2.13.8.5

Indicators of compromise (SHA-256)

a6c7977dbc054cdb7fe56da0d2fbd26e2a6fed695deb4263ccbf4adfedd86acb
abf728fc07c8e6d610a4cd247ef653cdb2ba3a56397d672fdcebac2162974fe5
19f3e848ffd678e29b96aec1a0aa02dcdcb7c3c5f58bc357ee3b3483b395577d
6eff9d2cf526ff178c32c39f93524555676872a3bb271a8cd2a6177395eba745
7da89804231b154d96c576ff682b9b114e77c9b59d404cb1749a7afdcdbea6c9
a376d724eab1f3d2f0ffd5bd80799b00255e8f7cf38afad33e71053500bae04c

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for ai-sdk-ollama (4 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging ai-sdk-ollama across your stack and pipelines.

  2. If you installed it — respond

    ai-sdk-ollama is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If ai-sdk-ollama was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks ai-sdk-ollama before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. ai-sdk-ollama on npm has been identified as a malicious package (versions 0.13.1, 1.1.1, 2.2.1, 3.8.5 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-m9j7-x8ww-5jwrIN-MAL-2026-008374IN-MAL-2026-008351IN-MAL-2026-008371IN-MAL-2026-008379

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks ai-sdk-ollama-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore