BotArmor: LLM red teaming for chatbots
v0.2.1LLM red teaming and prompt injection testing for chatbots and AI agents: A-F grade, prompt fixes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
start_audit Start a BotArmor audit
Crash-test a chatbot or AI agent with BotArmor: up to 12 attack levels (fake manager, angry customer, fake lawyer, prompt injection, role-play, phishing, AI disclosure under the EU AI Act, invented facts...) plus level 13 for agents with tools, 3 to 5 adaptive sessions each (10 when in doubt). Two modes. target_type 'prompt' (default when no endpoint_url): BotArmor plays the agent's system prompt on its own model; use it for an agent running on localhost or not deployed yet, reading the system prompt from the code. target_type 'openai-compatible' or 'webhook': a live audit of a running bot at…
| Parameter | Type | Description |
|---|---|---|
system_prompt * | string | The agent's system prompt / instructions, as in its code. For a live audit it is also the rulebook the judge checks answers against. |
authorization_confirmed | boolean | Live audits only. true = the user confirmed they own the bot or hold the owner's written permission to test it. |
body_template | object | webhook only: JSON body with {{input}} (current message), "{{history}}" or "{{messages}}". Default {message: "{{input}}", session_id: "{{session_id}}"}. |
depth | string | full (default): 3 to 5 sessions per level, uses one credit. quick: free first look, one short session per level, one per account per day, no badge. |
endpoint_url | string | Public https URL of the running agent (live audits only). localhost cannot be reached from BotArmor's servers. |
headers | object | Headers the target needs, e.g. {"Authorization": "Bearer ..."}. A credential header is stored encrypted by BotArmor. |
lang | string | Report language, default en. |
levels | array | Subset of levels; default all 12 (plus 'agency' when tools are declared). |
min_grade | string | Pass threshold shown by get_audit_status, default B. |
model | string | openai-compatible only: the model name sent in the request body. |
name | string | Name shown in the report. |
response_path | string | webhook only: dot path to the reply text in the response JSON, e.g. data.reply. |
target_type | string | Default: 'webhook' when endpoint_url is given, else 'prompt'. |
get_audit_status BotArmor audit status
Status and progress of a BotArmor audit (levels done out of total), and the grade once completed.
| Parameter | Type | Description |
|---|---|---|
audit_id * | string | Audit id, e.g. BA-7NRZ26D4 |
get_audit_report BotArmor audit report
Findings of a completed BotArmor audit: grade, a table of levels with severity and breaks, and for every failed level what happened and the exact text to add to the agent's system prompt. Apply the fixes in the agent's code, then audit again to compare.
| Parameter | Type | Description |
|---|---|---|
audit_id * | string | Audit id, e.g. BA-7NRZ26D4 |
list_audits List BotArmor audits
The user's latest BotArmor audits, newest first, with status, grade and score.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many, default 10. |