Files
agentic_security/pyproject.toml
T
dependabot[bot] beac65c663 chore(deps-dev): bump pytest-asyncio from 1.4.0 to 1.4.1.post1
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 1.4.0 to 1.4.1.post1.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v1.4.0...v1.4.1.post1)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-version: 1.4.1.post1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-13 16:44:06 +00:00

104 lines
2.7 KiB
TOML

[project]
name = "agentic_security"
version = "1.0.0"
description = "Agentic LLM vulnerability scanner"
authors = [{ name = "Alexander Miasoiedov", email = "msoedov@gmail.com" }]
maintainers = [{ name = "Alexander Miasoiedov", email = "msoedov@gmail.com" }]
license = "Apache-2.0"
readme = "Readme.md"
requires-python = ">=3.15,<4.0"
keywords = [
"LLM vulnerability scanner",
"llm security",
"llm adversarial attacks",
"prompt injection",
"prompt leakage",
"prompt injection attacks",
"prompt leakage prevention",
"llm vulnerabilities",
"owasp-llm-top-10",
]
dynamic = ["dependencies"]
[project.optional-dependencies]
harness = [] # Reuses core dependencies; stable opt-in installation name.
[project.urls]
Homepage = "https://github.com/msoedov/agentic_security"
Repository = "https://github.com/msoedov/agentic_security"
Documentation = "https://github.com/msoedov/agentic_security/blob/main/README.md"
[project.scripts]
agentic_security = "agentic_security.__main__:main"
agesec = "agentic_security_harness.cli:main"
[tool.poetry]
packages = [{ include = "agentic_security", from = "." }, { include = "agentic_security_harness", from = "." }]
include = [{ path = "integrations", format = ["sdist", "wheel"] }]
[tool.poetry.dependencies]
fastapi = "^0.141.1"
uvicorn = "^0.38.0"
fire = "0.7.1"
loguru = "^0.7.3"
httpx = "^0.28.1"
cache-to-disk = "^2.0.0"
pandas = ">=1.4,<4.0"
datasets = "^4.4.1"
tabulate = ">=0.8.9,<0.10.0"
colorama = "^0.4.4"
matplotlib = "^3.10.7"
pydantic = "^2.12.5"
scikit-optimize = "^0.10.2"
scikit-learn = "^1.9.1" # bundled refusal_classifier models are pickled with 1.9.1
numpy = ">=1.24.3,<3.0.0"
jinja2 = "^3.1.4"
python-multipart = "^0.0.31"
tomli = "^2.3.0"
rich = "^14.2.0"
gTTS = "^2.5.4"
sentry_sdk = "^2.46.0"
orjson = "^3.11.4"
pyfiglet = "^1.0.4"
termcolor = "^3.2.0"
# garak = { version = "*", optional = true }
pytest-xdist = "^3.8.0"
anthropic = "^0.102.0"
openai = "^2.36.0"
[tool.poetry.group.dev.dependencies]
# Pytest
pytest = "^9.2.0"
pytest-asyncio = "^1.4.1"
inline-snapshot = "^0.31.1"
pytest-mock = "^3.15.1"
# Rest
black = ">=26.3.1,<27.0"
mypy = "^1.19.0"
pre-commit = "^4.5.0"
huggingface-hub = "^1.1.6"
# Docs
mkdocs = ">=1.4.2"
mkdocs-material = "^9.7.0"
mkdocstrings = "^1.0.0"
mkdocs-jupyter = ">=0.25.1"
[tool.ruff]
line-length = 120
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "-m 'not slow and not eval'"
# addopts = "--durations=5 -m 'not slow' -n 3"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
markers = [
"slow: marks tests as slow",
"eval: scan evaluation suite (tests/evals); opt-in, no network",
]