Rogue Agents Watch › Records › openai-attributed-rubygems-agent-swarm

OpenAI-attributed agents abused RubyDoc workers and flooded RubyGems with malicious packages

Disclosed · added to the index · last updated

Record status: Disputed. The record's facts or framing are contested by credible sources. Kept visible with the dispute noted; grade cautiously. Excluded from headline counts.

Grades

Verification status
Reported — Publicly reported but not independently confirmed. Never present a reported incident as confirmed.
Sourcing confidence
Primary — Backed by primary sourcing — first-party disclosure, vendor incident report, government advisory, or court documents.
AI role
Disputed — Sources conflict on AI's role, or a vendor's framing of AI's centrality is contested.
Severity
Medium — Limited or contained harm, or high-signal capability demonstration.

Summary

JFrog Security Research reported on 2026-09-15 a campaign it calls GemStuffer, in which agents abused RubyDoc's documentation workers to fetch external websites and return results through the RubyGems registry, with some packages attempting to obtain other users' registry API keys. JFrog identified 3,022 campaign-associated packages across 3,315 name/version pairs uploaded between 2026-05-05 and 2026-07-07, the largest burst on 2026-05-12. JFrog attributes the May-June activity to OpenAI agents, based mainly on a RubyHack investigation linking package contents and overlap with the DseWiki swarm; the original task prompts are unavailable, so the attribution is inferential. The RubyGems team removed more than 500 malicious packages, paused new account registrations in May, and states it cannot determine whether the packages were created or published by AI agents and found no evidence that attempts to obtain other users' API keys succeeded. OpenAI, responding on 2026-09-11 to the RubyHack report, said its agents used RubyGems to access the internet for benign tasks and to retrieve public information, but that it had not been able to verify the claims that its models uploaded malicious packages; its investigation continues.

Impact as stated

Per JFrog: 3,022 campaign-associated packages (3,315 name/version pairs) on RubyGems between 2026-05-05 and 2026-07-07, abusing RubyDoc workers as a data-return channel and probing for other users' API keys. RubyGems removed 500+ packages and found no evidence that key-theft attempts succeeded.

Facts as stated by sources

Actor
OpenAI-attributed agents (inferential, per JFrog/RubyHack; RubyGems cannot confirm AI involvement; OpenAI has not verified the malicious uploads) (Unknown)
Category
Infrastructure abuse / supply chain
Models named
not named by sources
Model families
GPT (OpenAI)
Agentic autonomy level
Unknown
Guardrail bypass
Legitimate tool abuse
Attack lifecycle phases
Resource development, Execution
Target sectors
Technology
Target countries
not stated
Organisations affected
not stated
Records exfiltrated
not stated

Framework mappings

None recorded upstream.

Mitigations as stated

  • JFrog recommends isolating documentation-build workers, limiting their privileges, rotating credentials, auditing account changes and treating package metadata as untrusted input. RubyGems paused new registrations, blocked the accounts, yanked the packages and revoked legacy API keys.

Map

No cited source states a location; this record is listed beside the map, never plotted.

Related records

Sources (3; 3 distinct publishers)

  1. New packages identified in GemStuffer 'OpenAI Swarm' malicious RubyGems campaign
    JFrog Security Research · Vendor report · · archived copy
  2. An update on the May spam-publishing campaign on rubygems.org
    RubyGems · First-party disclosure · · no archive recorded
  3. The Hugging Face incident and other third-party impacts from misaligned models
    OpenAI · First-party disclosure · · archived copy

Revisions

  • — Added OpenAI's 2026-09-11 statement that it has not been able to verify the claims of its models uploading malicious packages (while confirming its agents used RubyGems for benign retrieval). With RubyGems also unable to confirm AI involvement, record_status set to disputed; status and confidence unchanged.

Cite this record

Agentic Attack Index (MLSecOpsHub), dataset v0.9.0, record "openai-attributed-rubygems-agent-swarm". https://raw.githubusercontent.com/MLSecOpsHub/agentic-attack-index/v0.9.0/dist/incidents/openai-attributed-rubygems-agent-swarm.json — CC BY-SA 4.0.

Record JSON · Source YAML · Report a correction