Fix: add missing imports and undefined references in AI Agent Security Cheat Sheet (#2255)