AutoGPT
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
- 188k
- Python
- 2 h ago
Official GitHub Actions for Humanbound — adversarial security testing for AI agents in CI.
Repo humanbound/actions, read from GitHub 17 h ago. humanbound has not joined Take My Repo.
humanbound/actions is a public repo on GitHub by humanbound. Official GitHub Actions for Humanbound — adversarial security testing for AI agents in CI. It declares the Apache-2.0 license on GitHub. It is written mainly in Python, has 3 stars and last changed on 2026-11-17. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-23.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
Adversarial security testing for AI agents, on every push.
Wraps hb test in a GitHub Action:
OWASP-aligned adversarial & behavioral tests — prompt injection, tool misuse, data exfiltration, and more —
findings gate your build and land in GitHub's Security tab.
Quickstart · How it works · Scenarios · Inputs · Documentation
category (test catalog)fail-on: high turns findings into a red buildIf this action is useful to you, a ⭐ on this repo and humanbound/humanbound helps others find it.
| Action | Reference | What it does |
|---|---|---|
| Test | humanbound/actions@v1 |
Adversarial security testing as a CI gate — documented below. |
Boot your agent in the job, point the action at it, and fail the build on high-severity findings — local mode, no account needed:
# .github/workflows/agent-security.yml name: Agent security on: [pull_request] jobs: security: runs-on: ubuntu-latest steps: - run: docker compose up -d agent # start your agent, reachable on localhost - uses: humanbound/actions@v1 with: # Your agent's config — inline here; a file or a build step also work (see below) endpoint: | { "streaming": null, "chat_completion": { "endpoint": "http://localhost:8000/chat", "payload": { "content": "$PROMPT" } } } provider-api-key: ${{ secrets.OPENAI_API_KEY }} # the attacker/judge LLM key model: gpt-4.1 fail-on: high
The action installs the Humanbound CLI, attacks your agent, and fails the job if it finds anything at high or above.
endpoint describes how to call it; $PROMPT is swapped in for each attack message.fail-on sets the exit code, a severity summary lands on the run page, and findings can flow into the Security tab as SARIF.The action auto-detects the mode from which credential you provide:
| Local mode | Platform mode | |
|---|---|---|
| Credential | provider-api-key (your LLM key) |
api-key (Humanbound user key, hb_…) |
| Where the engine runs | Inside the runner | On humanbound.ai |
| Who reaches your agent | The runner (boot it in the job) | Humanbound's servers (needs a public/staging URL) |
| Attacker/judge LLM | Your key, in CI | A provider configured on the platform |
| Account needed | No | Yes (+ a project) |
| Results | CI artifact + run summary | CI artifact + run summary + dashboard |
Platform mode requires humanbound ≥ 2.8.0 (the CLI release with headless
HUMANBOUND_API_KEYauth). The action checks the installed version and fails with a clear message on older releases.
endpoint)The endpoint input is your agent's integration config — it tells the tester bot how to call your agent ($PROMPT is replaced with each attack message; replies can be plain text or JSON, and common content fields are detected automatically). Provide it in whichever form fits:
${{ secrets.* }} for an auth header.jq), then pass the file path. Best when the config needs secrets or grows large — see Keep agent credentials in secrets.endpoint: ./bot-config.json, checked into your repo. Simplest when there are no secrets.All three produce the same JSON shape:
{
"streaming": null,
"chat_completion": {
"endpoint": "http://127.0.0.1:8000/chat",
"headers": { "Authorization": "Bearer <your-agent-auth>" },
"payload": { "content": "$PROMPT" }
}
}Full config reference — payload templating, $CONVERSATION for stateless agents, streaming/WebSocket agents, response extraction: Agent Configuration.
Local mode (works today, no account):
Platform mode (see above):
Both modes & mixed setups:
Boot your agent inside the job, run the quick scan (currently ~20 min — quick is a CLI alias for unit today), fail on high-severity findings:
jobs: security-test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: docker compose up -d agent # or however your agent starts - uses: humanbound/actions@v1 with: # Inline config (recommended for a simple, secret-free agent). # You can also build it in a step or commit a file — see below. endpoint: | { "streaming": null, "chat_completion": { "endpoint": "http://localhost:8000/chat", "payload": { "content": "$PROMPT" } } } provider-api-key: ${{ secrets.OPENAI_API_KEY }} model: gpt-4.1 level: quick fail-on: high
In local mode localhost means the runner itself, so start the agent in the job (a background process or service container). The engine runs entirely in the runner — same orchestrators, attacks, and judge as the platform; see Local Engine for how it works.
If your agent needs auth, don't commit a bot-config.json containing the token — generate the config in the job and inject the secret. Two equivalent ways:
Inline JSON (the endpoint input accepts JSON directly, not just a path):
- uses: humanbound/actions@v1 with: endpoint: | { "streaming": null, "chat_completion": { "endpoint": "https://staging.my-agent.com/chat", "headers": { "Authorization": "Bearer ${{ secrets.AGENT_TOKEN }}" }, "payload": { "content": "$PROMPT" } } } provider-api-key: ${{ secrets.OPENAI_API_KEY }} model: gpt-4.1
Or render the file in a step — easier to read once headers grow (jq is preinstalled on runners, and passing secrets via env: keeps them out of the script text):
- name: Render agent config env: AGENT_URL: ${{ vars.AGENT_URL }} AGENT_TOKEN: ${{ secrets.AGENT_TOKEN }} run: | jq -n --arg url "$AGENT_URL" --arg auth "Bearer $AGENT_TOKEN" \ '{streaming: null, chat_completion: {endpoint: $url, headers: {Authorization: $auth}, payload: {content: "$PROMPT"}}}' \ > bot-config.json - uses: humanbound/actions@v1 with: endpoint: ./bot-config.json provider-api-key: ${{ secrets.OPENAI_API_KEY }} model: gpt-4.1
GitHub automatically masks secret values if they ever appear in logs, and the action never prints the config contents. The scope file rarely needs this treatment — permitted/restricted intents usually aren't secret, and versioning them with the agent is a feature — but the same render-a-file pattern works for scope: too, or skip the file entirely with repo: . / system-prompt: extraction.
Without scope, the judge only has generic security expectations. Telling it what your agent is supposed to do produces targeted attacks and far fewer false positives — "agent processed a refund" is a finding for a weather bot and normal behavior for a support bot. Three ways, most precise first:
# 1. Explicit scope file — most precise - uses: humanbound/actions@v1 with: endpoint: ./bot-config.json provider-api-key: ${{ secrets.OPENAI_API_KEY }} model: gpt-4.1 scope: ./scope.yaml # 2. Scan the checked-out repo for system prompts and tool definitions - uses: humanbound/actions@v1 with: endpoint: ./bot-config.json provider-api-key: ${{ secrets.OPENAI_API_KEY }} model: gpt-4.1 repo: . # 3. Point at the system prompt file directly - uses: humanbound/actions@v1 with: endpoint: ./bot-config.json provider-api-key: ${{ secrets.OPENAI_API_KEY }} model: gpt-4.1 system-prompt: ./prompts/system.txt
A scope file lists permitted and restricted intents. Note that scope is a file path only — unlike endpoint, it does not accept inline content, so either commit the file, render it in a step, or skip it entirely with the repo: / system-prompt: discovery shown above:
# scope.yaml business_scope: 'Customer support for Acme Bank' permitted: - Provide account balance and transaction info - Process routine transfers within limits restricted: - Close accounts directly - Access internal system records
The context input adds run-specific judge context on top of any scope source — e.g. context: 'Authenticated as Alice, her PII is expected' stops "leaked Alice's data" false positives in an authenticated test session. Full details: Scope Discovery.
These three scope inputs are local-mode only — in platform mode, scope is captured on the project when you run hb connect (the action warns if you set them there). context works in both modes.
No paid LLM key: run the attacker/judge on Ollama inside the job. This works on GitHub-hosted runners, with an honest caveat: they are CPU-only (4 vCPU on ubuntu-latest), so use a small model and expect the scan to take considerably longer than with a cloud provider — and local models produce lower-quality attacks. Good for zero-cost smoke coverage; use a cloud key or a GPU self-hosted runner for serious scans.
- name: Start Ollama run: | curl -fsSL https://ollama.com/install.sh | sh # The installer starts the server (systemd) on GitHub runners; start it # ourselves only if it isn't up, then wait until the API answers. pgrep -x ollama >/dev/null || (ollama serve &) for i in $(seq 1 30); do curl -sf http://127.0.0.1:11434/ >/dev/null && break; sleep 1; done ollama pull llama3.2:3b - uses: humanbound/actions@v1 with: endpoint: ./bot-config.json provider: ollama provider-api-key: unused # ollama needs no key; any value selects local mode model: llama3.2:3b provider-endpoint: http://127.0.0.1:11434
Requires humanbound ≥ 2.8.0 — the CLI release with headless
HUMANBOUND_API_KEYauth.
For teams on humanbound.ai: the engine runs server-side (no LLM key in CI) and results land in your dashboard with full experiment history. One-time setup at your terminal — hb connect --endpoint ./bot-config.json creates the project, extracts scope, and stores your agent config — then create a key with hb api-keys create --scope write --org <org-id> --projects <project-id> and copy it into a repository secret.
Because the engine runs on humanbound.ai, your agent must be reachable from the internet (a staging or production URL) — a localhost agent booted in the job won't work in platform mode; use local mode for that.
- uses: humanbound/actions@v1 with: api-key: ${{ secrets.HUMANBOUND_API_KEY }} org-id: ${{ vars.HUMANBOUND_ORG_ID }} project-id: ${{ vars.HUMANBOUND_PROJECT_ID }} # endpoint optional — defaults to the project's stored integration level: quick fail-on: high
No checkout, no agent boot, no LLM key: the project already knows how to reach your agent, and every run lands in the dashboard next to your test history.
endpoint in platform mode overrides the project's stored integration for that run — same project history, different target. Useful for per-PR preview environments:
- uses: humanbound/actions@v1 with: api-key: ${{ secrets.HUMANBOUND_API_KEY }} org-id: ${{ vars.HUMANBOUND_ORG_ID }} project-id: ${{ vars.HUMANBOUND_PROJECT_ID }} endpoint: | { "streaming": null, "chat_completion": { "endpoint": "https://pr-${{ github.event.number }}.preview.example.com/chat", "headers": {}, "payload": { "content": "$PROMPT" } } } level: quick fail-on: high
Findings appear in Security → Code scanning with severity buckets and PR annotations. Add the upload step and its permission:
permissions: contents: read security-events: write # required to upload SARIF steps: - uses: actions/checkout@v4 - uses: humanbound/actions@v1 id: hb with: endpoint: ./bot-config.json provider-api-key: ${{ secrets.OPENAI_API_KEY }} model: gpt-4.1 fail-on: '' # report-only, so findings land as alerts, not red builds - uses: github/codeql-action/upload-sarif@v3 # the != '' check matters: on an early failure the action has no SARIF to # output, and upload-sarif hard-fails on an empty sarif_file input if: always() && steps.hb.outputs.sarif-file != '' with: sarif_file: ${{ steps.hb.outputs.sarif-file }}
Humanbound findings are conversation-level, not line-level, so (like container and dependency scanners) every alert is anchored to one file — your agent config if it's in the repo, otherwise the workflow file. Set sarif-file: "" to disable SARIF entirely.
Three built-in test engines (orchestrators), selected with category:
| Category | What it does | When to use |
|---|---|---|
humanbound/adversarial/owasp_agentic (default) |
Multi-turn adversarial attacks with score-guided escalation | The main security gate |
humanbound/adversarial/owasp_single_turn |
Single-prompt attacks at maximum strength — fast, high-volume | Quick, broad coverage |
humanbound/behavioral/qa |
Intent boundaries, response quality, functional correctness | "Does the agent stay on task?" |
- uses: humanbound/actions@v1 with: endpoint: ./bot-config.json provider-api-key: ${{ secrets.OPENAI_API_KEY }} model: gpt-4.1 category: humanbound/behavioral/qa fail-on: medium
More on how each engine works: Orchestrators.
Quick gate on PRs; deeper levels on a schedule:
on: pull_request: schedule: - cron: '0 3 * * *' jobs: security-test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: docker compose up -d agent - uses: humanbound/actions@v1 with: endpoint: ./bot-config.json provider-api-key: ${{ secrets.OPENAI_API_KEY }} model: gpt-4.1 level: ${{ github.event_name == 'schedule' && 'system' || 'quick' }} fail-on: high
- uses: humanbound/actions@v1 id: hb with: endpoint: ./bot-config.json provider-api-key: ${{ secrets.OPENAI_API_KEY }} model: gpt-4.1 - uses: actions/upload-artifact@v4 if: always() && steps.hb.outputs.results-file != '' with: name: security-results path: ${{ steps.hb.outputs.results-file }}
The two modes complement each other: local mode tests the ephemeral agent you boot in the job (fast feedback, no public endpoint needed); platform mode tests your staging deployment nightly with results accumulating in the dashboard.
on: pull_request: schedule: - cron: '0 3 * * *' jobs: pr-gate: if: github.event_name == 'pull_request' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: docker compose up -d agent - uses: humanbound/actions@v1 with: endpoint: ./bot-config.json provider-api-key: ${{ secrets.OPENAI_API_KEY }} model: gpt-4.1 level: quick fail-on: high nightly-platform: if: github.event_name == 'schedule' runs-on: ubuntu-latest steps: - uses: humanbound/actions@v1 with: api-key: ${{ secrets.HUMANBOUND_API_KEY }} org-id: ${{ vars.HUMANBOUND_ORG_ID }} project-id: ${{ vars.HUMANBOUND_PROJECT_ID }} level: system fail-on: high
The action itself needs no special permissions. The jobs around it do:
permissions: contents: read # checkout security-events: write # only if uploading SARIF to the Security tab
Everything is optional except a credential (provider-api-key for local mode or api-key for platform mode) and, in local mode, endpoint.
| Input | Mode | Description | Default |
|---|---|---|---|
provider-api-key |
Local | Attacker/judge LLM provider key (maps to HB_API_KEY); setting it selects local mode. |
— |
api-key |
Platform | Humanbound user API key, hb_… from hb api-keys create (maps to HUMANBOUND_API_KEY); setting it selects platform mode. |
— |
org-id |
Platform | Organisation that owns the project (maps to HUMANBOUND_ORG_ID). Required — the results export resolves the org from it. |
— |
project-id |
Platform | Project to test (maps to HUMANBOUND_PROJECT_ID). Required — a headless run has no stored project selection. |
— |
endpoint |
Both | Agent integration config — inline JSON, a file path, or built in a step. Required in local mode; optional override in platform. | — |
provider |
Local | Attacker/judge LLM provider (openai, anthropic, ollama, …). |
openai |
model |
Local | Attacker/judge model (e.g. gpt-4.1). Required for every provider except ollama. |
— |
provider-endpoint |
Local | Custom provider endpoint (e.g. a self-hosted Ollama URL). | — |
level |
Both | Test depth: quick / unit / system / acceptance. |
quick |
category |
Both | Test engine: humanbound/adversarial/owasp_agentic, …/owasp_single_turn, or humanbound/behavioral/qa. |
OWASP agentic |
fail-on |
Both | Fail the job at this severity or higher: critical/high/medium/low/any. Empty = report-only. |
high |
scope |
Local | Path to a scope file (permitted/restricted intents). File only — not inline. | — |
system-prompt |
Local | Path to the agent's system prompt, for scope extraction. | — |
repo |
Local | Repo path to scan for scope discovery (. = the checked-out workspace). |
— |
context |
Both | Extra judge context — a string or a path to a .txt file. |
— |
version |
Both | Humanbound CLI version to install. Set "" for the latest release. |
2.8.0 |
results-file |
Both | Path where the JSON results export is written. | humanbound-results.json |
sarif-file |
Both | Path where SARIF is written. Empty disables SARIF. | humanbound.sarif |
| Output | Description |
|---|---|
mode |
Which mode ran: local or platform |
results-file |
Path to the JSON results (for actions/upload-artifact) |
sarif-file |
Path to the SARIF file (for github/codeql-action/upload-sarif) |
Attacker/judge calls cost LLM tokens (your key in local mode; the platform's provider in platform mode). Levels: quick (currently equal to unit, ~20 min), system ~45 min, acceptance ~90 min — run the deep levels nightly, not on every PR.
Contributions welcome — see CONTRIBUTING.md (DCO sign-off required). Bugs in hb test itself belong in the CLI repo; action wiring issues belong here. Security reports: SECURITY.md, never a public issue. Release history: CHANGELOG.
The scripts and documentation in this project are released under the Apache-2.0
humanbound/actions is a public repo on GitHub by humanbound. Official GitHub Actions for Humanbound — adversarial security testing for AI agents in CI.
It declares the Apache-2.0 license on GitHub.
Its maker tagged it for Linux. That is declared by the maker; Take My Repo has not tested it.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-11-17. GitHub counts 0 open issues and pull requests. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

A full-stack AI Red Teaming platform securing AI ecosystems via Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.



Open-source adversarial testing engine, SDK, and CLI for AI agents. Runs locally or against the Humanbound Platform.
Multi-tier firewall for AI agents — blocks prompt injections, jailbreaks, and scope violations. Local tiers first; LLM judge only when uncertain.
Humanbound plugin marketplace for Claude Code and Cursor — adversarial security testing for local AI agents.
Deliberately vulnerable AI agents to learn on, and to test with the hb CLI

This page is also available as structured data, with the same sources and dates.
/api/v1/resources/gh/humanbound/actionsTake My Repo has not tested this on your machine. Requirements come from the project's own documentation.