Skip to content

Commit 8b77239

Browse files
committed
feat(Bump release):
1 parent 9de2c55 commit 8b77239

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

Readme.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
- LLM API integration and stress testing 🛠️
2727
- Wide range of fuzzing and attack techniques 🌀
2828

29-
3029
Note: Please be aware that Agentic Security is designed as a safety scanner tool and not a foolproof solution. It cannot guarantee complete protection against all possible threats.
3130

3231
## 📦 Installation

agentic_security/probe_actor/fuzzer.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
import os
2-
import asyncio
3-
from typing import List, Dict, AsyncGenerator
2+
from typing import AsyncGenerator
43

54
import httpx
65
import numpy as np
76
import pandas as pd
8-
from agentic_security.probe_actor.refusal import refusal_heuristic
9-
from agentic_security.probe_data.data import prepare_prompts
107
from loguru import logger
118
from pydantic import BaseModel
129
from skopt import Optimizer
1310
from skopt.space import Real
1411

12+
from agentic_security.probe_actor.refusal import refusal_heuristic
13+
from agentic_security.probe_data.data import prepare_prompts
14+
1515
IS_VERCEL = os.getenv("IS_VERCEL", "f") == "t"
1616

1717

@@ -35,7 +35,7 @@ def status_msg(cls, msg: str) -> str:
3535
).model_dump_json()
3636

3737

38-
async def prompt_iter(prompts: List[str] | AsyncGenerator) -> AsyncGenerator[str, None]:
38+
async def prompt_iter(prompts: list[str] | AsyncGenerator) -> AsyncGenerator[str, None]:
3939
if isinstance(prompts, list):
4040
for p in prompts:
4141
yield p
@@ -47,7 +47,7 @@ async def prompt_iter(prompts: List[str] | AsyncGenerator) -> AsyncGenerator[str
4747
async def perform_scan(
4848
request_factory,
4949
max_budget: int,
50-
datasets: List[Dict[str, str]] = [],
50+
datasets: list[dict[str, str]] = [],
5151
tools_inbox=None,
5252
optimize=False,
5353
) -> AsyncGenerator[str, None]:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "agentic_security"
3-
version = "0.1.12"
3+
version = "0.2.0"
44
description = "Agentic LLM vulnerability scanner"
55
authors = ["Alexander Miasoiedov <msoedov@gmail.com>"]
66
maintainers = ["Alexander Miasoiedov <msoedov@gmail.com>"]

0 commit comments

Comments
 (0)