ruzzy

Detect memory errors in Ruby applications and native extensions via coverage-guided fuzzing.

47|5|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/RedHatProductSecurity/prodsec-skills --skill ruzzy-redhatproductsecurity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ruzzy
Source: https://github.com/RedHatProductSecurity/prodsec-skills/tree/main/module/skills/ruzzy
Command: npx skills add https://github.com/RedHatProductSecurity/prodsec-skills --skill ruzzy-redhatproductsecurity

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ruzzy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Ruzzy provides a reliable way to detect memory safety issues in Ruby applications and native extensions using coverage-guided fuzzing techniques.

Core Features & Use Cases

  • Fuzzing Ruby code and C extensions: Identifies crashes and memory corruption vulnerabilities in Ruby gems and extensions.
  • Sanitizer integration: Supports address and undefined behavior sanitizers for thorough testing.
  • Use Case: Developers can fuzz native Ruby extensions like msgpack to uncover security flaws or stability bugs efficiently.

Quick Start

Use Ruzzy to fuzz a Ruby C extension by setting the environment variables, running the fuzzer with the appropriate harness script, and analyzing crashes for potential vulnerabilities.

Frequently Asked Questions about ruzzy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect memory safety issues in Ruby native extensions?

Memory safety issues in Ruby native extensions can be detected using coverage-guided fuzzing to automatically identify crashes and memory corruption vulnerabilities. Ruzzy integrates sanitizer tools to thoroughly test Ruby gems and C extensions for robustness.

What is coverage-guided fuzzing for Ruby applications?

Coverage-guided fuzzing for Ruby applications is a testing technique that automatically detects memory errors in both pure Ruby code and native extensions. It works by generating inputs based on code coverage to uncover security flaws and stability bugs.

Can I fuzz pure Ruby code or does it only work on C extensions?

Fuzzing works on both pure Ruby code and native C extensions. Ruzzy applies coverage-guided techniques to uncover memory corruption vulnerabilities across Ruby gems and their critical native components.

How do I fuzz a Ruby C extension using sanitizers?

To fuzz a Ruby C extension, set the required environment variables, run the fuzzer with an appropriate custom harness script, and analyze the resulting crashes for potential memory vulnerabilities. Address and undefined behavior sanitizers are supported for thorough testing.

Do I need custom fuzzing harnesses to test Ruby gems?

Custom fuzzing harnesses are required for effective fuzzing of Ruby gems. Ruzzy requires these harnesses alongside sanitizer tools to accurately target and detect memory errors within Ruby applications and native extensions.

When should I use fuzzing for Ruby memory safety testing?

Fuzzing for Ruby memory safety testing is suitable when improving the robustness of Ruby gems with critical native components. It efficiently uncovers security flaws and stability bugs in extensions like msgpack using sanitizer integration.