What problem does it solve?
This Skill helps you identify real bug and vulnerability patterns in radare2-oriented C code, especially cases where attacker-controlled data can lead to command injection through libc-like APIs and radare2 command execution paths.
Core Features & Use Cases
- Command injection detection: Reviews usage of radare2 core command APIs and flags risky parsing behavior when special characters are attacker-influenced.
- Safer API guidance: Prioritizes safer alternatives such as call-oriented functions and temporal control primitives instead of injecting untrusted strings into command interpreters.
- Autogenerated script review: Guides you to inspect autogenerated “*” command outputs by tracing r_cons_printf usage to ensure generated scripts do not amplify injection risk.
Quick Start
Use aibugs to audit a C code change for command-injection and shell-injection risk, then recommend minimal, surgical fixes that use appropriate sanitization and safer radare2 APIs.