Detect command injection, eval/exec usage, remote execution, or arbitrary code loading.
Install
npx skills add Tencent/AI-Infra-Guard --skill unexpected-code-execution-detectionnpx skills add Tencent/AI-Infra-Guard --skill unexpected-code-execution-detection -a claude-code -gnpx skills add Tencent/AI-Infra-Guard --skill unexpected-code-execution-detection -a codex -ggemini skills install https://github.com/Tencent/AI-Infra-Guard.git --path agent-scan/agent_scan/prompt/skills/unexpected-code-execution-detectiongh skill install Tencent/AI-Infra-Guard unexpected-code-execution-detectiongit clone --depth 1 https://github.com/Tencent/AI-Infra-Guard /tmp/Tencent__AI-Infra-Guard
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/Tencent__AI-Infra-Guard/agent-scan/agent_scan/prompt/skills/unexpected-code-execution-detection ~/.claude/skills/unexpected-code-execution-detection # Claude Code
cp -R /tmp/Tencent__AI-Infra-Guard/agent-scan/agent_scan/prompt/skills/unexpected-code-execution-detection ~/.agents/skills/unexpected-code-execution-detection # Codex, Cursor, Gemini CLI, Copilot, OpenCode