Detect hardcoded secrets in code or configuration accessible to the target agent. Focuses on secrets embedded in source, configs, or IaC, not runtime leaks.
安装
npx skills add Tencent/AI-Infra-Guard --skill hardcoded-secret-detectionnpx skills add Tencent/AI-Infra-Guard --skill hardcoded-secret-detection -a claude-code -gnpx skills add Tencent/AI-Infra-Guard --skill hardcoded-secret-detection -a codex -ggemini skills install https://github.com/Tencent/AI-Infra-Guard.git --path agent-scan/agent_scan/prompt/skills/hardcoded-secret-detectiongh skill install Tencent/AI-Infra-Guard hardcoded-secret-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/hardcoded-secret-detection ~/.claude/skills/hardcoded-secret-detection # Claude Code
cp -R /tmp/Tencent__AI-Infra-Guard/agent-scan/agent_scan/prompt/skills/hardcoded-secret-detection ~/.agents/skills/hardcoded-secret-detection # Codex, Cursor, Gemini CLI, Copilot, OpenCode