OWASP FinBot CTF with Tenuo Defended Mode
github.com/tenuo-ai/finbot-ctf- Category
- Cybersecurity
- Rank
- No. 4331Tools index
Previous survey · No. 4257 ·
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Security & Identity · Model & Agent Evaluation
- GitHub
- 2 stars
- Date
About
A fork of the OWASP FinBot CTF with optional Tenuo defended mode. Task-scoped signed warrants restrict allowed tools and argument values, with checks before execution and narrower authority on delegation. The authors report blocked attacks in their experiments, but this is a defined-policy training example, not a general prompt-injection prevention guarantee.
At a glance
This FinBot fork is a security-learning environment for comparing a vulnerable agent workflow with task-scoped tool authorisation. It is worth studying if you need to understand why a persuasive prompt must not be the authority to approve or pay an invoice. Tenuo limits permitted tool calls; it does not make the model immune to prompt injection.
Good fit
Agent engineers learning to enforce permissions outside model instructions. A warrant names allowed tools and argument constraints, derived from trusted task records. Delegation narrows that authority, and calls are checked against the warrant chain. The useful lesson is the gap between what an agent says happened and what the application database actually records.
Consider something else when
You want a production finance application or a general prompt-injection detector. FinBot is intentionally vulnerable training software, and this defended mode covers defined tool-action policies rather than every possible harmful response. The example issuer uses a throwaway in-process key; the README explicitly distinguishes that from a separate production control plane.
Start here
Use the tenuo-defended-mode branch and an isolated test environment. The documented scripts/tenuo_demo.py creates a synthetic vendor and invoice; compare runs with TENUO_ENFORCE=false and TENUO_ENFORCE=true, then include --benign. Inspect final invoice status and denial events, not only the orchestrator’s summary. No challenge or agent run was executed for this guide.
Cost and requirements
The fork’s licence notice is Apache-2.0 and its package requires Python 3.13 or later. The example setup also needs Redis through Docker and a tool-capable model, either a configured OpenAI service or local Ollama. Model usage and hosting are separate costs. Defended mode is optional and off by default.
Limits to know
The authors report successful blocks in particular attack runs; those are their results, not a general security guarantee or an independent reproduction. Some challenges remain partial or outside the warrant’s scope, especially harmful text that does not require a forbidden tool call. Source inspection covers the guard and demo mechanism, without installing the project or testing policy coverage end to end.
Sources checked 2026-10-30. Source-based assessment.
- github.com/tenuo-ai/finbot-ctf/blob/tenuo-defended-mode/README.md
- github.com/tenuo-ai/finbot-ctf/blob/tenuo-defended-mode/pyproject.toml
- github.com/tenuo-ai/finbot-ctf/blob/tenuo-defended-mode/LICENSE.md
- github.com/tenuo-ai/finbot-ctf/blob/tenuo-defended-mode/finbot/tenuo/guard.py
- github.com/tenuo-ai/finbot-ctf/blob/tenuo-defended-mode/scripts/tenuo_demo.py
- github.com/tenuo-ai/finbot-ctf/blob/tenuo-defended-mode/finbot/tenuo/policies.py
Similar tools
Tags
Tech Stack
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.