Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in ai-sdk-helpers

The npm package ai-sdk-helpers was found to contain malware, potentially providing full system compromise to attackers. All affected systems should be considered fully compromised and all credentials rotated immediately from a clean machine.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with the package installed or running
Ecosystems
Attack vectors
Affected entities
  • ai-sdk-helpersnpm package containing malware

The npm package ai-sdk-helpers was identified as containing malware by GitHub Security Advisory GHSA-w43g-ccrm-v8xv. According to the advisory, any computer with this package installed or running should be considered fully compromised.\n\nThe advisory recommends immediate action: all secrets and keys stored on affected computers should be rotated immediately from a different, unaffected computer. The package should be removed, though there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the compromise.\n\nGiven the critical nature of the compromise and the potential for full system access by external entities, affected users should treat their systems as potentially fully compromised and take appropriate incident response measures.

Indicators of compromise

Packages
  • ai-sdk-helpers

Remediation

  • Immediately rotate all secrets, API keys, and credentials from a clean, unaffected computer
  • Remove the ai-sdk-helpers package from all affected systems
  • Conduct a full security audit and forensic analysis of any system that had the package installed
  • Monitor affected systems for signs of persistent malware or unauthorized access
  • Consider rebuilding affected systems from clean media if full compromise is suspected
  • Review access logs and audit trails for any unauthorized activity during the period the package was installed

Sources

  1. GitHub Advisory GHSA-w43g-ccrm-v8xv · GitHub Advisory Database

Cite this entry

"Malware in ai-sdk-helpers." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 7, 2026; last updated July 7, 2026. https://supplychainattack.org/incident/malware-in-ai-sdk-helpers-hj8ivx

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. containedcritical

    Malware in openai-agents-helpers

    The npm package openai-agents-helpers was found to contain malware. Any system with this package installed should be considered fully compromised and all secrets and keys rotated immediately from a different computer.

    npmAI agents & skillsCompromised package
  2. activecritical

    Malware in ai-sdk-ollama

    Malware discovered in the ai-sdk-ollama npm package. Systems with this package installed are considered fully compromised and require immediate remediation.

    npmAI agents & skillsCompromised package
  3. activecritical

    Malware in ai-node-agent

    The npm package ai-node-agent contains malware that grants full system compromise to an outside entity. All systems with this package installed or running should be considered fully compromised.

    npmAI agents & skillsCompromised package
  4. containedhigh

    Microsoft links Mastra AI supply chain attack to North Korean hackers

    Microsoft attributed a Mastra AI supply chain attack that compromised over 140 npm packages to North Korean hacking group Sapphire Sleet (BlueNoroff). The attack targeted the npm ecosystem and AI development infrastructure.

    UNC1069npmAI agents & skillsCompromised packageMalicious maintainer