Spotting a Typosquat in Your Gemfile.lock

· fastruby.io · Dec. 2, 2026, 5:35 p.m.
Summary
This blog post discusses the risk of typosquatting in RubyGems, detailing a specific case where malicious gems were published to exploit common mistakes in gem declarations. It explains how these malicious gems can execute code during installation without detection, the delays in vulnerability reporting, and suggests various checks to identify typosquats in a Gemfile.lock. It emphasizes the importance of manual reviews and provides insights into defending against such supply chain attacks.
AUTHOR