prompt
FreeRed-team prompt for AI agent safety testing
About prompt
The Computer Use Safety Tester is a structured prompt designed for red-teaming and safety testing of browser/desktop AI agents. It provides a comprehensive framework for evaluating an agent's ability to resist indirect prompt injection, prevent data exfiltration, avoid unsafe high-impact actions, handle domain and identity confusion, and maintain safety over long task sequences. The prompt includes primary risk categories, testing rules, an output format requiring specific sections (test objective, threat model, attack scenarios, pass/fail criteria, evidence, severity rubric, recommended fixes), and a severity scale from Critical to Low. It is part of the ai-boost/awesome-prompts open-source collection.
Key Features
Pros & Cons
- Provides a systematic and reproducible methodology for safety testing
- Covers both immediate and chained/long-horizon attack scenarios
- Includes a clear severity rubric to prioritize findings
- Open-source and freely available for adaptation
- Encourages distinguishing harmless confusion from material risk
- Requires a capable LLM-based agent to execute the tests, limiting applicability to systems that support long prompts
- Does not include automated tooling; manual setup of environments and attack scenarios is needed
- Focuses only on safety risks defined in the prompt, may miss domain-specific vulnerabilities