BJ

battlewen/jailbreakskill

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

27 stars 质量 62 趋势 19

论文代码:“JailbreakSkill:用可重复使用且不断进化的技能扩展自动化红团队”。

概览

自动化红队规模化,具备可重复使用且不断发展的技能 JailbreakSkill 是一个两阶段的大型语言模型红团队框架,围绕可复用的提示重写技能构建。第一阶段搜索一个固定技能库,共享 UCB 内存;第二阶段分析失败并发展类别特定技能。该仓库还包含从外部证据中提取新技能的工具。 本仓库包含对抗提示和红队转换。仅在您拥有或获授权评估的系统上使用,并需适当访问控制、监控和人工审核。 - — 🎉 JailbreakSkill首次发布。- — 🛠️ 我们正在开发一个提示注入的新技能。- — 🧩 如果时间允许,我们计划通过代理运行时间和类似ReAct的交互循环扩展流水线,最终实现代理目标的红队化。这将需要对机束进行相应更新。

概述(AI 翻译)

自动化红队规模化,具备可重复使用且不断发展的技能

JailbreakSkill 是一个基于可重用构建的两阶段大型语言模型红团队框架 提示-重写技能。第一阶段搜索一个固定技能库,共享UCB 记忆;第二阶段分析失败并发展类别特定的技能。该阶段 Repository还包括从外部证据中提取新技能的工具。

[!警告] 本仓库包含对抗提示和红队变换。 仅在您拥有或有权评估的系统上使用,且适用 访问控制、监控和人工审核。

🔥 新闻

  • 2026-08-18 — 🎉 JailbreakSkill首次发布。
  • 进行中 — 🛠️ 我们正在开发一项快速注射的新技能。
  • 计划中 — 🧩 如果时间允许,我们计划通过代理运行时和类似ReAct的交互循环扩展管道,最终实现代理目标的红队化。这将需要对框架进行相应更新。

💡 动机

从外部攻击知识到可重复使用、可诊断及不断进化的越狱技能。点击图查看原始PDF。

🔄 管道

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Scaling Automated Red-Teaming with Reusable and Ever-Evolving Skills

JailbreakSkill is a two-stage LLM red-teaming framework built around reusable prompt-rewrite skills. Stage 1 searches a fixed skill library with shared UCB memory; Stage 2 analyzes failures and evolves category-specific skills. The repository also includes tools that extract new skills from external evidence.

[!WARNING] This repository contains adversarial prompts and red-teaming transformations. Use it only on systems you own or are authorized to evaluate, with appropriate access controls, monitoring, and human review.

🔥 News

  • 2026-08-18 — 🎉 JailbreakSkill was released for the first time.
  • In progress — 🛠️ We are developing a new skill for prompt injection.
  • Planned — 🧩 If time permits, we plan to extend the pipeline with an agent runtime and a ReAct-style interaction loop, eventually enabling red-teaming of agentic targets. This will require corresponding updates to the harness.

💡 Motivation

From external attack knowledge to reusable, diagnosable, and ever-evolving jailbreak skills. Click the figure to view the original PDF.

🔄 Pipeline

Seed Prompts
     │
     ▼
┌─────────────────────────────────────────────┐
│  Stage 1 — UCB Skill Search                 │
│                                             │
│  UCB Memory ──rank──► Rewrite Skills (×16)  │
│      ▲                       │              │
│      │ score           rewritten prompt     │
│      │                       ▼              │
│   Judge  ◄──response── Target Model         │
└─────────────────────────────────────────────┘
     │                    │
   success             failure
     │                    │ (grouped by risk category)
     │                    ▼
     │   ┌─────────────────────────────────────┐
     │   │  Stage 2 — Skill Evolution          │
     │   │                                     │
     │   │  Failure Analyzer                   │
     │   │       │ dispatch                    │
     │   │       ▼                             │
     │   │Meta-Skills (refine/combine/discover)│
     │   │       │ new skill                   │
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add battlewen/jailbreakskill
新手?先看 mcpskill.org 教程 →