Authorization notice. Pentest Harness is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Credentials. Each provider key you add is stored in the owner-only credential store as a reference, so rotate or remove keys there when you stop using a provider.
Who it is forA security researcher who wants to test different AI models on the same kind of task and keep the best one for a multi-day engagement.
The problemSwitching model vendors usually means changing tools or accounts, which breaks the flow of an engagement.
The outcomeSeveral providers configured, tested with live connection checks, and enabled or disabled as needed.
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
- Start the workspace with
pnpm dsh webafter runningpnpm installandpnpm build. - Open Settings, then Models, and click Add a custom provider.
- Paste your API base URL and enter your API key, which is stored in your local credential store.
- Use the provider card to run a live connection test and review the per-model context badges.
- Turn providers on or off with the toggles and pick the model you want in the composer.
Prompt for your agent
Using the repo https://github.com/S1N6H/pentest-harness, start the Web UI with `pnpm dsh web` and add the provider at <base_url> under Settings, then Models. Confirm the live connection test passes and the models auto-discover. Report the provider name and the number of discovered models.
Caveat. The README does not state which providers have been tested with the workspace, so verify each connection with the built-in test before relying on it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for S1N6H/pentest-harness and "Switch between AI providers and models during a long engagement"
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