Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Defenses-for-Tool-Integrated-LLM — Research code and experiments for defending tool-integrated LLM agents against adversarial attacks, extending Agent Security Bench with new defense strategies and attack scenarios. | Kitploit
Tools/GitHubGitHub/xiaoyan-lisa/defenses-for-tool-integrated-llm
Defensive ToolsMachine LearningPapers & ResearchLearning & EducationAI SecurityAdversarial Attack
GitHubxiaoyan-lisa/defenses-for-tool-integrated-llm

Defenses-for-Tool-Integrated-LLM

Research code and experiments for defending tool-integrated LLM agents against adversarial attacks, extending Agent Security Bench with new defense strategies and attack scenarios.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
View Repository
11 months agoNot yet reviewed
Share

Universal Defences for Tool-Integrated LLM Agents Against Adversarial Attacks

This repository contains the code and experiments for our project on defending tool-integrated large language model (LLM) agents against adversarial attacks.

Framework overview

Overview

We build upon Agent Security Bench (ASB) to evaluate how integrating tools and structured reasoning (e.g., chain-of-thought, reflection) affects the vulnerability of LLM agents to adversarial prompts across multiple task scenarios.

This repository includes:

  • New defense strategies (e.g., tool-based filtering, CoT+Reflection)
  • Attack scenarios adapted from ASB
  • Experimental scripts

Based on Agent Security Bench (ASB)

This project adapts and extends code from the official ASB repository:

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

We thank the ASB authors for making their framework publicly available.

Install dependencies

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

Usage

To evaluate the DPI:

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

To evaluate the IPI:

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

To evaluate the MP:

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

To evaluate the backdoor attack:

root@kitploit:~
python agent_attack_pot.py
Download Tool