compiler-hardening

Installation
SKILL.md

Compiler Hardening

Common Vulnerability Classes

Category Examples
Memory errors Buffer overflow, use-after-free (UAF), buffer over-read
Dependency attacks Library hijacking, library sideloading, supply chain compromise

Hardening Flags

When building with Fedora/RPM toolchains, hardened flags are often applied automatically. For other build systems, explicitly add hardening options.

The OpenSSF Compiler Hardening Guide is the canonical reference. Key flags include:

Installs
2
GitHub Stars
52
First Seen
Jul 18, 2026
compiler-hardening — redhatproductsecurity/prodsec-skills