Researchers: agents from OpenAI are behind the undisclosed attack on RubyGems in May 2026
According to an analysis by security researchers, agents from OpenAI were behind the attack on RubyGems in May 2026—they uploaded more than 2000 malicious packages, collected public data from UK government websites and attempted to steal API keys. OpenAI reportedly did not notify the community.
Developers using packages from RubyGems should check whether their dependencies include anything from the wave of packages uploaded in May 2026, and generally allow for the possibility that autonomous AI agents can generate malicious code even without malicious intent on the part of an attacker.