| description | Tests the runtime validation around model output β schema conformance, PII leakage, moderation, refusal behaviour, tool-call safety β and the adversarial suite that tries to defeat it: direct prompt injection, jailbreaks, and indirect injection through retrieved documents, tool results and user content. Use when an LLM feature reaches real users, when a model can call tools or read untrusted content, when an AI feature needs a security-style test suite, or when asked whether a chatbot or agent can be manipulated. |
|---|
This plugin gives an AI agent the capability to test the runtime validation around model output β schema, PII, moderation, rendering, tool authorization, resource caps and fail-closed behaviour β and to run an adversarial corpus through every content channel, including retrieval and tool results rather than just the chat box.
Before you run it: Adversarial testing is security testing. The skill opens with an authorization gate: confirm in writing that the system is yours or that you have the owner's permission, name the target environment, and agree a window before running any case.
skills/testing-llm-guardrails/β the agent skill with supporting resources (deterministic guardrail checks, adversarial corpus by category, indirect injection scenarios), synced from the repository'sskills/directory, which is the source of truth
Install from this repository's plugin marketplace (defined in .github/plugin/marketplace.json):
copilot plugin marketplace add jaktestowac/awesome-copilot-for-testers
copilot plugin install testing-llm-guardrails
Once installed, ask the agent for example:
- "Can our support assistant be manipulated into calling the refund tool?"
- "Test the guardrails around this feature's model output"
- "Run an indirect prompt-injection pass on our RAG pipeline"
The skill content is a copy of skills/testing-llm-guardrails/ at the repository root. Do not edit the plugin copy directly β update the root skill and run npm run plugin:materialize.