continuous-llm-red-teaming-with-promptfoo

continuous-llm-red-teaming-with-promptfoo is a skill for Claude Code, Codex from Youngmaidainon/Agent-Level-Up. It costs 92 tokens per session (2,398 once invoked), scanned A, a copy of continuous-llm-red-teaming-with-promptfoo, MIT.

A CI/CD testing setup that repeatedly attacks an LLM application with jailbreaks and prompt injections to check its defenses. LLMs are systems that generate or analyze language, while CI/CD automatically tests changes before they are merged or released.

In plain words
What is it for?
Use it to run Promptfoo and DeepTeam security tests against an LLM app or agent, evaluate the results, and fail the pipeline when protected behavior regresses.
Why use it?
Changes to prompts, models, data sources, tools, or safety controls can bring back a vulnerability that was previously fixed. Repeating the same adversarial tests makes these regressions visible and can block a failing build.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to run Promptfoo and DeepTeam security tests against an LLM app or agent, evaluate the results, and fail the pipeline when protected behavior regresses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/youngmaidainon/agent-level-up/continuous-llm-red-teaming-with-promptfoo
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Youngmaidainon/Agent-Level-Up --skill continuous-llm-red-teaming-with-promptfoo
Clone the repo
git clone --depth 1 https://github.com/Youngmaidainon/Agent-Level-Up

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for continuous-llm-red-teaming-with-promptfoo

README.md
[![agentmods](https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/continuous-llm-red-teaming-with-promptfoo/github.svg)](https://agentmods.dev/skills/youngmaidainon/agent-level-up/continuous-llm-red-teaming-with-promptfoo)
Your own site
<a href="https://agentmods.dev/skills/youngmaidainon/agent-level-up/continuous-llm-red-teaming-with-promptfoo"><img src="https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/continuous-llm-red-teaming-with-promptfoo/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for continuous-llm-red-teaming-with-promptfoo

Your own site · 80×15
<a href="https://agentmods.dev/skills/youngmaidainon/agent-level-up/continuous-llm-red-teaming-with-promptfoo"><img src="https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/continuous-llm-red-teaming-with-promptfoo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,398 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.02398
Opus 5 $0.00046 $0.01199
Sonnet 5 $0.00018 $0.00480
Haiku 4.5 $0.00009 $0.00240

Measured 8d ago against content hash 72740c97a401, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

continuous-llm-red-teaming-with-promptfoo scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/agent.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

91% identical to continuous-llm-red-teaming-with-promptfoo — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

cyber-security/ctf/continuous-llm-red-teaming-with-promptfoo/SKILL.md · 210 lines

How it starts

The opening of the file, as written. The whole thing — 210 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Continuous LLM Red Teaming with Promptfoo

Authorized Use Only: Run these adversarial probes only against LLM applications and endpoints you own or are explicitly authorized to test. Generated attack payloads (jailbreaks, prompt injections, harmful-content elicitation) are adversarial inputs; sending them to third-party services without permission may violate terms of service.

Overview

Promptfoo is an open-source LLM evaluation and red-teaming framework (used by OpenAI and Anthropic per its README) that generates adversarial test cases, runs them against your model/agent, and grades the responses. DeepTeam (by Confident AI) is a complementary open-source framework offering 50+ ready-to-use vulnerabilities and 10+ research-backed attack methods. Together they let you treat LLM security as a regression test: every commit re-runs the same adversarial suite, and the pipeline fails when a previously-safe behavior regresses.

This matters because LLM applications change constantly — prompts, models, RAG sources, tools, and guardrails all drift. A jailbreak that was patched last sprint can silently return after a prompt edit or a model upgrade. Promptfoo maps its plugins directly onto the OWASP LLM Top 10 (owasp:llm) and OWASP Agentic (owasp:agentic) presets, and onto MITRE ATLAS, so the suite tracks recognized risk taxonomies. The core threat addressed here is AML.T0051 — LLM Prompt Injection (MITRE ATLAS): adversarial instructions that override the application's intended behavior. This skill follows the Promptfoo red-team docs (https://www.promptfoo.dev/docs/red-team/) and DeepTeam docs (https://www.trydeepteam.com/docs/getting-started), and aligns to NIST AI RMF MANAGE-4.1 (post-deployment monitoring and feedback to manage AI risk).

When to Use

  • When you need continuous, automated red-teaming of an LLM app in CI/CD rather than one-off manual tests.
  • When you want to enforce a security gate: block merges that introduce or reintroduce jailbreak/injection vulnerabilities.
  • When mapping coverage to OWASP LLM Top 10 / OWASP Agentic / MITRE ATLAS for compliance reporting.
  • When comparing the security posture of two models or prompt versions side by side.
  • When tracking vulnerability regression over time across releases.

Read the full file on GitHub · 210 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 210 lines · 92 tokens per session scan A 72740c97a401

Subscribe to this mod's changes

continuous-llm-red-teaming-with-promptfoo is a skill published in the GitHub repository Youngmaidainon/Agent-Level-Up (3 stars, last pushed 18d ago), licensed MIT. It adds 92 tokens to every session and 2,398 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to continuous-llm-red-teaming-with-promptfoo, differing in 6 lines, and is treated as a copy.