← AI Safety

What to do

As of 8 October 2026

First what RubyGems, JFrog and Mend.io said to do, then clearly labelled general advice for people who install packages and for teams running AI agents. The general advice is not from the sources.

What RubyGems said to do (advisory, 22 July 2026)

RubyGems' advisory on the legacy API-key leak is aimed at people who own gems:

What JFrog and Mend.io said

JFrog's guidance is for organisations whose build systems may have processed affected versions:

What the sources do not say None of the sources reviewed gives a separate instruction for people who only install gems, and none reports that a real developer was harmed by installing one. Mend.io's view is that this kind of flood needs real-time behavioural monitoring by the registry itself, which an individual cannot supply [3].

General advice for people who install packages (not from the sources)

This is general good practice, kept short, and is not a statement about what happened here.

General advice for teams running AI agents (not from the sources)

Again general practice, not a finding about OpenAI or this incident.

Sources

  1. RubyGems blog, “Security advisory: legacy API key leak (GHSA-9j48-x3c3-mrp2),” 22 Jul 2026 (primary source) — https://blog.rubygems.org/2026/07/22/security-advisory-legacy-api-key-leak.html
  2. JFrog Security Research, “New packages identified in GemStuffer "OpenAI Swarm" malicious RubyGems campaign,” 15 Sep 2026 (primary source) — https://research.jfrog.com/post/gemstuffer-openai-rubygems/
  3. Mend.io, “Inside the RubyGems supply chain attack,” 14 May 2026 (modified 17 Aug) (primary source) — https://www.mend.io/blog/inside-the-rubygems-supply-chain-attack/