Use hackingBuddyGPT with a private, uncensored API

Connect hackingBuddyGPT to the private Morse API, uncensored models included: set it up, pick a model, and check it works.

Give hackingBuddyGPT the base URL https://inference.trymorse.ai/v1 and a Morse API key. It calls the OpenAI API.

The same key also calls 17 uncensored models. See them.

Cybersecurity: Test, monitor, and defend your systems without safety filters blocking real security work.

Before you start

Make a key for hackingBuddyGPT alone, with a spend limit, under API keys in the console. Then one tool can't spend all your credits. See Limit a key.

You'll paste the key into hackingBuddyGPT's .env file.

Set it up with a prompt

Paste this into a coding agent, such as Claude Code or Codex, and it sets up hackingBuddyGPT for you. Or set it up by hand, below.

Setup prompt
Set up hackingBuddyGPT to use Morse.

1. Use the OpenAI-compatible endpoint https://inference.trymorse.ai/v1
2. Read the key from the MORSE_API_KEY environment variable.
3. Default to the model deepseek/deepseek-v4.1-flash-1017-abliterated.
4. Follow https://trymorse.ai/inference/docs/tools/hackingbuddygpt, then run its check.

Change only hackingBuddyGPT's settings. Leave everything else as it is.

Set up hackingBuddyGPT

  1. Install hackingBuddyGPT

    hackingBuddyGPT needs Python 3.13 or later. Install it from its repository:

    Terminal
    git clone https://github.com/ipa-lab/hackingBuddyGPT.git
    cd hackingBuddyGPT
    uv sync
    source .venv/bin/activate
  2. Point it at Morse

    Copy .env.example to .env, and set the llm. lines:

    .env
    llm.api_key='sk_morse_...'
    llm.model='openai/deepseek/deepseek-v4.1-flash-1017-abliterated'
    llm.context_size=1048576

    openai/ tells LiteLLM that the endpoint speaks the OpenAI API. The rest is the Morse model id. hackingBuddyGPT doesn't pass llm.api_base on to LiteLLM, so set the base URL in your shell instead:

    Terminal
    export OPENAI_BASE_URL=https://inference.trymorse.ai/v1
  3. Run a use case

    Fill in the conn. lines of .env with your test machine's address and a low-privilege login. Then run:

    Terminal
    wintermute PrivEscLinux

Which model to pick

ModelContextInput / outputWhy
deepseek/deepseek-v4.1-flash-1017-abliterated1M$0.50 / $1.50Uncensored, so it runs privilege-escalation commands instead of refusing, with a long context.
moonshotai/kimi-k3.1-pro-uncensored1M$5 / $18.75Uncensored, and the strongest reasoner here for long runs.
z-ai/glm-5.3-flash-uncensored1M$0.225 / $1Uncensored, fast, and the cheapest here, for many short rounds.

Prices are in dollars per million tokens, on each model's default endpoint. Every model is on the models page.

Check it works

Each round shows the command the model chose and what the machine returned. A first command shows that Morse took the request and its tools. The run's log is in logs/.

Keep it private

Set a privacy floor on hackingBuddyGPT's key to hold it to a tier, such as TEE. Without a floor, a request runs on its model's default privacy tier. The floor only decides which endpoints serve the requests. See Privacy tiers and Provider routing.

On a plain API call, TLS ends inside Morse's door, an attested enclave, which seals the request before the relay receives it. A plain client checks the door's certificate, not its attestation. To check the attestation yourself, see Sealed API keys.

If something goes wrong

What you seeWhat to do
AuthenticationError with a link to platform.openai.comSet OPENAI_BASE_URL in the shell you start wintermute from.
401 invalid_api_keyCheck the key you gave hackingBuddyGPT in full, and that it isn't revoked.
402 insufficient_balance or key_spend_limit_reachedAdd credits, or raise the key's spend limit. A request holds credit for its output limit before it starts: see Holds.
404 model_not_foundUse a model's id exactly as the table above writes it, with the part before the slash.

Every code is in Error codes. For other tools, see Tools and coding agents.