#74 · Primary category: Cybersecurity & Decryption Tools
codex-session-patcher
A lightweight Python tool to clean AI refusal responses from Codex CLI session files
Project last updated:08/02/26
GitHub Stars
2.7K
Forks
405
Contributors
4
License
Other
Why we included this project
Security testers and CTF players who use AI coding assistants will recognize the problem this solves: the assistant refuses a request that touches on security, and the session dies. Codex Session Patcher goes back through the saved session files from Codex CLI, Claude Code, and OpenCode, finds those refusal responses with a two-level matching check, and swaps in context-appropriate content so the conversation can be resumed rather than started over. It can also prevent the problem by injecting pentest context at the config level, through Codex profiles, global config, or dedicated workspaces that carry CLAUDE.md and AGENTS.md files. The bundled web UI handles diff comparison, backup and restore, and editing the injected prompt templates. Because the injection is scoped to dedicated profiles or workspaces, normal coding sessions stay untouched, which matters for teams doing authorized security testing.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
reverse-skill
AI-powered skill router for reverse engineering, authorized penetration testing, and security research, with on-demand toolchain bootstrapping and self-evolving knowledge base.
gitleaks
Find secrets with Gitleaks 🔑
osquery
SQL powered operating system instrumentation, monitoring, and analytics.
NeoPass
Your Essential Exam Companion for the Iamneo Portal & NPTEL Exams Disguised as NeoExamShield bypass
anubis
Weighs the soul of incoming HTTP requests to stop AI crawlers