Practical overview
When it fits
Use it when you want to run a self-hosted AI-agent workspace for an authorized security-testing workflow and bring your own model API.
Who it is for
- Security practitioners conducting authorized penetration tests or bug-bounty research.
- People working through security labs or CTF engagements.
- Developers who want a configurable, plugin-based agent workspace for security testing.
Documented uses
- Connect a preferred model API to an agent workspace.
- Use shell, filesystem and web-research tools alongside skills, subagents and workflow controls.
- Resume or replay security-testing sessions stored locally.
Requirements & limits
The project is open source under the MIT license. Running it requires Node.js 20+ and pnpm; connecting a model requires a provider API key.
- Model API access and a provider key are needed to connect a model.
- The README lists support for several named providers and OpenAI-compatible gateways.
- The web interface is documented to run locally at 127.0.0.1:2323 by default.
- The project is TypeScript-based and exposes plugins for model adapters, tools, sessions, settings and credentials.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up the local web workspace
Install Pentest Harness and start its web interface on the documented default port.
Before you start
- Node.js 20+ (Node 22 recommended)
- pnpm
Steps
Clone the repository and change into the pentest-harness directory.
Run pnpm install, then pnpm build.
Start the interface with pnpm dsh web; if that command is not on PATH, use pnpm exec dsh web or node apps/cli/lib/index.js web.
Expected outcome
The README says the web UI opens at http://127.0.0.1:2323.
Guide limitations
- This setup guide does not cover configuring a model provider or running a security engagement.
Connect a model API in the local settings interface
Add a provider API key and select a model for the workspace.
Before you start
- A model provider API key
- The Pentest Harness web interface
Steps
Open Settings → Models.
Choose Add a custom provider, or edit an existing provider.
Enter the API base URL and API key.
Select a model discovered from the endpoint, or add one manually.
Choose the model in the composer.
Expected outcome
A selected model is available in the composer for starting an engagement.
Guide limitations
- The key is required from the model provider; the project does not supply it.
- The README describes provider connection testing, but this guide does not claim a connection was tested.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 14 November 2026
- Original website title
- S1N6H/pentest-harness · Official homepage title · retained in its source language

