Skip to main content

Ruby Security Field Guide

Recent Ruby vulnerability classes, their root causes, and how to defend against them.

Read the guide Source trailofbits.github.io

Type

Guide

Domain

Application Security

Maintainer

Trail of Bits

Format

Open course / field guide

Overview

The Ruby Security Field Guide is hands-on training material covering vulnerabilities in Ruby and Rails applications: recent vulnerability classes, their root causes, and exercises in both exploit development and defensive programming. Vulnerabilities in Ruby applications have been found with the potential to affect vast swathes of the internet, yet few developers are aware of the risks; this guide closes that gap with practical, exploit-driven lessons.

What's inside · 5

  • YAML

    Deserialization risks and the gadget chains that exploit them.

  • Parslet

    Parsing pitfalls and how they become vulnerabilities.

  • Mutant

    Using mutation testing to harden code under test.

  • Ronin

    Applying the Ronin toolkit to Ruby security work.

  • Resources

    Further reading, slides, and references for going deeper.

Who it's for

Ruby and Rails developers who want to understand the security risks in their applications and write more defensive code.

Open Ruby Security Field Guide trailofbits.github.io

More guides & handbooks

Browse all guides & handbooks →