humanbound 2.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- humanbound/__init__.py +54 -0
- humanbound/bot.py +7 -0
- humanbound/callbacks.py +7 -0
- humanbound/orchestrators.py +25 -0
- humanbound/py.typed +0 -0
- humanbound/runner.py +7 -0
- humanbound/schemas.py +24 -0
- humanbound-2.0.0.dist-info/METADATA +204 -0
- humanbound-2.0.0.dist-info/RECORD +96 -0
- humanbound-2.0.0.dist-info/WHEEL +5 -0
- humanbound-2.0.0.dist-info/entry_points.txt +5 -0
- humanbound-2.0.0.dist-info/licenses/LICENSE +193 -0
- humanbound-2.0.0.dist-info/top_level.txt +2 -0
- humanbound_cli/__init__.py +10 -0
- humanbound_cli/adapters/__init__.py +69 -0
- humanbound_cli/adapters/promptfoo.py +60 -0
- humanbound_cli/adapters/pyrit.py +54 -0
- humanbound_cli/client.py +1408 -0
- humanbound_cli/commands/__init__.py +63 -0
- humanbound_cli/commands/_report_helper.py +67 -0
- humanbound_cli/commands/api_keys.py +243 -0
- humanbound_cli/commands/assessments.py +240 -0
- humanbound_cli/commands/auth.py +196 -0
- humanbound_cli/commands/campaigns.py +183 -0
- humanbound_cli/commands/completion.py +70 -0
- humanbound_cli/commands/config_cmd.py +174 -0
- humanbound_cli/commands/connect.py +725 -0
- humanbound_cli/commands/docs.py +115 -0
- humanbound_cli/commands/experiments.py +560 -0
- humanbound_cli/commands/findings.py +258 -0
- humanbound_cli/commands/firewall.py +360 -0
- humanbound_cli/commands/guardrails.py +212 -0
- humanbound_cli/commands/logs.py +844 -0
- humanbound_cli/commands/mcp.py +35 -0
- humanbound_cli/commands/members.py +189 -0
- humanbound_cli/commands/monitor.py +123 -0
- humanbound_cli/commands/orgs.py +223 -0
- humanbound_cli/commands/posture.py +547 -0
- humanbound_cli/commands/projects.py +434 -0
- humanbound_cli/commands/providers.py +328 -0
- humanbound_cli/commands/redteam.py +550 -0
- humanbound_cli/commands/report.py +191 -0
- humanbound_cli/commands/scan.py +3 -0
- humanbound_cli/commands/sentinel.py +1039 -0
- humanbound_cli/commands/test.py +801 -0
- humanbound_cli/commands/upload_logs.py +126 -0
- humanbound_cli/commands/webhooks.py +324 -0
- humanbound_cli/config.py +42 -0
- humanbound_cli/connectors/__init__.py +3 -0
- humanbound_cli/connectors/microsoft.py +1691 -0
- humanbound_cli/engine/__init__.py +37 -0
- humanbound_cli/engine/bot.py +1573 -0
- humanbound_cli/engine/callbacks.py +38 -0
- humanbound_cli/engine/llm/__init__.py +35 -0
- humanbound_cli/engine/llm/azureopenai.py +225 -0
- humanbound_cli/engine/llm/claude.py +91 -0
- humanbound_cli/engine/llm/gemini.py +90 -0
- humanbound_cli/engine/llm/grok.py +85 -0
- humanbound_cli/engine/llm/ollama.py +82 -0
- humanbound_cli/engine/llm/openai.py +124 -0
- humanbound_cli/engine/local_runner.py +518 -0
- humanbound_cli/engine/orchestrators/__init__.py +2 -0
- humanbound_cli/engine/orchestrators/base.py +66 -0
- humanbound_cli/engine/orchestrators/behavioral_qa/__init__.py +3 -0
- humanbound_cli/engine/orchestrators/behavioral_qa/config.py +133 -0
- humanbound_cli/engine/orchestrators/behavioral_qa/generator.py +186 -0
- humanbound_cli/engine/orchestrators/behavioral_qa/judge.py +226 -0
- humanbound_cli/engine/orchestrators/behavioral_qa/orchestrator.py +256 -0
- humanbound_cli/engine/orchestrators/owasp_agentic/__init__.py +3 -0
- humanbound_cli/engine/orchestrators/owasp_agentic/config.py +1450 -0
- humanbound_cli/engine/orchestrators/owasp_agentic/generator.py +451 -0
- humanbound_cli/engine/orchestrators/owasp_agentic/judge.py +440 -0
- humanbound_cli/engine/orchestrators/owasp_agentic/orchestrator.py +421 -0
- humanbound_cli/engine/orchestrators/owasp_single_turn/__init__.py +3 -0
- humanbound_cli/engine/orchestrators/owasp_single_turn/config.py +331 -0
- humanbound_cli/engine/orchestrators/owasp_single_turn/generator.py +449 -0
- humanbound_cli/engine/orchestrators/owasp_single_turn/judge.py +400 -0
- humanbound_cli/engine/orchestrators/owasp_single_turn/orchestrator.py +239 -0
- humanbound_cli/engine/platform_runner.py +154 -0
- humanbound_cli/engine/presenter.py +231 -0
- humanbound_cli/engine/runner.py +117 -0
- humanbound_cli/engine/schemas.py +234 -0
- humanbound_cli/engine/scope.py +258 -0
- humanbound_cli/exceptions.py +66 -0
- humanbound_cli/extractors/__init__.py +8 -0
- humanbound_cli/extractors/openapi.py +211 -0
- humanbound_cli/extractors/repo.py +326 -0
- humanbound_cli/main.py +215 -0
- humanbound_cli/mcp_server.py +1855 -0
- humanbound_cli/py.typed +0 -0
- humanbound_cli/pytest_plugin/__init__.py +205 -0
- humanbound_cli/pytest_plugin/fixtures.py +378 -0
- humanbound_cli/pytest_plugin/report.py +131 -0
- humanbound_cli/report.py +305 -0
- humanbound_cli/report_builder.py +767 -0
- humanbound_cli/templates/logo.svg +81 -0
humanbound/__init__.py
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
# Copyright (c) 2024-2026 Humanbound
|
|
3
|
+
"""Humanbound — open-source red-team engine and SDK.
|
|
4
|
+
|
|
5
|
+
Public API for authoring orchestrators, driving the engine programmatically,
|
|
6
|
+
and integrating Humanbound into pytest / CI / notebooks.
|
|
7
|
+
|
|
8
|
+
The CLI (`hb test`, `hb report`, etc.) lives in the sibling `humanbound_cli`
|
|
9
|
+
module and is considered internal — it may change between releases. Import
|
|
10
|
+
from `humanbound` for stability.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import annotations
|
|
14
|
+
|
|
15
|
+
__version__ = "2.0.0"
|
|
16
|
+
|
|
17
|
+
from humanbound.bot import Bot, ResponseExtractor
|
|
18
|
+
from humanbound.callbacks import EngineCallbacks
|
|
19
|
+
from humanbound.orchestrators import (
|
|
20
|
+
BehavioralQA,
|
|
21
|
+
OrchestratorModule,
|
|
22
|
+
OwaspAgentic,
|
|
23
|
+
OwaspSingleTurn,
|
|
24
|
+
)
|
|
25
|
+
from humanbound.runner import LocalRunner
|
|
26
|
+
from humanbound.schemas import (
|
|
27
|
+
Insight,
|
|
28
|
+
LogEntry,
|
|
29
|
+
LogsAnonymous,
|
|
30
|
+
TestingLevel,
|
|
31
|
+
Turn,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
__all__ = [
|
|
35
|
+
"__version__",
|
|
36
|
+
# Target-system adapters
|
|
37
|
+
"Bot",
|
|
38
|
+
"ResponseExtractor",
|
|
39
|
+
# Data contracts
|
|
40
|
+
"Insight",
|
|
41
|
+
"LogEntry",
|
|
42
|
+
"LogsAnonymous",
|
|
43
|
+
"Turn",
|
|
44
|
+
"TestingLevel",
|
|
45
|
+
# Callbacks
|
|
46
|
+
"EngineCallbacks",
|
|
47
|
+
# Runner
|
|
48
|
+
"LocalRunner",
|
|
49
|
+
# Orchestrator ABC + built-ins
|
|
50
|
+
"OrchestratorModule",
|
|
51
|
+
"OwaspAgentic",
|
|
52
|
+
"OwaspSingleTurn",
|
|
53
|
+
"BehavioralQA",
|
|
54
|
+
]
|
humanbound/bot.py
ADDED
humanbound/callbacks.py
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
# Copyright (c) 2024-2026 Humanbound
|
|
3
|
+
"""Orchestrators — the standard contract for attack campaigns.
|
|
4
|
+
|
|
5
|
+
Built-in orchestrators and the `OrchestratorModule` ABC for authoring
|
|
6
|
+
custom ones. Plugin authors inherit from `OrchestratorModule`.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from humanbound_cli.engine.orchestrators import behavioral_qa as _bqa
|
|
10
|
+
from humanbound_cli.engine.orchestrators import owasp_agentic as _oa
|
|
11
|
+
from humanbound_cli.engine.orchestrators import owasp_single_turn as _ost
|
|
12
|
+
from humanbound_cli.engine.orchestrators.base import OrchestratorModule # noqa: F401
|
|
13
|
+
|
|
14
|
+
# Built-ins exposed as modules (callers use orchestrator_generate / orchestrator_run).
|
|
15
|
+
OwaspAgentic = _oa
|
|
16
|
+
OwaspSingleTurn = _ost
|
|
17
|
+
BehavioralQA = _bqa
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
"OrchestratorModule",
|
|
22
|
+
"OwaspAgentic",
|
|
23
|
+
"OwaspSingleTurn",
|
|
24
|
+
"BehavioralQA",
|
|
25
|
+
]
|
humanbound/py.typed
ADDED
|
File without changes
|
humanbound/runner.py
ADDED
humanbound/schemas.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
# Copyright (c) 2024-2026 Humanbound
|
|
3
|
+
"""Data contracts — the stable wire format for experiments, logs, and insights.
|
|
4
|
+
|
|
5
|
+
`Insight` is the per-experiment OSS output. The Humanbound Platform further
|
|
6
|
+
consolidates Insights into persistent `Finding` records via its reconciler;
|
|
7
|
+
that concept lives on the Platform side and is NOT exposed here.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from humanbound_cli.engine.schemas import ( # noqa: F401
|
|
11
|
+
Insight,
|
|
12
|
+
LogEntry,
|
|
13
|
+
LogsAnonymous,
|
|
14
|
+
TestingLevel,
|
|
15
|
+
Turn,
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
"Insight",
|
|
20
|
+
"LogEntry",
|
|
21
|
+
"LogsAnonymous",
|
|
22
|
+
"TestingLevel",
|
|
23
|
+
"Turn",
|
|
24
|
+
]
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: humanbound
|
|
3
|
+
Version: 2.0.0
|
|
4
|
+
Summary: Humanbound — open-source AI agent red-team engine, SDK, and CLI.
|
|
5
|
+
Author-email: Humanbound <hello@humanbound.ai>
|
|
6
|
+
Maintainer-email: Demetris Gerogiannis <hello@humanbound.ai>, Kostas Siabanis <hello@humanbound.ai>
|
|
7
|
+
License-Expression: Apache-2.0
|
|
8
|
+
Project-URL: Homepage, https://github.com/humanbound/humanbound
|
|
9
|
+
Project-URL: Documentation, https://docs.humanbound.ai/
|
|
10
|
+
Project-URL: Repository, https://github.com/humanbound/humanbound
|
|
11
|
+
Project-URL: Issues, https://github.com/humanbound/humanbound/issues
|
|
12
|
+
Project-URL: Changelog, https://github.com/humanbound/humanbound/blob/main/CHANGELOG.md
|
|
13
|
+
Project-URL: Community, https://docs.humanbound.ai/community/
|
|
14
|
+
Keywords: ai,ai-security,red-team,llm,prompt-injection,agent-security,penetration-testing,humanbound
|
|
15
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
16
|
+
Classifier: Intended Audience :: Developers
|
|
17
|
+
Classifier: Intended Audience :: Information Technology
|
|
18
|
+
Classifier: Operating System :: OS Independent
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Environment :: Console
|
|
24
|
+
Classifier: Framework :: Pytest
|
|
25
|
+
Classifier: Topic :: Security
|
|
26
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
27
|
+
Classifier: Topic :: Software Development :: Testing
|
|
28
|
+
Classifier: Typing :: Typed
|
|
29
|
+
Requires-Python: >=3.10
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
License-File: LICENSE
|
|
32
|
+
Requires-Dist: click>=8.1.0
|
|
33
|
+
Requires-Dist: rich>=13.0.0
|
|
34
|
+
Requires-Dist: requests>=2.32.0
|
|
35
|
+
Requires-Dist: pyyaml>=6.0.0
|
|
36
|
+
Requires-Dist: pydantic>=2.0
|
|
37
|
+
Requires-Dist: msal>=1.31.0
|
|
38
|
+
Requires-Dist: pyperclip>=1.8.0
|
|
39
|
+
Provides-Extra: engine
|
|
40
|
+
Requires-Dist: openai>=1.0.0; extra == "engine"
|
|
41
|
+
Requires-Dist: anthropic>=0.20.0; extra == "engine"
|
|
42
|
+
Requires-Dist: google-generativeai>=0.3.0; extra == "engine"
|
|
43
|
+
Requires-Dist: websockets>=12.0; extra == "engine"
|
|
44
|
+
Provides-Extra: firewall
|
|
45
|
+
Requires-Dist: humanbound-firewall>=0.2; extra == "firewall"
|
|
46
|
+
Requires-Dist: scikit-learn>=1.3.0; extra == "firewall"
|
|
47
|
+
Requires-Dist: torch>=2.0.0; extra == "firewall"
|
|
48
|
+
Provides-Extra: mcp
|
|
49
|
+
Requires-Dist: mcp>=1.2.0; extra == "mcp"
|
|
50
|
+
Provides-Extra: pytest
|
|
51
|
+
Requires-Dist: pytest>=7.0.0; extra == "pytest"
|
|
52
|
+
Provides-Extra: dev
|
|
53
|
+
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
54
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
|
|
55
|
+
Requires-Dist: pytest-timeout>=2.3; extra == "dev"
|
|
56
|
+
Requires-Dist: ruff>=0.6; extra == "dev"
|
|
57
|
+
Requires-Dist: mypy>=1.11; extra == "dev"
|
|
58
|
+
Requires-Dist: build>=1.2; extra == "dev"
|
|
59
|
+
Requires-Dist: twine>=5.0; extra == "dev"
|
|
60
|
+
Requires-Dist: pre-commit>=3.8; extra == "dev"
|
|
61
|
+
Dynamic: license-file
|
|
62
|
+
|
|
63
|
+
<p align="center">
|
|
64
|
+
<picture>
|
|
65
|
+
<source media="(prefers-color-scheme: dark)" srcset="assets/logo-light.svg"/>
|
|
66
|
+
<source media="(prefers-color-scheme: light)" srcset="assets/logo-dark.svg"/>
|
|
67
|
+
<img src="assets/logo-dark.svg" alt="Humanbound" width="280"/>
|
|
68
|
+
</picture>
|
|
69
|
+
</p>
|
|
70
|
+
|
|
71
|
+
<h3 align="center">humanbound</h3>
|
|
72
|
+
|
|
73
|
+
<p align="center">
|
|
74
|
+
Open-source AI agent red-team engine, SDK, and CLI.
|
|
75
|
+
<br/>
|
|
76
|
+
Runs locally or against the Humanbound Platform. No login required to start.
|
|
77
|
+
</p>
|
|
78
|
+
|
|
79
|
+
<p align="center">
|
|
80
|
+
<a href="#quick-start">Quick Start</a> ·
|
|
81
|
+
<a href="#cli-usage">CLI</a> ·
|
|
82
|
+
<a href="#python-sdk">SDK</a> ·
|
|
83
|
+
<a href="https://docs.humanbound.ai/">Documentation</a> ·
|
|
84
|
+
<a href="#contributing">Contributing</a>
|
|
85
|
+
</p>
|
|
86
|
+
|
|
87
|
+
<p align="center">
|
|
88
|
+
<a href="https://pypi.org/project/humanbound/"><img src="https://img.shields.io/pypi/v/humanbound?style=flat-square&color=FD9506" alt="PyPI version"/></a>
|
|
89
|
+
<a href="https://pypi.org/project/humanbound/"><img src="https://img.shields.io/pypi/pyversions/humanbound?style=flat-square&color=FD9506" alt="Python versions"/></a>
|
|
90
|
+
<a href="https://pypi.org/project/humanbound/"><img src="https://img.shields.io/pypi/dm/humanbound?style=flat-square&color=FD9506" alt="Downloads"/></a>
|
|
91
|
+
<a href="https://github.com/humanbound/humanbound/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/humanbound/humanbound/ci.yml?style=flat-square&color=FD9506" alt="CI"/></a>
|
|
92
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-FD9506?style=flat-square" alt="License"/></a>
|
|
93
|
+
<a href="https://discord.gg/gQyXjVBF"><img src="https://img.shields.io/badge/discord-community-FD9506?style=flat-square" alt="Discord"/></a>
|
|
94
|
+
<a href="https://docs.humanbound.ai/"><img src="https://img.shields.io/badge/docs-humanbound.ai-FD9506?style=flat-square" alt="Docs"/></a>
|
|
95
|
+
</p>
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
> 📖 **Full documentation** lives at [**docs.humanbound.ai**](https://docs.humanbound.ai/) —
|
|
100
|
+
> this README covers the essentials; the docs have the depth.
|
|
101
|
+
|
|
102
|
+
## Quick Start
|
|
103
|
+
|
|
104
|
+
### Install
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
pip install humanbound # CLI + SDK, core deps
|
|
108
|
+
pip install humanbound[engine] # + OpenAI / Anthropic / Gemini providers
|
|
109
|
+
pip install humanbound[firewall] # + humanbound-firewall runtime
|
|
110
|
+
pip install humanbound[engine,firewall] # everything
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### CLI usage
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
# Configure your LLM provider
|
|
117
|
+
export HB_PROVIDER=openai
|
|
118
|
+
export HB_API_KEY=sk-...
|
|
119
|
+
|
|
120
|
+
# Run a security test
|
|
121
|
+
hb test --endpoint ./bot-config.json --repo . --wait
|
|
122
|
+
|
|
123
|
+
# View results
|
|
124
|
+
hb posture # security score (0-100, A-F)
|
|
125
|
+
hb logs # conversation logs
|
|
126
|
+
hb report -o report.html # HTML report
|
|
127
|
+
hb guardrails -o rules.yaml # firewall rules
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Full air-gap with [Ollama](https://ollama.com) — zero external API calls:
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
export HB_PROVIDER=ollama
|
|
134
|
+
export HB_MODEL=llama3.1:8b
|
|
135
|
+
hb test --endpoint ./bot-config.json --scope ./scope.yaml --wait
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Python SDK
|
|
139
|
+
|
|
140
|
+
```python
|
|
141
|
+
from humanbound import Bot, LocalRunner, OwaspAgentic, TestingLevel, EngineCallbacks
|
|
142
|
+
|
|
143
|
+
# Compose your own test pipeline
|
|
144
|
+
bot = Bot(endpoint="https://my-agent/chat", api_key="...")
|
|
145
|
+
|
|
146
|
+
class Callbacks(EngineCallbacks):
|
|
147
|
+
def on_finding(self, insight): ...
|
|
148
|
+
def on_progress(self, pct): ...
|
|
149
|
+
|
|
150
|
+
runner = LocalRunner()
|
|
151
|
+
# See docs.humanbound.ai for the full example
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## Stability contract
|
|
155
|
+
|
|
156
|
+
| Import path | Stability |
|
|
157
|
+
|---|---|
|
|
158
|
+
| `from humanbound import X` | **Stable** — semver-protected |
|
|
159
|
+
| `from humanbound.<module> import Y` | **Stable** — semver-protected |
|
|
160
|
+
| `from humanbound_cli.* import Z` | **Internal** — may change any release, do not import from user code |
|
|
161
|
+
|
|
162
|
+
The full Tier-by-Tier walkthrough, orchestrator authoring guide, Platform
|
|
163
|
+
integration, and API reference all live on
|
|
164
|
+
[docs.humanbound.ai](https://docs.humanbound.ai/).
|
|
165
|
+
|
|
166
|
+
## What's shipping in 2.0
|
|
167
|
+
|
|
168
|
+
- **Clean name**: `humanbound` is the new PyPI install. The old
|
|
169
|
+
`humanbound-cli` is a transitional stub that will be yanked after
|
|
170
|
+
2026-06-20.
|
|
171
|
+
- **Public SDK namespace** alongside the CLI — use the CLI or drive the
|
|
172
|
+
engine from Python. Both share the same implementation, so they can't
|
|
173
|
+
drift.
|
|
174
|
+
- **Firewall integration**: `pip install humanbound[firewall]` pulls the
|
|
175
|
+
renamed [`humanbound-firewall`](https://github.com/humanbound/humanbound-firewall)
|
|
176
|
+
(formerly `hb-firewall`) alongside the CLI.
|
|
177
|
+
|
|
178
|
+
See [CHANGELOG.md](./CHANGELOG.md) for the full 2.0.0 release notes.
|
|
179
|
+
|
|
180
|
+
## Contributing
|
|
181
|
+
|
|
182
|
+
Contributions welcome. See [CONTRIBUTING.md](./CONTRIBUTING.md) for the dev
|
|
183
|
+
loop, release process, and CLA requirement (see [CLA.md](./CLA.md)).
|
|
184
|
+
|
|
185
|
+
- 🐛 [Report a bug](https://github.com/humanbound/humanbound/issues/new/choose)
|
|
186
|
+
- 💡 [Request a feature](https://github.com/humanbound/humanbound/issues/new/choose)
|
|
187
|
+
- 🔒 [Report a security issue](./SECURITY.md) — **not via public Issues**
|
|
188
|
+
- 💬 [Join Discord](https://discord.gg/gQyXjVBF)
|
|
189
|
+
|
|
190
|
+
## License
|
|
191
|
+
|
|
192
|
+
[Apache-2.0](./LICENSE). Free to use in any context — commercial or
|
|
193
|
+
open-source — with attribution. See [TRADEMARK.md](./TRADEMARK.md) for the
|
|
194
|
+
trademark policy. The code is open; the name is not.
|
|
195
|
+
|
|
196
|
+
The sibling project [`humanbound-firewall`](https://github.com/humanbound/humanbound-firewall)
|
|
197
|
+
is dual-licensed (AGPL-3.0 + commercial) — different product, different
|
|
198
|
+
license strategy.
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
<p align="center">
|
|
203
|
+
<sub><em>Humanbound is the trading name of AI and Me Single-Member Private Company, incorporated in Greece.</em></sub>
|
|
204
|
+
</p>
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
humanbound/__init__.py,sha256=tcnBebZgFSaBnkNts_ibCf31xW8RUatfmFdYSi-1lgI,1288
|
|
2
|
+
humanbound/bot.py,sha256=488CB0deBaVZeL4_Mj_FwxE4P0wp9QT42CdlSGZW6oo,247
|
|
3
|
+
humanbound/callbacks.py,sha256=IB9A_gkC5ASQCma3FZ5V0Vx5tZBrrOg4xJS7qp4oi8U,244
|
|
4
|
+
humanbound/orchestrators.py,sha256=I2BSJdzCdldaLXkGFQnwRvdkDtpeZ8lyb0SNssqBS8c,833
|
|
5
|
+
humanbound/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
humanbound/runner.py,sha256=pluB-90dXeV9XmkcWlf0eupLCykJboGVl7oEtPL24so,246
|
|
7
|
+
humanbound/schemas.py,sha256=gP6cFLugI_rJ6sHS1AM_2x8chRrrhYMWPKT3-lua6bU,613
|
|
8
|
+
humanbound-2.0.0.dist-info/licenses/LICENSE,sha256=vTekb5aDQW1GVj7zJAEu79QsSHCaB3SYRUlXhPM8Bxg,10824
|
|
9
|
+
humanbound_cli/__init__.py,sha256=Z5HX15cHo72nFYdYFgArytmGSpSFhdfIqZu8SxrB2wA,281
|
|
10
|
+
humanbound_cli/client.py,sha256=pTS9QlNGyKdEL676tlsGCy-HXx-3c9_X-QuLOfmKkvs,48569
|
|
11
|
+
humanbound_cli/config.py,sha256=nrCirw7f97Zo2s2l3NLDIZl386rw20e9lb5Ske8OEkM,1315
|
|
12
|
+
humanbound_cli/exceptions.py,sha256=5-tLhAX6iVHbuXEVjiVa7-39Gm31S6_Hi7adE8Bwtrk,1376
|
|
13
|
+
humanbound_cli/main.py,sha256=dqA-xnkzJbyEI_t1vAexnVBfh5IILQ8IMQkqOVwwCPA,6510
|
|
14
|
+
humanbound_cli/mcp_server.py,sha256=CrIcAWS9b3Zwl75BWfPHUpbJI_ozi_gEFz1uehlgrP0,60045
|
|
15
|
+
humanbound_cli/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
|
+
humanbound_cli/report.py,sha256=VJ8Ja_kzZGCOUvO9Cg34nF8s-MlsWzvxCfPaqExwLRc,11907
|
|
17
|
+
humanbound_cli/report_builder.py,sha256=_fVFd_nswKyZvhIydxJEPz1PoI1SUx78tGjyeo7KgK4,33425
|
|
18
|
+
humanbound_cli/adapters/__init__.py,sha256=QFTMq9rV0eSQoRERMcyGUwQLrsyZkrmbeooOFWWA3Ds,2128
|
|
19
|
+
humanbound_cli/adapters/promptfoo.py,sha256=UIg_K8yuhT_I3cduN93Gyjp8ZIpN5n8lRRRPnmk2Dss,1877
|
|
20
|
+
humanbound_cli/adapters/pyrit.py,sha256=iIz1XjmINu-M_qfxa4P9GXIild6zg84Ds4jfWlLgB6A,1708
|
|
21
|
+
humanbound_cli/commands/__init__.py,sha256=DBZrme2jiTOa8Y7TqrVnpv5MxrjD6-8q5dp1z7LORf4,965
|
|
22
|
+
humanbound_cli/commands/_report_helper.py,sha256=LYx3OBdScCYSsGn245J-YGTPI3v2nd3Lq1jAyN2q1FI,2397
|
|
23
|
+
humanbound_cli/commands/api_keys.py,sha256=Eod2WpibQfb63Wm3hZbUlFZu07XtxymOlX5aHkMtoC8,7628
|
|
24
|
+
humanbound_cli/commands/assessments.py,sha256=4PmISlI5DyuQgJAFOFd1NRix4Rijy91PE1Yc3XBEsrA,7855
|
|
25
|
+
humanbound_cli/commands/auth.py,sha256=B_XTycl28jfke58HE3tcA2yeEeaUn6LIF24qcxvavVU,6888
|
|
26
|
+
humanbound_cli/commands/campaigns.py,sha256=mUen4bX9WlkAFBc9UpmL9dSNhQvjnoDYcceK_gdqQOw,6018
|
|
27
|
+
humanbound_cli/commands/completion.py,sha256=ZU9X7gLwAMSrolrlHCYPm7i_N-cvXshZzAgwtj08_zU,2006
|
|
28
|
+
humanbound_cli/commands/config_cmd.py,sha256=7tr08lHKUVjvYqxxM1E7GGw0MLp3wCMXm-jjBVIF4e8,5574
|
|
29
|
+
humanbound_cli/commands/connect.py,sha256=xY-YXWPP0dQzFvBWIY4sVtZRgkHXPZpW6o3bh7OxbEM,27164
|
|
30
|
+
humanbound_cli/commands/docs.py,sha256=KKcNUUxwWGk64197sj_nEI5cBxLqWd-RZ_L1sEJiVfE,3847
|
|
31
|
+
humanbound_cli/commands/experiments.py,sha256=DSX7-5HJN4XduOb61Acd9HkPiR_7SB8URFd8GhGhPmc,19649
|
|
32
|
+
humanbound_cli/commands/findings.py,sha256=3sddRlxCOdLmfb8Pdgslq6UN9qmRNB7pf0yzU-NBGGA,8853
|
|
33
|
+
humanbound_cli/commands/firewall.py,sha256=7iJtky1GKOZ_x03OHM-Mdw7bwuJ390tC3GwOxJdJXZA,14325
|
|
34
|
+
humanbound_cli/commands/guardrails.py,sha256=J235Xrpq3jgQcM5WQMneJ08oCnJjuhIT2_yM9eEXn_g,7043
|
|
35
|
+
humanbound_cli/commands/logs.py,sha256=XeArjkpHVqEX_MIXwD4M3rUzpONzQhY2Fa44titEV64,28101
|
|
36
|
+
humanbound_cli/commands/mcp.py,sha256=KtPoqZSHfyVC3Q3TPW5QW14pK8NnZ4cNOFv48SOlYLs,936
|
|
37
|
+
humanbound_cli/commands/members.py,sha256=GpcqmzJYRkFwpStzudVLVR4ur7ReCTASu8ed4oZRjkU,5994
|
|
38
|
+
humanbound_cli/commands/monitor.py,sha256=HwV57dios2MZw7NXmQ2j0_sGEC9lKvUZSERtnFD8XI8,4470
|
|
39
|
+
humanbound_cli/commands/orgs.py,sha256=tFp6yWQHQAJFqEdGpDXm8CEm21L16i3THs6dk5uju5M,7186
|
|
40
|
+
humanbound_cli/commands/posture.py,sha256=jhASgwklyEFapc2oMtS30_HlF0Z95dAAoU12ZhZJ6Kw,18582
|
|
41
|
+
humanbound_cli/commands/projects.py,sha256=5J6Oee0g9blHKeb3-QZDMq7GHBWJIvqvCncRcDuJbVE,14888
|
|
42
|
+
humanbound_cli/commands/providers.py,sha256=4u0ELhXCQ7iYtCU50gZkfiJEmlvQlIDm-s7gePFc_Q8,11152
|
|
43
|
+
humanbound_cli/commands/redteam.py,sha256=8zsKXtyb9lXkopqCThGaSKiuvUrtKcpbHGMNrCTivcA,20807
|
|
44
|
+
humanbound_cli/commands/report.py,sha256=b5w06FZEsiYjSNr_7RJqvHyd7mmO-iJI3fMI9XnP_Y4,7040
|
|
45
|
+
humanbound_cli/commands/scan.py,sha256=Wt2t8LCSpcvbo80vLlsl_2Qy9RyscE2LfZr0nLA0KLg,131
|
|
46
|
+
humanbound_cli/commands/sentinel.py,sha256=Xd5extE0UUOW3xZRmM3WOB1N8hI2GqEg_fPC3bgbUXw,37510
|
|
47
|
+
humanbound_cli/commands/test.py,sha256=_fsZ4sfMCDESREvNsCKpbzRhbEfs6XPMRvX2r3HSuyA,28175
|
|
48
|
+
humanbound_cli/commands/upload_logs.py,sha256=nLHqkmGLlfaopzawpEUD6HUQSM8A0oCWeafuM1aCNJg,4209
|
|
49
|
+
humanbound_cli/commands/webhooks.py,sha256=rK74OdVSJtj901WW2F86vVOadiPSJ9GRw1hnjin8T0c,10605
|
|
50
|
+
humanbound_cli/connectors/__init__.py,sha256=vKMQNh-ff_AP1stFeHWXh7yGITsC0zW9oVBJ54GB440,127
|
|
51
|
+
humanbound_cli/connectors/microsoft.py,sha256=snXOcBOytFMrFSEDZUupNd8M9GTgA36rO4f3PU7LesA,71761
|
|
52
|
+
humanbound_cli/engine/__init__.py,sha256=ay24v7VreH_1Kom5nu9orixNFPbqjULbyw4w9E1HCbA,1110
|
|
53
|
+
humanbound_cli/engine/bot.py,sha256=5eUJyxdfrXfEsoUfUgAwL13nzaBv2qYXxdUCAxsuQBQ,67263
|
|
54
|
+
humanbound_cli/engine/callbacks.py,sha256=-WXikOkJHi6PRAP4DJUVIstHQB8cFc5eKwx_3fc_GwU,1519
|
|
55
|
+
humanbound_cli/engine/local_runner.py,sha256=_Qw0sJWNzAWi6vxLs-46js1Q6pyyEaAqbDwIv2Vvin4,17970
|
|
56
|
+
humanbound_cli/engine/platform_runner.py,sha256=HGJ8wX0GHrvCErzOMBhMHEFhywbPpa7Q4-6qRv2FFg8,5270
|
|
57
|
+
humanbound_cli/engine/presenter.py,sha256=kVX2Z4uRsiUBffwZrixxFcyYXE9shwndIOdw_CH8W40,7752
|
|
58
|
+
humanbound_cli/engine/runner.py,sha256=V5Hoy3h7_mlB9usWJsYdcnGT6apUGokLKCj3H5kpJw8,3577
|
|
59
|
+
humanbound_cli/engine/schemas.py,sha256=JLzgACVTsUD-q-P0lNnNZg4e9QCFWW5kcOl-mpJQkR0,6887
|
|
60
|
+
humanbound_cli/engine/scope.py,sha256=VyjU0S1gEjLiP6wJ9D08beWyHijoVi74DBc0pXuIVlI,8284
|
|
61
|
+
humanbound_cli/engine/llm/__init__.py,sha256=lgmNNnDD732R4hCwa_ba1A9x79S6ee-Vhk6kmIpt0c8,1246
|
|
62
|
+
humanbound_cli/engine/llm/azureopenai.py,sha256=Oqmoqf5bpRavtTnM0VVBtANd5jpXHtwn63m1kCEUIn4,8650
|
|
63
|
+
humanbound_cli/engine/llm/claude.py,sha256=UTbLKPqXk5Aoxx0HfWVl13mxL-iezmx0Mul59Ck4I2I,3148
|
|
64
|
+
humanbound_cli/engine/llm/gemini.py,sha256=2O7p59cNQrEyvEJ9NVLdu1S7RMX-ovNCAAfyTM_Pe3w,2979
|
|
65
|
+
humanbound_cli/engine/llm/grok.py,sha256=Z9ts9bDxA1rzEMn1mUaLt2VItgVOp_KFcJMeZnBmPLc,2755
|
|
66
|
+
humanbound_cli/engine/llm/ollama.py,sha256=z4LkcVcJBuR3rF1EaHtQTJEw3pew9gxjRiSKZ-C36Eo,3085
|
|
67
|
+
humanbound_cli/engine/llm/openai.py,sha256=g1-hdje9dXLPRaJ-w1012fOEUFP7-cDRtvNLPdSvzkQ,4599
|
|
68
|
+
humanbound_cli/engine/orchestrators/__init__.py,sha256=WQlp0pPrDDV-hPhiBgr6rvVkBtlx3Ye7-3f4L3Xa58c,75
|
|
69
|
+
humanbound_cli/engine/orchestrators/base.py,sha256=tYdTn3O8TX1bSQIQRamYLKrn92IAJSOp27jaxpFIRUc,2185
|
|
70
|
+
humanbound_cli/engine/orchestrators/behavioral_qa/__init__.py,sha256=2TBSQLmeSQsu_n3v0VKEn43C2MbaFna57y4FM__8FMA,158
|
|
71
|
+
humanbound_cli/engine/orchestrators/behavioral_qa/config.py,sha256=DfCzks6Y5tRT7y4FeKiLvROkiDTuVICzF_DlKSyP4FU,10236
|
|
72
|
+
humanbound_cli/engine/orchestrators/behavioral_qa/generator.py,sha256=TBFjOfotSdsDdSDiyrYRJsdNpjqcI0RBgtafnF2gjS4,7261
|
|
73
|
+
humanbound_cli/engine/orchestrators/behavioral_qa/judge.py,sha256=IoJJzRXE_WXJ2WNF4lecNLVjq1me21ROywkIFoLw5wE,8488
|
|
74
|
+
humanbound_cli/engine/orchestrators/behavioral_qa/orchestrator.py,sha256=nJrjM_Jsa8_yqD_0tJqadi3dfHX_530m_r7Ox_FPVCE,8961
|
|
75
|
+
humanbound_cli/engine/orchestrators/owasp_agentic/__init__.py,sha256=PQFD9E2xtaQS1q9hLxGL6y8HCJCXJ_9iVm0N2lTr9og,158
|
|
76
|
+
humanbound_cli/engine/orchestrators/owasp_agentic/config.py,sha256=iYjRflZ7BUhL36W4o5YebXoEtSdXcn0c5KX8zHEv6Do,112880
|
|
77
|
+
humanbound_cli/engine/orchestrators/owasp_agentic/generator.py,sha256=slL4vASywaG0WGg__wZhbwJ0t0fmoSBcKZkpqTKVOp8,18455
|
|
78
|
+
humanbound_cli/engine/orchestrators/owasp_agentic/judge.py,sha256=-5UYTUBMZXYfFxPmUM1EB26DuOowIxn8hnVpY-cf1m8,18752
|
|
79
|
+
humanbound_cli/engine/orchestrators/owasp_agentic/orchestrator.py,sha256=r3H8JxRXBp8GyvIOU__5ND6sNO5X-V0ZJEDHX9i4zg4,13451
|
|
80
|
+
humanbound_cli/engine/orchestrators/owasp_single_turn/__init__.py,sha256=H6mNj0_edgFMF5x8yJWSN5e_Z4EmViTAx-THvWTQEhk,153
|
|
81
|
+
humanbound_cli/engine/orchestrators/owasp_single_turn/config.py,sha256=-GfpFnE2lHWDDDrQayvR4w_sYQ08KGcCpQzppvZ0Htk,19007
|
|
82
|
+
humanbound_cli/engine/orchestrators/owasp_single_turn/generator.py,sha256=0tPU9LqQC_W5oNDQt0ACXUDU0X0uP25J27FQUIu2I9s,17828
|
|
83
|
+
humanbound_cli/engine/orchestrators/owasp_single_turn/judge.py,sha256=iF6SHWwIW152GdGnlPmMRK609f2WDLN_qtsroFVvP3g,16818
|
|
84
|
+
humanbound_cli/engine/orchestrators/owasp_single_turn/orchestrator.py,sha256=Ldj0nSYz2B3ONVCVleJu9NtMdkDQ38O3jEOZopHoYPs,7626
|
|
85
|
+
humanbound_cli/extractors/__init__.py,sha256=DjVkXpGqtqSi3pODYcTQoRWpLS9DYfWTx0noiFXHQwM,245
|
|
86
|
+
humanbound_cli/extractors/openapi.py,sha256=gsRDwX1yNg7eR9Ra8kbtkO83uKZLcxZuqCUBjUqnVpI,7216
|
|
87
|
+
humanbound_cli/extractors/repo.py,sha256=uDBIA2fPsTqS2rYnV7zxS98RPt_HixZiUq1jYFfBRks,10198
|
|
88
|
+
humanbound_cli/pytest_plugin/__init__.py,sha256=XzumytWSEtlVcYLCujz1fdWCuuG7Cywp9OXOuIkyn74,5807
|
|
89
|
+
humanbound_cli/pytest_plugin/fixtures.py,sha256=nqKdnKmjv32HZ8c2BGaTBrPEN8yr31i6MDiWjGUslHc,12495
|
|
90
|
+
humanbound_cli/pytest_plugin/report.py,sha256=XKD2aYB76F6JDzaaxksaMv0rcJm1f9eyXEBFGj1V9hk,4502
|
|
91
|
+
humanbound_cli/templates/logo.svg,sha256=zLAE-o2ZJyz9qrDbVoH0XvgcpWfGWfZ-oxeTProN1_o,8397
|
|
92
|
+
humanbound-2.0.0.dist-info/METADATA,sha256=rnHeaGnK3p1UmsQcM-oNng-WNuKLlMEAI50sY_dJOFU,8216
|
|
93
|
+
humanbound-2.0.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
94
|
+
humanbound-2.0.0.dist-info/entry_points.txt,sha256=S2AUo-k3A0CQv1o4oLjAfCKfzfQwtg3vdZnpJMk6Pbs,94
|
|
95
|
+
humanbound-2.0.0.dist-info/top_level.txt,sha256=-iFlGDuefzeqRoZ5YGfNHzn3xW93TbHDjvHF1PG_yjc,26
|
|
96
|
+
humanbound-2.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
humanbound
|
|
2
|
+
Copyright (C) 2024-2026 AI and Me Single-Member Private Company (also known as Humanbound)
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
|
|
16
|
+
===============================================================================
|
|
17
|
+
|
|
18
|
+
Apache License
|
|
19
|
+
Version 2.0, January 2004
|
|
20
|
+
http://www.apache.org/licenses/
|
|
21
|
+
|
|
22
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
23
|
+
|
|
24
|
+
1. Definitions.
|
|
25
|
+
|
|
26
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
27
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
28
|
+
|
|
29
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
30
|
+
the copyright owner that is granting the License.
|
|
31
|
+
|
|
32
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
33
|
+
other entities that control, are controlled by, or are under common
|
|
34
|
+
control with that entity. For the purposes of this definition,
|
|
35
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
36
|
+
direction or management of such entity, whether by contract or
|
|
37
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
38
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
39
|
+
|
|
40
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
41
|
+
exercising permissions granted by this License.
|
|
42
|
+
|
|
43
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
44
|
+
including but not limited to software source code, documentation
|
|
45
|
+
source, and configuration files.
|
|
46
|
+
|
|
47
|
+
"Object" form shall mean any form resulting from mechanical
|
|
48
|
+
transformation or translation of a Source form, including but
|
|
49
|
+
not limited to compiled object code, generated documentation,
|
|
50
|
+
and conversions to other media types.
|
|
51
|
+
|
|
52
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
53
|
+
Object form, made available under the License, as indicated by a
|
|
54
|
+
copyright notice that is included in or attached to the work
|
|
55
|
+
(an example is provided in the Appendix below).
|
|
56
|
+
|
|
57
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
58
|
+
form, that is based on (or derived from) the Work and for which the
|
|
59
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
60
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
61
|
+
of this License, Derivative Works shall not include works that remain
|
|
62
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
63
|
+
the Work and Derivative Works thereof.
|
|
64
|
+
|
|
65
|
+
"Contribution" shall mean any work of authorship, including
|
|
66
|
+
the original version of the Work and any modifications or additions
|
|
67
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
68
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
69
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
70
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
71
|
+
means any form of electronic, verbal, or written communication sent
|
|
72
|
+
to the Licensor or its representatives, including but not limited to
|
|
73
|
+
communication on electronic mailing lists, source code control systems,
|
|
74
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
75
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
76
|
+
excluding communication that is conspicuously marked or otherwise
|
|
77
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
78
|
+
|
|
79
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
80
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
81
|
+
subsequently incorporated within the Work.
|
|
82
|
+
|
|
83
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
84
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
85
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
86
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
87
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
88
|
+
Work and such Derivative Works in Source or Object form.
|
|
89
|
+
|
|
90
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
91
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
92
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
93
|
+
(except as stated in this section) patent license to make, have made,
|
|
94
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
95
|
+
where such license applies only to those patent claims licensable
|
|
96
|
+
by such Contributor that are necessarily infringed by their
|
|
97
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
98
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
99
|
+
institute patent litigation against any entity (including a
|
|
100
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
101
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
102
|
+
or contributory patent infringement, then any patent licenses
|
|
103
|
+
granted to You under this License for that Work shall terminate
|
|
104
|
+
as of the date such litigation is filed.
|
|
105
|
+
|
|
106
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
107
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
108
|
+
modifications, and in Source or Object form, provided that You
|
|
109
|
+
meet the following conditions:
|
|
110
|
+
|
|
111
|
+
(a) You must give any other recipients of the Work or
|
|
112
|
+
Derivative Works a copy of this License; and
|
|
113
|
+
|
|
114
|
+
(b) You must cause any modified files to carry prominent notices
|
|
115
|
+
stating that You changed the files; and
|
|
116
|
+
|
|
117
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
118
|
+
that You distribute, all copyright, patent, trademark, and
|
|
119
|
+
attribution notices from the Source form of the Work,
|
|
120
|
+
excluding those notices that do not pertain to any part of
|
|
121
|
+
the Derivative Works; and
|
|
122
|
+
|
|
123
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
124
|
+
distribution, then any Derivative Works that You distribute must
|
|
125
|
+
include a readable copy of the attribution notices contained
|
|
126
|
+
within such NOTICE file, excluding those notices that do not
|
|
127
|
+
pertain to any part of the Derivative Works, in at least one
|
|
128
|
+
of the following places: within a NOTICE text file distributed
|
|
129
|
+
as part of the Derivative Works; within the Source form or
|
|
130
|
+
documentation, if provided along with the Derivative Works; or,
|
|
131
|
+
within a display generated by the Derivative Works, if and
|
|
132
|
+
wherever such third-party notices normally appear. The contents
|
|
133
|
+
of the NOTICE file are for informational purposes only and
|
|
134
|
+
do not modify the License. You may add Your own attribution
|
|
135
|
+
notices within Derivative Works that You distribute, alongside
|
|
136
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
137
|
+
that such additional attribution notices cannot be construed
|
|
138
|
+
as modifying the License.
|
|
139
|
+
|
|
140
|
+
You may add Your own copyright statement to Your modifications and
|
|
141
|
+
may provide additional or different license terms and conditions
|
|
142
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
143
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
144
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
145
|
+
the conditions stated in this License.
|
|
146
|
+
|
|
147
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
148
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
149
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
150
|
+
this License, without any additional terms or conditions.
|
|
151
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
152
|
+
the terms of any separate license agreement you may have executed
|
|
153
|
+
with Licensor regarding such Contributions.
|
|
154
|
+
|
|
155
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
156
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
157
|
+
except as required for describing the origin of the Work and
|
|
158
|
+
reproducing the content of the NOTICE file.
|
|
159
|
+
|
|
160
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
161
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
162
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
163
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
164
|
+
implied, including, without limitation, any warranties or conditions
|
|
165
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
166
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
167
|
+
appropriateness of using or redistributing the Work and assume any
|
|
168
|
+
risks associated with Your exercise of permissions under this License.
|
|
169
|
+
|
|
170
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
171
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
172
|
+
unless required by applicable law (such as deliberate and grossly
|
|
173
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
174
|
+
liable to You for damages, including any direct, indirect, special,
|
|
175
|
+
incidental, or consequential damages of any character arising as a
|
|
176
|
+
result of this License or out of the use or inability to use the
|
|
177
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
178
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
179
|
+
other commercial damages or losses), even if such Contributor
|
|
180
|
+
has been advised of the possibility of such damages.
|
|
181
|
+
|
|
182
|
+
9. Accepting Warranty or Support. While redistributing the Work or
|
|
183
|
+
Derivative Works thereof, You may choose to offer, and charge a
|
|
184
|
+
fee for, acceptance of support, warranty, indemnity, or other
|
|
185
|
+
liability obligations and/or rights consistent with this License.
|
|
186
|
+
However, in accepting such obligations, You may act only on Your
|
|
187
|
+
own behalf and on Your sole responsibility, not on behalf of any
|
|
188
|
+
other Contributor, and only if You agree to indemnify, defend,
|
|
189
|
+
and hold each Contributor harmless for any liability incurred by,
|
|
190
|
+
or claims asserted against, such Contributor by reason of your
|
|
191
|
+
accepting any such warranty or support.
|
|
192
|
+
|
|
193
|
+
END OF TERMS AND CONDITIONS
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
# Copyright (c) 2024-2026 Humanbound
|
|
3
|
+
"""Humanbound CLI - command line interface for AI agent security testing."""
|
|
4
|
+
|
|
5
|
+
from importlib.metadata import version as _v
|
|
6
|
+
|
|
7
|
+
try:
|
|
8
|
+
__version__ = _v("humanbound")
|
|
9
|
+
except Exception:
|
|
10
|
+
__version__ = "dev"
|