Detect indirect prompt injection (goal hijack). Instructions hidden in "external" content (documents, RAG, web) that the agent processes. Use when the agent has document/RAG/web/file input.
$npx -y skills add tencent/ai-infra-guard --skill indirect-injection-detectionInstalls into the current project.
Run `npx skills use "https://github.com/tencent/ai-infra-guard" --skill "tencent/ai-infra-guard/indirect-injection-detection"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/tencent/ai-infra-guard" that are relevant to the current task. Run `npx skills add "https://github.com/tencent/ai-infra-guard"` and select the relevant skills, then follow their instructions.