Only the latest release of each plugin gets security fixes. Each plugin's version is in its
manifests (plugins/<name>/.claude-plugin/plugin.json, and .codex-plugin/plugin.json where the
plugin has one) and in the first ## [X.Y.Z] heading of its CHANGELOG, below ## [Unreleased].
To see the version you run:
- Claude Code:
claude plugin list. - Codex:
codex plugin list.
To update:
- Claude Code:
claude plugin marketplace update corekit, thenclaude plugin update <name>@corekit. - Codex:
codex plugin marketplace upgrade corekit, then trust the hooks again in/hooks.
Please do not open a public issue for a security problem. Report it privately through GitHub: open https://github.com/rstrlnkv/CoreKit/security and choose Report a vulnerability.
Include:
- the plugin and its version;
- your system and host version (
claude --versionorcodex --version); - what you did, what you expected and what happened, with the smallest steps that reproduce it;
- what an attacker could gain (for example, a secret read, a file written outside the project, a commit that leaks private files);
- any fix you suggest.
Do not include real secrets in the report.
- A first answer within about a week.
- A fix in a new release of the affected plugin, with a note in its changelog; you are credited there if you wish.
- A short report back to you if the issue turns out not to be a vulnerability, with the reason.
The plugins defend against honest mistakes, not against an attacker:
- an internal file (agent instructions, the private wiki,
.claude/) written into or committed to a code repo that may be public; - a secret file (
.env,~/.ssh) read into the model's context or sent to another model.
They do not defend against a hostile prompt, or an agent that tries to get around them.
the boundary your host: Claude Code permission rules and sandbox,
the Codex sandbox and permission profile, GitHub (private Core repo)
│
the second line corecrew hooks (code guard, secrets guard) and git hooks
(pre-commit, pre-push): they catch common accidents cheaply
│
the backstop the git hooks check what reaches history and a push
The host is the boundary. The hooks are a best-effort second line. A bypass that needs a deliberate trick is a known limit, not a vulnerability. A guard that blocks everyday legitimate work is a bug.
Claude Code. Add deny rules to your settings (~/.claude/settings.json, or a project's
.claude/settings.json):
{
"permissions": {
"deny": [
"Read(**/.env)",
"Read(**/.env.*)",
"Read(~/.ssh/**)"
]
}
}These rules cover Claude's own file tools. Turn on Claude Code's sandbox (/sandbox) to apply them
to Bash commands as well. A deny rule wins over an allow rule, so Read(**/.env.*) also hides
.env.example; list the exact names instead if you need that file.
Codex. corecrew prints a permission profile that keeps .env*, keys, credentials and ~/.ssh
unreadable: run bash <plugin folder>/scripts/lib.sh codex-profile and paste the output into
~/.codex/config.toml. corecrew never writes that file. The profile also lets sandboxed commands
read three places of corecrew and three files of git, written into the fragment as paths of your
machine, each one alone and read-only: the folder Codex keeps this marketplace's plugins in
(<Codex home>/plugins/cache/<marketplace>, public plugin code), the corecrew tools copy
(<Codex home>/plugins/data/corecrew-<marketplace>/tools, the save and undo-step commands;
not the rest of that data folder), the corecrew settings file and its hooks marker (no secrets),
the global git config files ~/.gitconfig and $XDG_CONFIG_HOME/git/config (git stops when
it cannot read one) and git's default global ignore file $XDG_CONFIG_HOME/git/ignore (patterns
only). A core.excludesFile set to another path is not opened: sandboxed git then warns
unable to access and lists globally ignored files as untracked. A file a git config includes
([include] or [includeIf] path) is not opened either, so sandboxed git stops: add its line,
"<file>" = "read", to the [permissions.corecrew.filesystem] table by hand (again after a new
paste). Keep tokens out of the global git config files and any file they include (a credential helper, not a
token in a URL): sandboxed commands can read them. Their folders stay closed, so ~/.config/git/credentials
does too. The folder that holds your projects is not opened (other projects' secrets): corecrew
finds the project's code folder from the current folder instead. The rest of your home folder and
of the Codex home (auth.json, config.toml) stays closed. Print and paste the fragment again if
yours lacks these seven lines, and when the Codex home or the settings file moves. The profile is a default, not a hard
boundary. These switch it off: --sandbox, --dangerously-bypass-approvals-and-sandbox or
-c sandbox_mode=... on the command line, sandbox_mode in any config layer (a profile, the
system config), and the .codex/config.toml of a trusted project (a cloned repository can bring
one). It does not cover git history (git show HEAD:.env).
- The secrets guard is active only inside a Core project. It reads the command line, not the
programs it starts. It does not see: recursive search (
grep -r SECRET .,rg --hidden), a renamed or linked copy (ln -s .env x; cat x), interpreters (python -c,node -e),find -exec,git show REV:.env,ddandcurl -F @.env. - In Codex, file reads go through the shell: Codex fires no hook for read, search or list tools.
- Codex runs a plugin's hooks only after you trust them in
/hooks, and again after each update. - The code guard catches the usual ways to write
CLAUDE.md,AGENTS.md,docs/or.claude/into a code folder: the file tools, and the common write commands in Bash. It does not follow: a command line given tobash -c,sh -coreval, or a script file; a target with a variable, a glob, braces or$(...);xargsandfind -exec; a relative target aftercd,pushdorpopd, except when the command starts withcd <absolute folder> &&(or;); interpreters (python -c,node -e);git -C <dir> mv; other writers (rsync,dd of=,tar -C,curl -o). The git pre-commit and pre-push hooks check what is committed and pushed. - The git hooks' list (
plugins/corecrew/scripts/git-hooks/blocked-patterns, with its exceptions inallowed-patternsbeside it, read by the pre-commit and pre-push hooks, case-insensitive) is narrower than the code guard's. It blocksCLAUDE.md,CLAUDE.local.mdandAGENTS.mdin any folder;/.claude/and/docs/superpowers/at the root only;.envand.env.*in any folder, except.env.example,.env.sampleand.env.template(.envrcdoes not match); and*.pemand*.keyfiles. It does not block the rest ofdocs/, so adocs/file that got past the code guard can still be committed by hand. - The hooks share one reader of Bash commands. When it cannot read a command safely (a
<<after a closed$(...)or a backtick inside a double-quoted string, or a quote or blank inside an array subscript such asX["a"]=1), the secrets guard and the code guard judge the raw text and refuse the command only when it names a secret or an internal file; the read-only checkers refuse it whole. - Codex subagents cannot be made read-only: the read-only steps of
/corecrew:taskare checked (the working tree before and after), not enforced.
- corecrew talks to GitHub through
ghandgit(stack generators you approve reach their own package hosts): read-only checks run without a prompt, every write (a repo, a push, a tag, a release) waits for your yes, and in Codex every network call asks first (what it runs and sends). - coremodel, in Claude Code, sends each prompt to a short classifier call through your own Claude Code account; in Codex it sends nothing until you turn its hint on, and then it sends each prompt a second time to OpenAI (requirements, the Codex hint).
- coreopinion (Claude Code only) sends your question and the files you confirm to OpenAI through the Codex CLI; secret-looking files are filtered out, and a read-only permission profile keeps GPT away from them (requirements).
In scope: the plugins in this repository, their hooks and scripts (the secrets guard, the code
guard, the git hooks, save, undo-step, adopt.sh), the Codex profile they print, and what they
send to a third party (coremodel's Codex hint and coreopinion to OpenAI). Out of scope: the limits
listed above, and the hosts themselves (Claude Code, Codex, GitHub).