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

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

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

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

工具目录

分类

查看所有分类
Loading categories
Defenses-for-Tool-Integrated-LLM — 面向工具集成型 LLM 智能体的对抗攻击防御研究与实验代码,扩展 Agent Security Bench,加入新的防御策略与攻击场景。 | Kitploit
工具/GitHubGitHub/xiaoyan-lisa/defenses-for-tool-integrated-llm
防御工具机器学习论文与研究学习与教育AI 安全对抗性攻击
GitHubxiaoyan-lisa/defenses-for-tool-integrated-llm

Defenses-for-Tool-Integrated-LLM

面向工具集成型 LLM 智能体的对抗攻击防御研究与实验代码,扩展 Agent Security Bench,加入新的防御策略与攻击场景。

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
查看仓库
11个月前尚未审核

面向工具集成式 LLM 智能体的通用防御:抵御对抗性攻击

本仓库包含我们项目的代码与实验,该项目旨在防御工具集成式大型语言模型(LLM)智能体免受对抗性攻击。

框架概览

概述

我们基于 Agent Security Bench(ASB)构建,评估集成工具与结构化推理(例如思维链、反思)如何影响 LLM 智能体在多种任务场景下对对抗性提示的脆弱性。

本仓库包含:

  • 新的防御策略(例如基于工具的过滤、CoT+Reflection)
  • 改编自 ASB 的攻击场景
  • 实验脚本

基于 Agent Security Bench(ASB)

本项目改编并扩展了官方 ASB 仓库的代码:

Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents
GitHub: https://github.com/agiresearch/ASBench
Paper: https://openreview.net/forum?id=V4y0CpX4hK

我们感谢 ASB 作者公开其框架。

安装依赖

root@kitploit:~
pip install -r requirements.txt

使用方法

评估 DPI:

root@kitploit:~
python attack_launcher.py --cfg_path ./config/DPI.yml

评估 IPI:

root@kitploit:~
python attack_launcher.py --cfg_path ./config/IPI.yml

评估 MP:

root@kitploit:~
python attack_launcher.py --cfg_path ./config/MP.yml

评估后门攻击:

root@kitploit:~
python agent_attack_pot.py
下载工具