Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
AutoRAN-public | Kitploit
工具/GitHubGitHub/jackpurcell/autoran-public
漏洞利用论文与研究红队AI 安全对抗性攻击
GitHubjackpurcell/autoran-public

AutoRAN-public

查看仓库
11110个月前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

🧠 AutoRAN:大型推理模型中安全推理的自动化劫持

AutoRAN 是一种自动化的安全推理劫持方法,利用对齐程度较低(次要)的辅助模型模拟推理轨迹、生成叙事性提示,并迭代优化这些提示,以绕过现代大型推理模型(LRMs)中的安全推理。

AutoRAN 概览

⚠️ 免责声明:本仓库仅用于受控安全研究和 AI 安全红队测试。

🔍 核心特性

  • ⚙️ 自动化多轮越狱:通过迭代提示优化实现
  • 🧩 叙事模板:在看似合理的教育/道德幌子下包装恶意目标
  • 🔁 优化策略:利用中间推理轨迹演化提示
  • 📈 在商业 LRM 上近乎 100% 的攻击成功率
  • 🔬 在 AdvBench、HarmBench 和 StrongReject 上进行了评估

🛠️ 方法概述

AutoRAN 遵循三阶段流程:

  1. 模拟推理:使用一个弱模型模仿受害者模型的高层思维链(CoT)结构
  2. 生成提示:利用模拟的推理结果填充叙事模板
  3. 优化提示:根据中间推理和安全拒答模式进行调整

AutoRAN 流程

📊 实验结果

攻击性能

📁 运行记录

日志和结果可在 /records 目录中找到。例如:

root@kitploit:~
ls -lh records/

🚀 快速开始:Demo

root@kitploit:~
# Clone the repository
git clone {THIS_REPO}
cd AutoRAN

# Install dependencies
pip install -r requirements.txt

# Apply for model access (see HuggingFace link)
# https://huggingface.co/huihui-ai/Qwen3-8B-abliterated/tree/main

# Start the model server (recommended: use tmux or screen)
vllm serve huihui-ai/Qwen3-8B-abliterated --tensor-parallel-size 4 --port 8000

# Edit the attack prompt in demo.py as needed
python demo.py

# Follow the command line instructions.
# You may need to copy questions to GPT-o3, GPT-o4 Mini, or Gemini 2.5-Flash/Pro,
# then paste the results back into the terminal as prompted.

🚀 完整实验流程

root@kitploit:~
# Clone the repository
git clone {THIS_REPO}
cd AutoRAN

# Install dependencies
pip install -r requirements.txt

# Set up chat2api for automatic ChatGPT interaction:
# https://github.com/lanqian528/chat2api

# Apply for model access (see HuggingFace link)
# https://huggingface.co/huihui-ai/Qwen3-8B-abliterated/tree/main

# Start the model server (recommended: use tmux or screen)
vllm serve huihui-ai/Qwen3-8B-abliterated --tensor-parallel-size 4 --port 8000

# Run the main experiment script
python main.py

🧷 免责声明

此代码仅用于研究和教育目的发布,旨在支持对 LLM 安全漏洞的负责任评估。请勿使用此代码针对真实系统发起攻击,或在受控环境之外生成有害输出。

📚 引用

root@kitploit:~
@misc{liang2025autoranautomatedhijackingsafety,
      title={AutoRAN: Automated Hijacking of Safety Reasoning in Large Reasoning Models}, 
      author={Jiacheng Liang and Tanqiu Jiang and Yuhui Wang and Rongyi Zhu and Fenglong Ma and Ting Wang},
      year={2025},
      eprint={2505.10846},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2505.10846}, 
}
下载工具