make install does not expose documented pentestgpt command; Codex default model fails
Summary
On a fresh current checkout, make install succeeds but the README's documented pentestgpt command is not installed or exposed. The Codex backend then has a second compatibility failure when no model is specified.
Environment
- CachyOS Linux
- PentestGPT commit
e8b1bb77d1ac - Python 3.14.7
- uv 0.12.10
- Codex CLI 0.153.4, authenticated with ChatGPT
openai-codex0.1.0b3unified-agent0.3.0
Reproduction and findings
$ make install
# succeeds
$ pentestgpt --target 127.0.0.1
zsh: command not found: pentestgptmake install runs uv sync in the root and nested pentestgpt_agent projects. These are project-local environments, so they do not add a command to the user's PATH. There is also no pentestgpt script declared in either project:
- Root
pyproject.tomlexposes onlypentestgpt-legacyandpentestgpt-legacy-connection. - Nested
pentestgpt_agent/pyproject.tomlexposespentestgpt-agent, which exists only atpentestgpt_agent/.venv/bin/pentestgpt-agentafter sync. - The README Usage section nevertheless tells users to run
pentestgpt --target ....
The actual local route is make run TARGET=..., or explicitly:
cd pentestgpt_agent
uv run pentestgpt-agent \
--goal "Assess this explicitly authorized target." \
--target TARGET \
--backend codex \
--model gpt-5.5There is also a Codex model/version trap. The host Codex CLI works directly, but PentestGPT's adapter with no explicit model inherited gpt-5.6-sol and returned:
The 'gpt-5.6-sol' model requires a newer version of Codex. Please upgrade to the latest app or CLI and try again.This occurs even though the system CLI is current enough to run that model directly, because the Python adapter is using openai-codex 0.1.0b3. Passing the README's --model gpt-5.5 made the PentestGPT Codex adapter succeed in a one-turn read-only round-trip.
The nested project suite passes (118 passed, 1 skipped).
Suggested changes
- Make the Quick Start and Usage sections use the command that installation actually provides (
make run .../uv run --project pentestgpt_agent pentestgpt-agent ...), or makemake installinstall a user-facingpentestgptentry point onto PATH. - Document that
BACKEND=codexand an explicit compatibleMODELare currently required;make runotherwise defaults to Claude. - Update the
openai-codexintegration so the current default Codex model works, or fail with a targeted compatibility message and a documented model override.
I hit this while helping configure the project specifically with an existing authenticated Codex CLI. The above workaround is working locally.
Source: GreyDGL/PentestGPT