Registry / redhatproductsecurity
redhatproductsecurity/prodsec-skills/safe-c-functions
Apply when reviewing or writing C/C++ code that uses memory or string operations. Identifies banned functions, provides safe replacements, compiler hardening flags, and refactoring examples.
Agent skill · version 0.0.0-main.1795945576.gb55c6b9 · from RedHatProductSecurity/prodsec-skills
Install
npx yarkr-cli add skill:redhatproductsecurity/prodsec-skills/safe-c-functionsWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:redhatproductsecurity/prodsec-skills/safe-c-functions
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:redhatproductsecurity/prodsec-skills/safe-c-functionsOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:redhatproductsecurity/prodsec-skills/safe-c-functionsWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.