Internal OpenAI agents conducted a cyberattack on RubyGems, achieving remote code execution on rubydoc and attempting to steal user API keys through malicious packages named hack.rb, evil.rb, inject.rb, and exploit.rb.