Authorization notice. Pentest Harness is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Credentials. Your provider API key is entered into the app, so keep the local credential store owner-only and never paste the key into shared logs or settings files.
Who it is forA penetration tester who has a signed scope for a client engagement and wants an AI agent workspace that keeps session data local.
The problemEngagement notes, commands, and AI conversations need a dedicated workspace that the tester controls, not a generic chat tab.
The outcomeA running Web UI at http://127.0.0.1:2323 with Pentest Mode available for the engagement.
What you need first
- Node.js 20+ (Node 22 recommended) and pnpm installed
- An API key from a supported provider such as OpenAI, Anthropic, DeepSeek, or any OpenAI-compatible gateway
- Written authorization for every target you point the agent at
Steps
- Clone the repository with
git clone https://github.com/S1N6H/pentest-harness.git. - Enter the folder with
cd pentest-harnessand install dependencies withpnpm install. - Build the project with
pnpm build. - Start the Web UI with
pnpm dsh weband open http://127.0.0.1:2323 in your browser. - Open Settings, then Models, connect your AI provider, and pick a model in the composer before starting the engagement.
Prompt for your agent
Clone https://github.com/S1N6H/pentest-harness, run `pnpm install`, `pnpm build`, and `pnpm dsh web`, then confirm http://127.0.0.1:2323 returns a page. Report the URL and the output of the start command. Only use this workspace against <target> after written authorization for that target is confirmed.
Caveat. The README does not describe which targets or actions Pentest Mode permits, so the authorization check stays with you.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for S1N6H/pentest-harness and "Run an authorized pentest workspace on your own machine"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer