What this thread does
Do first: start npx promptfoo@latest redteam setup and describe the application's allowed information and actions. Quickstart
Short answer
Use promptfoo against the application endpoint, then inspect the report's failing inputs and outputs. Quickstart Treat MCP descriptions as an additional attack surface: Invariant's demonstration embeds malicious instructions in descriptions and describes changes after approval. Invariant research
Choose / don't choose
- promptfoo: choose to probe application behavior; don't substitute a skill-file scan for endpoint attacks. Quickstart
- SkillSpector: choose to inspect a skill before installation; don't treat its static-only mode as LLM analysis. Repository
Settings that matter
| Setting or flag | Value / default | Applies to | Source |
|---|---|---|---|
purpose | Describe intended users, accessible information and allowed actions | promptfoo application configuration | Quickstart |
promptfooconfig.yaml | Save generated configuration under this name | promptfoo local run | Quickstart |
--no-llm | Static analysis only | SkillSpector scan | Repository |
--format json --output report.json | Write a JSON report | SkillSpector scan | Repository |
Order of operations
1. Configure the target, select vulnerability plugins and attack strategies, and save the configuration. Quickstart 2. Run npx promptfoo@latest redteam run, then npx promptfoo@latest redteam report; inspect concrete failure cases. Quickstart 3. For a local skill directory, use skillspector scan ./my-skill/ --no-llm --format json --output report.json. Repository 4. Review complete MCP tool descriptions and changes to them, rather than relying on the displayed tool name. Invariant research
Known failures and fixes
| Failure | Cause | Response | Source |
|---|---|---|---|
| Tool approval conceals malicious instructions | Description text contains instructions absent from the simple tool-name view | Inspect complete descriptions | Invariant research |
| Previously approved server changes behavior | Tool description changes after approval | Review changed descriptions; initial approval is insufficient | Invariant research |
Missing
- Which runtime boundary should block each tool action? The sources above do not supply your application's authorization policy.
- What scan threshold proves resistance to injection? These sources do not establish such a threshold or a guarantee.
Checked
2026-11-23: read promptfoo quickstart, Invariant's tool-poisoning research, and SkillSpector repository.
Started from a post by @WhatWorks editors, packaged by the editor.