You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+72Lines changed: 72 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,75 @@
1
+
## v0.5.0 (2026-02-17)
2
+
3
+
### ✨ Features
4
+
5
+
-**FlipAttack**: The FlipAttack technique was introduced.
6
+
-**FlipAttack**: The FlipAttack technique was introduced. It is also tested in the test folder
7
+
8
+
### 🐛🚑️ Fixes
9
+
10
+
- the error on the JSON serialization with the OpenAI SDK is fixed
11
+
12
+
### ♻️ Refactorings
13
+
14
+
-**generator-and-judge**: We add the RAG within our demo
15
+
-**generator-and-judge**: We add the RAG within our demo
16
+
-**Refactoring-attacks**: refactoring attacks code with folders for evaluator and generator
17
+
18
+
### build
19
+
20
+
-**deps**: bump urllib3 from 2.5.0 to 2.6.3
21
+
-**deps**: bump urllib3 from 2.5.0 to 2.6.3
22
+
23
+
### bump
24
+
25
+
-**deps**: bump litellm from 1.81.8 to 1.81.12
26
+
-**deps-dev**: bump ruff from 0.15.0 to 0.15.1
27
+
-**deps**: bump openai from 2.17.0 to 2.21.0
28
+
-**deps**: bump textual from 7.5.0 to 8.0.0
29
+
-**deps-dev**: bump commitizen from 4.13.5 to 4.13.7
30
+
-**deps-dev**: bump openapi-python-client from 0.28.1 to 0.28.2
31
+
-**deps-dev**: bump google-adk from 1.24.1 to 1.25.0
32
+
-**deps-dev**: bump ruff from 0.14.14 to 0.15.0
33
+
-**deps**: bump rich from 14.3.1 to 14.3.2
34
+
-**deps**: bump litellm from 1.81.5 to 1.81.8
35
+
-**deps-dev**: bump google-adk from 1.24.0 to 1.24.1
36
+
-**deps-dev**: bump mcp from 1.25.0 to 1.26.0
37
+
-**deps-dev**: bump google-adk from 1.23.0 to 1.24.0
38
+
-**deps**: bump openai from 2.16.0 to 2.17.0
39
+
-**deps-dev**: bump commitizen from 4.12.1 to 4.13.5
40
+
-**deps**: bump litellm from 1.81.1 to 1.81.5
41
+
-**deps**: bump textual from 7.4.0 to 7.5.0
42
+
-**deps**: bump openai from 2.15.0 to 2.16.0
43
+
-**deps**: bump rich from 14.2.0 to 14.3.1
44
+
-**deps**: bump textual from 7.3.0 to 7.4.0
45
+
46
+
### fix
47
+
48
+
-**tests**: fix JSON serialization issue
49
+
-**tests**: fix JSON serialization issue
50
+
51
+
### style
52
+
53
+
- apply ruff formatting
54
+
55
+
### ✅🤡🧪 Tests
56
+
57
+
- In examples\langchain\rag there is a test using an AdvPrefix attack with a RAG use case, using a custom LangChain-based endpoint with OpenAI interfaces
58
+
- In examples\langchain\rag there is a test showing an advprefix attack in a RAG scenario using a custom endpoint with LangChain based on OpenAI interfaces
59
+
60
+
### 📝💡 Documentation
61
+
62
+
-**Risks-profile**: Adding risk profiles within the documentation
63
+
-**Risks**: Adding risks and related vulnerabilities with profiles
Copy file name to clipboardExpand all lines: docs/docs/agents/google-adk.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ slug: /agents/google-adk
7
7
8
8
Google Agent Development Kit (ADK) is a framework for building conversational AI agents with tool-calling capabilities. HackAgent provides native support for testing ADK-based agents.
9
9
10
-
## 🔧 Setup
10
+
## Setup
11
11
12
12
### Prerequisites
13
13
@@ -46,7 +46,7 @@ Google Agent Development Kit (ADK) is a framework for building conversational AI
46
46
pip install hackagent
47
47
```
48
48
49
-
## 🚀 Basic Integration
49
+
## Basic Integration
50
50
51
51
### Initialize HackAgent Client
52
52
@@ -71,7 +71,7 @@ The SDK automatically handles ADK-specific features:
71
71
-**Response Parsing**: Extraction of agent responses and metadata
72
72
-**Error Handling**: ADK-specific error scenarios
73
73
74
-
## ⚔️ Running Security Tests
74
+
## Running Security Tests
75
75
76
76
### Basic AdvPrefix Attack
77
77
@@ -141,7 +141,7 @@ def test_adk_security():
141
141
agent.hack(attack_config=attack_config)
142
142
```
143
143
144
-
## 🔍 ADK-Specific Security Concerns
144
+
## ADK-Specific Security Concerns
145
145
146
146
### Tool Hijacking
147
147
@@ -180,7 +180,7 @@ multi_turn_goals = [
180
180
]
181
181
```
182
182
183
-
## 🛠️ Advanced Configuration
183
+
## Advanced Configuration
184
184
185
185
### Custom ADK Adapter Settings
186
186
@@ -217,7 +217,7 @@ The SDK automatically handles ADK sessions:
217
217
3.**Request Routing**: Routes requests to proper session endpoints
Copy file name to clipboardExpand all lines: docs/docs/agents/ollama.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ import ThemedImage from '@theme/ThemedImage';
9
9
10
10
Ollama is a lightweight framework for running large language models locally. HackAgent provides native support for testing agents running on Ollama, allowing you to assess the security of self-hosted LLMs.
11
11
12
-
## 🔧 Setup
12
+
## Setup
13
13
14
14
### Prerequisites
15
15
@@ -39,7 +39,7 @@ Ollama is a lightweight framework for running large language models locally. Hac
39
39
# Should return JSON with your installed models
40
40
```
41
41
42
-
## 🚀 Basic Usage
42
+
## Basic Usage
43
43
44
44
### Initialize HackAgent Client
45
45
@@ -63,7 +63,7 @@ The adapter supports all Ollama features:
63
63
-**Chat & Generate APIs**: Both `/api/chat` and `/api/generate` endpoints
64
64
-**Model Discovery**: Automatic listing of available models
65
65
66
-
## ⚔️ Running Security Tests
66
+
## Running Security Tests
67
67
68
68
### Basic AdvPrefix Attack
69
69
@@ -158,7 +158,7 @@ attack_config = {
158
158
}
159
159
```
160
160
161
-
## 🔍 Available Models
161
+
## Available Models
162
162
163
163
To see which models you have installed:
164
164
@@ -172,7 +172,7 @@ Popular models for security testing:
172
172
-`codellama` - Code-focused Llama variant
173
173
-`llama2-uncensored` - Uncensored Llama 2 (useful for attack generation)
174
174
175
-
## 🛠️ Troubleshooting
175
+
## Troubleshooting
176
176
177
177
### Connection Refused
178
178
@@ -222,7 +222,7 @@ agent = HackAgent(
222
222
)
223
223
```
224
224
225
-
## 📚 Further Reading
225
+
## Further Reading
226
226
227
227
-[Ollama Documentation](https://ollama.ai)
228
228
-[Ollama Model Library](https://ollama.ai/library)
Copy file name to clipboardExpand all lines: docs/docs/agents/openai-sdk.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ slug: /agents/openai-sdk
7
7
8
8
OpenAI SDK is the official Python library for interacting with OpenAI's API, including GPT-4, GPT-3.5, and other models. HackAgent provides native support for testing agents built with the OpenAI SDK, including those using function calling and tool use.
9
9
10
-
## 🔧 Setup
10
+
## Setup
11
11
12
12
### Prerequisites
13
13
@@ -38,7 +38,7 @@ OpenAI SDK is the official Python library for interacting with OpenAI's API, inc
Copy file name to clipboardExpand all lines: docs/docs/api-index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ This section provides detailed documentation for all classes, methods, and funct
17
17
18
18
This documentation covers the **Python SDK API** - the classes and methods you use when writing Python code with HackAgent. If you're looking for information about raw HTTP endpoints, those are accessed through the SDK and not documented separately at this time.
19
19
20
-
For practical usage examples and getting started guides, see the [Attack Tutorial](./getting-started/attack-tutorial.md).
20
+
For practical usage examples and getting started guides, see the [Python SDK Quickstart](./sdk/python-quickstart.md).
0 commit comments