T09 · Insecure Skill Coding Practices
Warning
- Location
SKILL.md:120- Finding
Undefined Behavior from Unaligned and Aliasing-Violating Integer Reads
- Content
View full analysis
- Remediation
View remediation
(data[0]) | (static_cast(data[1]) << 8) | (static_cast(data[2]) << 16) | (static_cast(data[3]) << 24); ``` Update the quick-reference entry and every repeated example so agents are not encouraged to reproduce the unsafe form. Compile sample harnesses with AddressSanitizer and UndefinedBehaviorSanitizer to validate the corrected guidance. ]]>
