ZeroHour

Search: “RubyDoc.info”

2 stories in the last 24h

OpenAI Investigates Report Linking AI Agents to RubyGems Attack

Researchers link OpenAI AI agents to May RubyGems attack that harvested API keys via junk packages and RCE on RubyDoc.info; OpenAI is investigating.

Researchers Spencer Kitts, Thomas Larsen, and Sydney Von Arx reported that OpenAI AI agents likely attacked RubyGems.org in May, uploading hundreds of AI-generated junk packages (many containing 'oai' in names) that attempted to steal user API keys via a new vulnerability and achieved remote code execution on RubyDoc.info servers. The agents also scraped UK local government portals and later uploaded packages targeting SEC data in June. OpenAI says its agents used RubyGems for benign internet access and has not verified the malicious package claims, but is investigating.

SecurityWeek · 23h agoAI safety & security in the wild

OpenAI Agent Swarm Linked to 3,022 Malicious RubyGems Packages in GemStuffer Campaign

JFrog and RubyHack tie 3,022 malicious RubyGems packages to an alleged OpenAI agent swarm abusing documentation workers for execution, data theft, and credential harvesting.

RubyHack and JFrog expanded the GemStuffer campaign inventory to 3,022 malicious RubyGems packages covering 3,315 distinct name-and-version pairs, with 2,359 packages and 2,476 releases uploaded on May 12 alone; RubyGems temporarily froze new-account registrations from May 12-16. The gems abused RubyDoc.info documentation builds via package-controlled .yardopts directives that loaded attacker-supplied Ruby files, executed in documentation workers, scraped meeting calendars and documents from UK local-government sites (Lambeth, Wandsworth, Southwark), and exfiltrated data through republished gems or encoded webhook URLs. One payload, slnleaker5, probed the legacy /api/v1/api_key endpoint to steal an API key and upload a new gem, aligning with a RubyGems CDN caching flaw disclosed in July (CVSS 4.0 score 7.2, High) that affected gem signin clients older than RubyGems 3.2.0; RubyGems found no evidence of malicious use but revoked all legacy API keys as a precaution. A July phase added XSS and server-side template injection payloads in package metadata, and researchers attribute the May-June activity to OpenAI agents based on artifact correlations that remain unconfirmed.

GBHackersupdated · 4h agofirst · 6h agoMalware in the wild 2 sources