{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "promptfoo-promptfoo--red-team-your-own-llm-app",
 "repo": "promptfoo/promptfoo",
 "repo_url": "https://github.com/promptfoo/promptfoo",
 "repo_slug": "promptfoo-promptfoo",
 "title": "Red team your own LLM app for vulnerabilities",
 "page_title": "How to red team your own LLM app for vulnerabilities with Promptfoo",
 "summary": "Use Promptfoo's red teaming to scan an app you own and get a security vulnerability report.",
 "who": "A team about to launch a customer-facing chatbot or agent that wants to find weak spots first.",
 "problem": "Prompt injection and data leaks are easy to miss in normal testing.",
 "outcome": "A vulnerability report for your own app that shows where it fails and what to fix.",
 "steps": [
  "Install Promptfoo with `npm install -g promptfoo`",
  "Follow the Red Teaming guide linked in the README to configure a scan of your app",
  "Run the scan only against apps you own or are authorised to test",
  "Review the security vulnerability report and fix the failing cases",
  "Re-run the scan after each fix"
 ],
 "agent_prompt": "Using promptfoo/promptfoo, follow the Red Teaming guide to scan my own app at <endpoint>, which I own. Summarise the vulnerability report by severity and propose a fix for the top three issues.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README links to the Red Teaming guide for configuration rather than showing it.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js for npm, or Homebrew, or pip; npx works without installing",
  "API keys for the LLM providers you test, set as environment variables",
  "Only run red teaming against apps you own or are authorised to test"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "authorization",
   "notice": "Red teaming sends adversarial inputs; run it only against systems you own or have written permission to test."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/promptfoo-promptfoo/red-team-your-own-llm-app/",
 "md": "https://dedupedai.com/use-cases/promptfoo-promptfoo/red-team-your-own-llm-app/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/promptfoo-promptfoo--red-team-your-own-llm-app.json",
 "api_version": "v1"
}
